Skip to content

Client disconnected problem #93

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

Open
atellmer opened this issue Feb 7, 2025 · 0 comments
Open

Client disconnected problem #93

atellmer opened this issue Feb 7, 2025 · 0 comments

Comments

@atellmer
Copy link

atellmer commented Feb 7, 2025

Thanks for the great package!

Describe the bug
I encountered a problem when reloading a tab on the same localhost port (the port is set via an environment variable) the connection with the nodeplotlib server is broken and the server logs client disconnect. It turns out to work only by opening a new tab each time.

To Reproduce
Steps to reproduce the behavior:

  1. Run the nodeplotlib server
  2. Go to http://localhost:{{port}}
  3. Shutdown the server
  4. Run again
  5. Reload tab on http://localhost:{{port}}
  6. The client disconnected and the server shut down by itself 🫠

Expected behavior
The server should work with same tab after stopping

Desktop (please complete the following information):

  • OS: Windows 11
  • Browser: Chrome 132
  • Version: 1.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant