-
Notifications
You must be signed in to change notification settings - Fork 7
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
🐛 [BUG]: Unable to disable JupyterHub behind Twitcher #443
Comments
@mishaschwartz I merged the pending Ouranosinc/jupyterhub#29 so you are clear to do any fixes in that repo. |
Is |
@tlvu Ouranosinc/jupyterhub#30 should cover this edge case |
@mishaschwartz Oh indeed I also had Confirmed that removing |
So I've read the PR, so the problem is not due to both So both of these options can be set at the same time and it should work? |
Yeah exactly |
Just to be clear. Your fix is to make these 2 options not mutually exclusive. Otherwise, in the current state, they are mutually exclusive? Just so I fully understand the problem. |
As of Ouranosinc/jupyterhub#30 the behaviour is as follows:
|
## Overview If the `JUPYTERHUB_AUTHENTICATOR_AUTHORIZATION_URL` variable or `JUPYTERHUB_CRYPT_KEY` is unset without clearing the jupyterhub database, users could no longer spawn jupyterlab servers. ## Changes **Non-breaking changes** - New component version jupyterhub:4.1.4-20240408 ## Related Issue / Discussion - Resolves #443 ## Additional Information Links to other issues or sources. Related to: Ouranosinc/jupyterhub#30 ## CI Operations <!-- The test suite can be run using a different DACCS config with ``birdhouse_daccs_configs_branch: branch_name`` in the PR description. To globally skip the test suite regardless of the commit message use ``birdhouse_skip_ci`` set to ``true`` in the PR description. Note that using ``[skip ci]``, ``[ci skip]`` or ``[no ci]`` in the commit message will override ``birdhouse_skip_ci`` from the PR description. --> birdhouse_daccs_configs_branch: master birdhouse_skip_ci: false
Summary
Setting
JUPYTERHUB_AUTHENTICATOR_AUTHORIZATION_URL=""
inenv.local
is unable to disable JupyterHub behind Twitcher. It breaks the spawn of the personal JupyterLab server completely.Details
Error in
docker logs jupyterhub
whenJUPYTERHUB_AUTHENTICATOR_AUTHORIZATION_URL=""
is set inenv.local
:Error starting server lvu: Invalid URL '': No scheme supplied. Perhaps you meant https://?
Full error log:
Full log when it works (that switch is not set), starting from the exact same line
GET /jupyter/hub/ -> /jupyter/hub/spawn
:To Reproduce
Steps to reproduce the behavior:
2.1.2
(but should be broken since1.36.0
when JupyterHub was put behind Twitcher)export JUPYTERHUB_AUTHENTICATOR_AUTHORIZATION_URL=""
inenv.local
Environment
Concerned Organizations
@mishaschwartz @fmigneault
The text was updated successfully, but these errors were encountered: