-
Notifications
You must be signed in to change notification settings - Fork 64
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
Hub and Proxy running but getting 502 Bad gateway #32
Comments
So, after spending more time on that issue I can tell you it's not that easy to reproduce. |
I think I found the issue: the proxy-public service points to the port 8080 of the proxy pod but this one doesn't listen to this port and instead listen to the port 8000... editing the service to use the 8000 fixed the issue. After more digging in the values it seems I needed to use I still don't understand how restarting the proxy pod made it work all of the sudden. I think it have to do with the environment variables being set and the behavior of the proxy itself but I guess if you launch the container with the option I'll make a pull request in that direction soon |
The issue is already fixed in the jupyterhub chart so instead of doing things twice I'd rather prefer using this as dependency for this chart as discussed in #25 |
Describe the bug:
It looks like sometimes, the proxy loose connection with the hub and we need to kill the proxy pod to force it's recreation.
Expected behaviour:
I expect the application to be reachable even after a restart of the hub
Steps to reproduce the issue:
helm installkubectl delete pod hub-***you should see 502 bad gateway even after the hub pod is shown as runningEDIT: rebooting the node seems to be the only wait to reproduce the issue consistently
Possible Fix:
A quick fix might be to put liveness probes on the proxy pods to ensure the connexion still exists but there might be a better fix.
The text was updated successfully, but these errors were encountered: