Failed to connect to Bokeh server Error: Could not open websocket
See original GitHub issueWhen I try to use the extension via JupyterHub I get the following websocket error
I can confirm that the extension was properly installed:
$ jupyter serverextension list
config dir: /ncar/usr/jupyterhub/20190118/etc/jupyter
dask_labextension enabled
- Validating...
dask_labextension 0.3.1 OK
jupyterlab enabled
- Validating...
jupyterlab 0.35.4 OK
nbserverproxy enabled
- Validating...
nbserverproxy OK
@jhamman pointed out that he thought the websocket problem was fixed in https://github.com/bokeh/bokeh/issues/6023. I am wondering whether this has to do with dask-labextension or it is something that would need to be addressed upstream in Bokeh.
Ccing @jbaksta as he is the Jhub’s admin, and knows more about the Jhub setup than me.
Issue Analytics
- State:
- Created 5 years ago
- Comments:23 (4 by maintainers)
Top Results From Across the Web
Failed to connect to Bokeh server Error: Could not open ...
It looks like your reverse proxy is not correctly handling websocket connections. Your proxy pass config is likely switching the websocket ...
Read more >Could not open websocket with bokeh on nginx - Stack Overflow
I checked the nginx log and there are no errors. allow-websocket-origin is set in the script with kws = {'port': 5100, 'prefix': '/bokeh', ......
Read more >Server document doesnt work for my Bokeh app
Failed to load Bokeh session ZEzyee8xQ3ttRc2cHp1M3FQ1Sh7WKsVZvb6YM9tUx11a: Error: Could not open websocket. What can I do to make it work ...
Read more >How to resolve the error: "Could not open websocket connection
For the AWS ELB's Classic Load Balancer: The problem will be due to Classic Load Balancer's HTTP protocol not passing along WebSocket requests....
Read more >Panel serve deployment is frequently broken and cannot ...
I am developing a map by using panel, bokeh, datashader and holoviews. When I run it with the following command it can be...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Great! We are still dealing with some difficulties with the newest tornado, but once they are nailed down you should be able to update without difficulties.
I believe I’ve run into this same issue. While I can start a cluster and generate a valid dashboard URL, the graphs in the panes display nothing. It appears that I cannot connect to the Bokeh server.
My setup may be somewhat unusual / complicated. I’m running JupyterLab in a Docker container that is being presented inside of an iframe (I’m using the Domino Data Lab platform). I only wanted to mention this because there may be configuration settings in Domino that might affect the behavior of this extension. I’m honestly just not sure, so I figured I’d raise the question here in case there is an obvious fix / approach to troubleshooting.