-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Incorrect URL path causes repeated "JupyterLab redirected to: ..." popups #12768
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I see the dialog box appear on refresh when I using tip of We were also able to reproduce this issue across browsers, as the original author did:
|
Hi, I would like to ask if there is any updates on this issue? I have the same problem. |
Happy New Year all, @JasonWeill - is there any movement on this? |
I can still reproduce this using tip-of- |
Thanks, is there any plan for resolution? |
Not that I'm aware of; we welcome pull requests if you've found a resolution for this issue. |
This issue may be duplicated by jupyterlab/jupyterlab_server#314 . |
after some back and forth install and uninstall of jupyterlab font witj jupyter lab 4.0, i got this error too: |
Any update on this? We're still seeing this on jupyterlab version |
Still present in tip of |
This may be an issue in JupyterLab Server (not to be confused with Jupyter Server). The … however, there is no "found" handler that _un_sets |
Upon further investigation, this regular expression in Jupyter Server is supposed to detect valid JupyterLab URLs, but it is incomplete: In short, this does not capture solely valid URLs, such as those starting with |
Hi @JasonWeill, I have raised a PR for this issue, please have a look into it. |
Fixed by jupyterlab/jupyterlab_server#436 — thank you @itsmevichu ! |
Description
When providing a url subpath after "/lab" (ie: some.domain/lab/subfolder), if "subfolder" does not exist a repeated popup will occur on page refresh will occur until the server is restarted.
Reproduce
jupyter server
,jupyter lab
&jupyter notebook
startup methods). If you have auth enabled, pass the auth step.With the same server, you can open a different browser (ie: edge/firefox instead of chrome) and the issue will persist across browsers
This issue was found as it is possible to share docker images with images embedded at a particular path. When images were shared, if a user didn't copy/paste the link as expected, the error would trigger.
Issue does not trigger in "Classic Notebook Mode", as it simply returns a 404.
Expected behavior
The popup should be cleared after the first click of the "dismiss" button.
Context
Troubleshoot Output
(taken from docker image `jupyter/base-notebook:latest` to ensure sanitised paths, reproducable in any jupyterlab environment)Command line output left out due to length of issue.
The text was updated successfully, but these errors were encountered: