-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Cant´t open Notebook in a directory after activating jupyterlab-collaboration #271
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I'm experiencing the same issue, as discussed here https://discourse.jupyter.org/t/strange-issue-with-rtc-in-jupyterhub-behind-apache-http-reverse-proxy/27288 I'm testing with JupyterHub 5.0.0 and JuypterLab 4.2.4 Will give the Beta 3.0.0 a try if that changes anything |
The issue persists also with 3.0.0b1 |
Could it be that your proxy is not letting requests with |
Luckily, @guyq1997 pointed me to the correct solution, which was in his thread here https://discourse.jupyter.org/t/cant-connect-to-kernel/24705/1 Adding
to my Apache config solved the issue :-) |
Thanks @krassowski for your help. The proxy does pass the PUT requests, but mangles them (without AllowEncodedSlashes) beyond recognition for the Jupyter collaboration backend. If @guyq1997 agrees, I guess this issue could be closed. His solution works like a charm for me, also. |
Bug description
After I activate the Jupyter-collaboration extension.
I can normally open a notebook in my home directory (/home/joyvan)
But can not connect to Kernel and open a notebook in a folder (/home/joyvan/[some newfolder]).
Browser says that, he can´t find the file in the directory
The Cause according my guess:
This Problem doesn´t exsit if i only use Jupyterhub internal Proxy (CHP). So I guess the problem is the compatibility of Jupyter-collaboration extension and Apache2?
I found that the single user server and my browser are opening different URL. Single user server found the right url but My Browser doesn´t.
Browser says it can´t open the Note book because following URL doesn´t exist
/user/yuqiang/api/collaboration/session/Assignment%2FVisualisierung_CO2_Konzentration.ipynb 404 (Not Found)
Single user Server says that, it can successfully access to it:
[I 2024-03-28 15:41:38.678 YDocExtension] Processed 53 Y patches in one minute
[I 2024-03-28 15:41:38.678 YDocExtension] Connected Y users: 3
[I 2024-03-28 15:41:40.648 ServerApp] 200 GET /jupyterhub/user/yuqiang/api/contents/Assignment/Visualisierung_CO2_Konzentration.ipynb?type=notebook&content=0 (yuqiang@::ffff:172.31.0.3) 3.34ms
How to reproduce
Expected behaviour
Note book can be opened
Actual behaviour
Notebokk can not be opened
Your personal set up
Full environment
Configuration
Apache:
Logs
The text was updated successfully, but these errors were encountered: