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
Redirecting a notebook URL to another user fails if source user's server is running #2017
Comments
Installed requirements.txt
|
The URL to share if you want a user to be able to open a notebook that's available at the same URL for all users is: The two improvements we can do for sharing links to notebooks are:
In general, visiting |
I think both your suggestions would help, particularly making the user-redirect URL findable. When using JupterLab, if I right-button over a file in the file browser there is the option "Copy Shareable Link" this does not copy a |
Is it be possible to provide a flag to override the behavior so that when user2 pastes a url for /user/user1/notebooks/... it automatically opens the URL for user2? I've created a Work In Progress Pull Request to gather feedback and discuss it at #2478 I haven't added any tests, but can gladly add that and code according to contributing standards. My hope is that I can get the guidance to provide a flag in JupyterHub config that can control this auto-redirect behavior. |
I'm closing this as there's a solution in JupyterLab, and #2478 was not merged |
Describe the bug
We have a jupyterhub setup where users share links to notebooks (e.g. by email) which they open in their own server. E.g.
user1
shares a notebookurl1
anduser2
clicks on the URL link to open that notebook on their server (all inside the same hub).If
user1
does not have their notebook server running it works. The hub redirectsuser2
to an equivilent URL containing their username. Ifuser1
has their server runninguser2
gets the following error:Expected Behaviour
Consistent behaviour whether or not
user1
's notebook server is running or not. Ideally redirection working.Desktop (please complete the following information):
Additional context
In the failure case:
user2
clicks on link: https://notebooks-dev.example.com/user/user1/notebooks/public/development/Untitled3.ipynbHub logs:
Notebook logs:
The text was updated successfully, but these errors were encountered: