-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replacing stale connection: .... #28
Comments
Thank you for reporting an issue! Also sorry for the annoying behavior. I might found the cause and going to release a minor update to fix it soon. Could you confirm whether the performance issue remains after update? That was because a WebSocket connection is not closed after communicating with the kernel. It forces Jupyter to replace connection and makes significant performance problem. |
happy to help and test, looking forward to the commit. |
I've just released the new version with fix. This commit works at least in my hands. Please let me know whether it works for you. |
Feels more responsive. There are still log messages that read "replacing stale connection". |
Thank you for confirmation. I also found sometimes it still happens and I'm trying to find out a way to solve it. It seems that it happens when we try to create a new WebSocket connection while there is already one. |
If i start a long computation that prints output during the computation, I only see the output when all computations are finished. In contrast in a jupyter notebook, the output is shown the moment in happens. Is there a way to achieve this behaviour in sublime? |
There must be a way to achieve it within Sublime, but currently this plugin can't deal with. |
I installed today via ST3 package manager and I have slightly different log:
|
After closing the web browser session, I only see:
Sidenote, I just used the same standard token when you do jupyter notebook list... |
@blaggacao Thanks. Maybe the same issue. |
New version of Hermes (v0.5.0) doesn't use WebSocket, so this issue should be solved. |
Potentially solved. Stale. Closing. |
Quite frequently, when I execute a block, I get the above error message in my jupyter notebook and it takes a few seconds until I get a result in sublime.
It is quite annoying, because other times the code is executed instantly.
I'm happy to provide more information if you have any questions.
Here is an exempt of my jupyter log:
The text was updated successfully, but these errors were encountered: