-
Notifications
You must be signed in to change notification settings - Fork 2
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
Can't establish a connection to the websocket server #2
Comments
I'm unable to reproduce this locally. I'll leave this open in case anyone can supply me with some more information on how to repro or fix this. |
Using Ubuntu 22.04.3 LTS |
Hmm, I'm on Ubuntu 23.10 using Firefox 122.0. I was on 22.04.3 LTS until a few days ago and also didn't have any of these issues. I don't have netstat, but when I run Everything seems to be working as expected; there are no browser console errors, etc. Could you try overriding the websocket port and see if you still see the same error? You can do so by modifying your mkdocs.yml like so: Where 8833 is any port you want that your process is allowed to open. |
Interesting. I don't see FF as a consumer of that connection in your screenshot at all. Can you verify that you don't see any issues when running a test here? Also, do you happen to have another browser installed to see if it works there? |
all ticked green on websocketstests. Both using firefox and chromium. Both browsers behave the same. |
What might be happening is that the WebSocket tries to connect before it completes initializing on the server. I'm making a few improvements in 0.1.4 to connect after DOM loading is complete and a retry mechanism if the connection fails. I also won't show the controls until I get a signal from the server that the WebSocket connection is open and ready to accept connections. Let me know if the issue persists in this new version, and I'll keep digging around. |
I have the similar problem. The Edit button not responding.
Originally posted by @noeldum in #1 (comment)
The text was updated successfully, but these errors were encountered: