-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
WebSocket does not connect #1965
Comments
Do you get any errors on the browser's developer console? |
Getting 'WebSocket can't connect' errors in both Firefox and Chromium. Looks like I'm in the Issue #1168 family, though not Firefox exclusive. I'm not connected to a VPN. Here is the Chromium log: |
Unfortunately I can't help you with the specific error. Tagging @fonsp as he can probably help you better |
This comment was marked as off-topic.
This comment was marked as off-topic.
@sprungj, are you running |
I'm using the latest release. |
This comment was marked as off-topic.
This comment was marked as off-topic.
Did a previous version of Pluto work on your computer before? Do previous versions work right now? Does https://binder.plutojl.org/ work? Did you try restarting your computer? Can you try a different port? |
This was my first attempt to get it running on this computer (have tried restarting). I tried 0.17.5 and 0.16.0 as well and had the same issue. The Binder link does work! But running with a different port doesn't. I'm seeing |
Hey @sprungj ! Could you do the following in Chrome:
For example, this should look like: Next, click on the two
|
The I should have tried this earlier, but: Python runs fine in a Jupyter notebook in the browser, but Jupyter can't connect to the Julia kernel in the browser or in VSCode. So it seems like I have something going wrong prior to Pluto -- apologies if this issue has been a red herring! |
@quinnj What do you think of this last report? It looks like:
|
@fonsp are you able to reproduce this at all? Is it perhaps version (Julia or HTTP.jl) specific issue? Or OS specific? Does pluto have verbose logging we could turn on for the HTTP server? If this is reproducible, I can try to dig in deeper to figure out why the WS connections aren't working but regular http requests are. |
I just merged an overhaul of the websockets code in HTTP#master, so it might be worth trying the issue here again with HTTP#master checked out. Happy to help debug things here if it's still reproducible. |
@sprungj That's correct. HTTP is in the process of a breaking change so not everything will work. Would be nice if you can update the Pluto code on your system and continue from there. If you put it in a draft PR, then we can quickly switch to the new HTTP once it is released |
@rikhuijzer Got it, I will give it a shot! |
A new version of Pluto.jl with HTTP.jl 1.0 has just been released. Could you try to see if the problem still happens with [email protected] ? |
Looks to be working, hurrah! Thanks all! |
The interface hangs in the loading state shown at the end of the video. The same thing happens if I try to load one of the sample notebooks.
Apologies if there is something obvious going on here -- I haven't been able to find a description of the same issue.
Thank you!
The text was updated successfully, but these errors were encountered: