Custom Websocket url differ in JupyterLab and Jupyter Notebook Server #7087
Labels
status:resolved-locked
Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Dear all,
While searching for a workaround on another issue, I encountered a mismatch in the behaviour of JupyterLab and Jupyter Notebook server.
I post it here, as I think this is the most sensible place to discuss this, although it has partially to do with JupyterHub as well.
The mismatch is in the setup of the custom
websocket_url
parameter. It can be replicated with this minimal JupyterHub configuration:where
BASE_URL
and<ADDRESS>
are the custom url and location of my choice.The final websocket address should have the form
ws://<ADDRESS>/<BASE_URL>/user/{username}
The final websocket url built by the backend Jupyter session has the form
ws://<ADDRESS>/<BASE_URL>
in JupyterLabws://<ADDRESS>/<BASE_URL>/user/{username}
in Jupyter Notebook ServerThis inconsistency is problematic, because I cannot customise the websocket_url parameter in a way that works for both JupyterLab and Jupyter Notebook server.
How would you address this problem?
Thanks
Gianluca
The text was updated successfully, but these errors were encountered: