-
Notifications
You must be signed in to change notification settings - Fork 390
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
Authentication does not work with JupyterHub 4.1.2 #1842
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
It might be related to jupyterhub/jupyterhub#4761. @minrk Is there any config I need to add to make it work? |
I've tried this with JupyterHub 4.1.5. I also get a failure, though it's different to yours:
|
There are fixes since 4.1.2 that are probably relevant, specifically jupyterhub/jupyterhub#4759 in 4.1.4, I believe. I do not think jupyterhub/jupyterhub#4761 is related, since that was specifically a CORS request that is now correctly blocked. The error @manics sees is correctly raising because the test user doesn't have permission to visit the service ( |
Just tested with 4.1.5, I still have the same issue |
I have an internal k8s deployment that have similar symptoms, adding some data point to hopefully help with debugging. Using binderhub chart version 1.0.0-0.dev.git.3431.h8a8a59e with jupyterhub/k8s-binderhub image 1.0.0-0.dev.git.3422.h35a34dd, I get the same error "Failed to connect to event stream" when trying to launch a repo. Attached is the har file from chrome's dev tool network. You'll see from the Get call to https://cae-binder-uat.jpl.nasa.gov/services/binder/build/gh/dlam/conda/main it gets a return of 302 and starts an oauth loop that results in too many redirects. This is interesting because the jupyterhub is 4.0.2 here (it's using quay.io/jupyterhub/k8s-hub:3.2.1 which should have 4.0.2) Our last known working version of binderhub image is 1.0.0-0.dev.git.2809.h97a8ce1, and if I use that image with everything else in the chart staying the same, the call and launch works and instead of 302 returns 200. I have not tried other images in between that and latest. (although 1.0.0-0.dev.git.2816.h5db2f98 results in a 500 when going to binder page) sample chart value of the deployment, using chart 1.0.0-0.dev.git.3431.h8a8a59e:
|
#1847 should fix this. |
Bug description
I'm using the local-binder-local-hub setup with auth enabled (
c.BinderHub.auth_enabled = True
). This setup works well up to JupyterHub 4.0.2.Starting from 4.1.2, it does not work anymore with the following errors
and in the browser:
How to reproduce
binderhub
with local-binder-local-hubc.JupyterHub.authenticator_class
toDummyAuthenticator
c.BinderHub.auth_enabled = True
tobinderhub_config.py
Expected behaviour
The builder process should start
Actual behaviour
Your personal set up
binderhub
at mainjupyterhub
4.1.2Full environment
Configuration
# jupyterhub_config.py
Logs
The text was updated successfully, but these errors were encountered: