You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to set base_url to /jupyter and run sudo tljh-config reload proxy, navigation to domain.com/jupyter redirects to domain.com/hub/jupyter and throws a 404 error.
Expected behaviour
Navigation to domain.com/jupyter should load the JupyterHub (either login screen or logged in user's instance). Navigation to domain.com should redirect to domain.com/jupyter.
Actual behaviour
Navigation to domain.com redirects to domain.com/hub/jupyter, and JupyterHub gives a 404 error.
How to reproduce
Run sudo tljh-config set c.JupyterHub.base_url "/jupyter"
Run sudo tljh-config reload for hub and proxy (or sudo systemctl restart jupyterhub traefik) to reload settings
Navigate to domain.com
Get 404 page
I also tried to undo this by running sudo tljh-config unset c.JupyterHub.base_url and again reloading the hub and proxy, expecting this to make the issue disappear. However, it seems that there's some zombie configuration file for Traefik that I can't clear. Even though base_url is no longer present in tljh-config, my hub is still redirecting URLs to /hub/jupyter and giving 404 errors.
I also tried setting some variable in the custom TOML files under /opt/tljh/config/traefik_config.d, and those settings also won't go away (I removed the custom file from the folder, but settings from that file persist across service and server restarts). This leads me to suspect the issue is related to a configuration file for Traefik that's hiding somewhere, but I don't know where to look for this.
Your personal set up
TLJH installed using script curl-ed on 2021-01-20 using default settings + NativeAuthenticator
I'll close this as a duplicate of #722, so it's not a zombie proxy configuration, it is more like a never updated proxy configuration! Thank you for providing such a thorough report, it really helps with maintenance efforts!!!
Bug description
When I try to set
base_url
to/jupyter
and runsudo tljh-config reload proxy
, navigation todomain.com/jupyter
redirects todomain.com/hub/jupyter
and throws a 404 error.Expected behaviour
Navigation to
domain.com/jupyter
should load the JupyterHub (either login screen or logged in user's instance). Navigation todomain.com
should redirect todomain.com/jupyter
.Actual behaviour
Navigation to
domain.com
redirects todomain.com/hub/jupyter
, and JupyterHub gives a 404 error.How to reproduce
sudo tljh-config set c.JupyterHub.base_url "/jupyter"
sudo tljh-config reload
for hub and proxy (orsudo systemctl restart jupyterhub traefik
) to reload settingsdomain.com
I also tried to undo this by running
sudo tljh-config unset c.JupyterHub.base_url
and again reloading the hub and proxy, expecting this to make the issue disappear. However, it seems that there's some zombie configuration file for Traefik that I can't clear. Even thoughbase_url
is no longer present intljh-config
, my hub is still redirecting URLs to /hub/jupyter and giving 404 errors.I also tried setting some variable in the custom TOML files under
/opt/tljh/config/traefik_config.d
, and those settings also won't go away (I removed the custom file from the folder, but settings from that file persist across service and server restarts). This leads me to suspect the issue is related to a configuration file for Traefik that's hiding somewhere, but I don't know where to look for this.Your personal set up
TLJH installed using script curl-ed on 2021-01-20 using default settings + NativeAuthenticator
Ubuntu 18.04
jupyterhub: 1.2.2
python: 3.7.9 (TLJH), 3.6.9 (system)
Full environment
Configuration
Logs
The text was updated successfully, but these errors were encountered: