jupyterhub / jupyterhub

Multi-user server for Jupyter notebooks

Home Page:https://jupyterhub.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Named servers broken in 4.1.0

benz0li opened this issue · comments

Bug description

Spawning multiple servers (containers) results in 'too many redirects' error.

How to reproduce

A JupyterHub + multiple JupyterLab images with JupyterHub 4.1.1 installed.

Expected behaviour

No issue running multiple servers (containers) in parallel.

Actual behaviour

Logs of a JupyterLab container: Repeated

[I 2024-03-24 13:57:09.790 ServerApp] 302 GET /user/benz0li/qgis-latest/lab -> /user/benz0li/qgis-latest/lab (benz0li@[redacted]) 6.93ms
[W 2024-03-24 13:57:09.821 ServerApp] Attempting to clear invalid _xsrf cookie 'Mnwx...'

👉 JupyterLab (/lab) not loading.

Your personal set up

JupyterHub: glcr.b-data.ch/jupyterhub/jupyterhub:4.1.1-oauth-docker

JupyterLab:

ℹ️ base-images built with JUPYTERHUB_VERSION=4.1.1.

Ping @minrk

Thanks for reporting! I think I know what this is, I will try to fix it.

I've added a test that covers this and fixed it in #4750. Sorry for the trouble!

closed by #4750, will make 4.1.2 shortly.

I will wait for the next 4.1 release(s) and further feedback from the community.

Cross reference: #4752

4.1.3 is published fixing #4752. Thanks for testing! Let us know if you hit any further issues.

Let us know if you hit any further issues.

Looks good so far.