Comments (5)
Hi @fightpf,
Mercury is working but sometimes you get above error? or it is not working at all?
from mercury.
yes, mercury is working but sometimes i get errors and currently don't know how to trigger this error again.
When error occurs, Nginx logs was not showing any error or warning messages
from mercury.
There might be a situation when worker is closed in client but it is not yet closed in the backend, in this situation server will return 404
error, but it is not a bug. It is expected. I will close the issue for now. Thank you for reporting, if you will experience any problems about this issue please reopen. Thanks!
from mercury.
[2024-03-18 07:04:09,124: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[1a549221-cfde-4fad-b624-a3205d7cb599] received
[2024-03-18 07:04:09,165: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[1a549221-cfde-4fad-b624-a3205d7cb599] succeeded in 0.03348259627819061s: None
NB 2024-03-18 07:05:26,242 1 - goodbye
namespace(username='testuser', email='[email protected]')
NB 2024-03-18 07:06:47,569 Exception when set worker state
Traceback (most recent call last):
File "/app/mercury/apps/../apps/nbworker/rest.py", line 182, in set_worker_state
raise Exception(f"Problem when set worker state {response}")
Exception: Problem when set worker state 404
NB 2024-03-18 07:06:47,604 1 - goodbye
namespace(username='testuser', email='[email protected]')
[2024-03-18 07:07:47,876: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[0aa2a851-124f-4d91-ac4f-78a37de55cbe] received
[2024-03-18 07:07:47,917: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[0aa2a851-124f-4d91-ac4f-78a37de55cbe] succeeded in 0.03227986395359039s: None
NB 2024-03-18 07:13:09,118 1 - goodbye
namespace(username='testuser', email='[email protected]')
[2024-03-18 08:01:46,951: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[f15486e5-344e-46c1-b2ec-1ea7f725afb6] received
[2024-03-18 08:01:47,008: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[f15486e5-344e-46c1-b2ec-1ea7f725afb6] succeeded in 0.04924239683896303s: None
NB 2024-03-18 08:03:47,575 Exception when set worker state 404
Traceback (most recent call last):
File "/app/mercury/apps/../apps/nbworker/rest.py", line 182, in set_worker_state
raise Exception(f"Problem when set worker state {response}")
Exception: Problem when set worker state 404
NB 2024-03-18 08:03:47,606 1 - goodbye
namespace(username='testuser', email='[email protected]')
[2024-03-18 08:04:48,241: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[9c765109-d34f-4081-917e-95574cc0b33a] received
[2024-03-18 08:04:48,282: INFO/MainProcess] Task apps.ws.tasks.task_start_websocket_worker[9c765109-d34f-4081-917e-95574cc0b33a] succeeded in 0.03667271416634321s: None
NB 2024-03-18 08:10:09,432 1 - goodbye
I figure out time interval always 2 minutes, it's possible relative about the mercury.py or ws setting?
beat_command = [
py_executable,
"-m",
"celery",
"-A",
"mercury.server" if sys.argv[0].endswith("mercury") else "server",
"beat",
"--loglevel=error",
"--max-interval",
"60", # sleep 60 seconds
]
from mercury.
Dear @pplonski
I'm still facing this problem and I haven't closed any pages. Do you have any suggestions?
from mercury.
Related Issues (20)
- PDF widget not function properly HOT 6
- Progress bars for long-running notebooks?
- Problem Installing with PyYaml=6.0 HOT 1
- Create the table widget! HOT 1
- Disable page refresh on disconnect? HOT 1
- Documentation on how to compile frontend code for building from source? HOT 1
- Option to hide specific cells/output HOT 1
- Add url_key to the Note widget.
- Difficult to figure out docker-compose HOT 1
- Running mercury notebook with '--no-browser' option HOT 2
- Clear old docs HOT 1
- Options for displaying notebooks in home view
- add api key for users HOT 1
- Add privacy policy for each site
- How to prevent reload of preceding cells when changing widget value and/or make ipywidgets work? HOT 3
- Add check if notebook is still waiting for worker
- Table show incorrect
- Open sidebar arrow placement HOT 2
- Initial display on mobile devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mercury.