-
Notifications
You must be signed in to change notification settings - Fork 233
404 error running in JupyterLab + JupyterHub #17
Comments
Thanks for the detailed report @yzq89. Glad you got Everything you reporting here looks find at first glance. And the fact that you're getting to the point where a URL is written out means that the flask server is running, and the Python kernel was able to communicate with it. So it sounds like it has something to do with the proxy. The next thing I'd want to check is whether One thing you could try would be to run a simple flask application on the server (e.g. https://flask.palletsprojects.com/en/1.1.x/quickstart/#a-minimal-application) on a particular port, like 8050, and see if the application can be reached at the Just to double check, did you fully shut down and restart the Jupyter server after |
Hey @jonmmease, I'm afraid this may be a facepalm moment re. restarting jupyter server.. will report back. |
Reporting back - 404 error went away when running the example code (plus the extra |
Hi @jonmmease, I've been trying out jupyter-dash in JupyterLab 2.1.1, many thanks for the great work here! I'm currently stuck at a 404 error trying to open the dash app. Additionally I ran into an issue with
infer_jupyter_proxy_config()
that I seem to have worked around successfully.I followed the example
getting_started
notebook, but had ran into an issue runningJupyterDash.infer_jupyter_proxy_config()
, where cell execution continues indefinitely (and the kernel crashes if I interrupt the kernel). Somehow this is resolved by running this in a separate cell just beforeinfer_jupyter_proxy_config()
:The top of my notebook looks like this (cells run in order, with restarted kernel):
The current issue I'm running into though is that the dash URL returns a 404, like such:
(I also get the same 404 with mode='external' or 'jupyterlab')
We're running JupyterLab 2.1.1 with JupyterHub 1.1 on a k8s deployment. Our jupyter environment as follows:
Following your suggested diagnosis checks from #14 :
jupyter_server_proxy
successfullyjupyter_dash.comms._jupyter_config
returns the following:The URL printed when I
run_server(mode='external')
is as follows, which looks right:http://go-orbitalinsight.com/user/zac.yang@orbitalinsight.com/proxy/8050/
Would be grateful for any suggestions on resolving!
The text was updated successfully, but these errors were encountered: