Skip to content
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

Set nginx-ingress timeout to 10 minutes to improve support for websockets #3192

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

manics
Copy link
Member

@manics manics commented Jan 23, 2025

The default nginx-ingress timeout is 60 seconds. This means Jupyter desktops will disconnect if there are no changes on screen for 60 seconds. There's a race condition here between the nginx timeout and the desktop clock which updates every minute which is why
https://mybinder.org/v2/gh/jupyterhub/jupyter-remote-desktop-proxy/HEAD?urlpath=desktop
doesn't always timeout after 1 minute.

If you use a desktop without a clock:
https://mybinder.org/v2/gh/manics/jupyter-desktop-mate/HEAD?urlpath=desktop
the timeout is more reproducible.

I've set it to 10 minutes, though maybe we should lower it to 5 minutes?

@minrk minrk merged commit e877226 into jupyterhub:main Jan 24, 2025
7 checks passed
@manics manics deleted the websocket-timeout branch January 24, 2025 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants