I installed TLJH on a remote machine with nothing running on port 80. I wasn’t able to reach it so I changed the default port to 3000. It still won’t load. In the JupyterHub logs it even looks like it’s running on port 8000 which is not the port I specified. There is something already running on that port. Would this potentially cause an issue? I can’t find any other reason this wouldn’t work.
Here’s my JH log from the last two attempts to start
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.444 JupyterHub app:2240] Running JupyterHub version 1.1.0
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.446 JupyterHub app:2271] Using Authenticator: firstuseauthenticator.firstuseauthenticator.FirstUseAuthenticator
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.446 JupyterHub app:2271] Using Spawner: builtins.UserCreatingSpawner
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.446 JupyterHub app:2271] Using Proxy: jupyterhub_traefik_proxy.toml.TraefikTomlProxy-0+unknown
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.462 JupyterHub app:1349] Loading cookie_secret from /opt/tljh/state/jupyterhub_cookie_secret
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.542 JupyterHub app:1655] Not using whitelist. Any authenticated user will be allowed.
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.582 JupyterHub app:2311] Initialized 0 spawners in 0.005 seconds
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.585 JupyterHub app:2520] Not starting proxy
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.586 JupyterHub app:2556] Hub API listening on http://127.0.0.1:15001/hub/
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.587 JupyterHub app:2571] Starting managed service cull-idle
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.588 JupyterHub service:335] Starting service 'cull-idle': ['/opt/tljh/hub/bin/python3', '-m', 'tljh.cull_idle_servers', '--timeout=600', '--cull-every=60', '--concurrency=5', '--max
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.592 JupyterHub service:121] Spawning /opt/tljh/hub/bin/python3 -m tljh.cull_idle_servers --timeout=600 --cull-every=60 --concurrency=5 --max-age=0
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.602 JupyterHub proxy:320] Checking routes
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.602 JupyterHub app:2631] JupyterHub is now running at http://:8000
Apr 17 10:48:31 braintrust python3[13196]: [I 2020-04-17 10:48:31.853 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 14.14ms
Apr 17 10:48:40 braintrust systemd[1]: Stopping jupyterhub.service...
Apr 17 10:48:40 braintrust python3[13196]: [C 2020-04-17 10:48:40.790 JupyterHub app:2684] Received signal SIGTERM, initiating shutdown...
Apr 17 10:48:40 braintrust python3[13196]: [I 2020-04-17 10:48:40.790 JupyterHub app:2355] Cleaning up 1 services...
Apr 17 10:48:40 braintrust python3[13196]: [I 2020-04-17 10:48:40.792 JupyterHub app:2367] Leaving single-user servers running
Apr 17 10:48:40 braintrust python3[13196]: [I 2020-04-17 10:48:40.793 JupyterHub app:2375] I didn't start the proxy, I can't clean it up
Apr 17 10:48:40 braintrust python3[13196]: [I 2020-04-17 10:48:40.793 JupyterHub app:2392] ...done
Apr 17 10:48:40 braintrust python3[13196]: 10
Apr 17 10:48:41 braintrust systemd[1]: Stopped jupyterhub.service.
Apr 17 10:48:41 braintrust systemd[1]: Started jupyterhub.service.
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.710 JupyterHub app:2240] Running JupyterHub version 1.1.0
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.712 JupyterHub app:2271] Using Authenticator: firstuseauthenticator.firstuseauthenticator.FirstUseAuthenticator
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.712 JupyterHub app:2271] Using Spawner: builtins.UserCreatingSpawner
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.712 JupyterHub app:2271] Using Proxy: jupyterhub_traefik_proxy.toml.TraefikTomlProxy-0+unknown
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.728 JupyterHub app:1349] Loading cookie_secret from /opt/tljh/state/jupyterhub_cookie_secret
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.806 JupyterHub app:1655] Not using whitelist. Any authenticated user will be allowed.
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.845 JupyterHub app:2311] Initialized 0 spawners in 0.005 seconds
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.848 JupyterHub app:2520] Not starting proxy
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.850 JupyterHub app:2556] Hub API listening on http://127.0.0.1:15001/hub/
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.851 JupyterHub app:2571] Starting managed service cull-idle
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.851 JupyterHub service:335] Starting service 'cull-idle': ['/opt/tljh/hub/bin/python3', '-m', 'tljh.cull_idle_servers', '--timeout=600', '--cull-every=60', '--concurrency=5', '--max
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.855 JupyterHub service:121] Spawning /opt/tljh/hub/bin/python3 -m tljh.cull_idle_servers --timeout=600 --cull-every=60 --concurrency=5 --max-age=0
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.864 JupyterHub proxy:320] Checking routes
Apr 17 10:48:42 braintrust python3[13321]: [I 2020-04-17 10:48:42.865 JupyterHub app:2631] JupyterHub is now running at http://:8000
Apr 17 10:48:43 braintrust python3[13321]: [I 2020-04-17 10:48:43.116 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 14.35ms
Apr 17 10:49:43 braintrust python3[13321]: [I 2020-04-17 10:49:43.108 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 8.01ms
Apr 17 10:50:43 braintrust python3[13321]: [I 2020-04-17 10:50:43.109 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 8.21ms
Apr 17 10:51:43 braintrust python3[13321]: [I 2020-04-17 10:51:43.107 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 7.80ms
Apr 17 10:52:43 braintrust python3[13321]: [I 2020-04-17 10:52:43.108 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 7.82ms
Apr 17 10:53:42 braintrust python3[13321]: [I 2020-04-17 10:53:42.894 JupyterHub proxy:320] Checking routes
Apr 17 10:53:43 braintrust python3[13321]: [I 2020-04-17 10:53:43.108 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 8.14ms
Apr 17 10:54:43 braintrust python3[13321]: [I 2020-04-17 10:54:43.108 JupyterHub log:174] 200 GET /hub/api/users (cull-idle@127.0.0.1) 7.81ms
And Traefik
Apr 17 10:43:22 braintrust systemd[1]: Started traefik.service.
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Using TOML configuration file /opt/tljh/state/traefik.toml"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Traefik version v1.7.18 built on 2019-09-26_01:56:30PM"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-dat
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Preparing server http &{Address::3000 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> Forwar
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Preparing server auth_api &{Address:127.0.0.1:8099 TLS:<nil> Redirect:<nil> Auth:0xc000b40f00 WhitelistSourceRange:[] WhiteList:0xc00065b620 Compress:false
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Starting server on :3000"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Starting server on 127.0.0.1:8099"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Starting provider configuration.ProviderAggregator {}"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Starting provider *file.Provider {\"Watch\":true,\"Filename\":\"rules.toml\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":0,\"DebugLogGenerated
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Server configuration reloaded on :3000"
Apr 17 10:43:22 braintrust traefik[12842]: time="2020-04-17T10:43:22-05:00" level=info msg="Server configuration reloaded on 127.0.0.1:8099"
Apr 17 10:43:24 braintrust traefik[12842]: time="2020-04-17T10:43:24-05:00" level=info msg="Server configuration reloaded on :3000"
Apr 17 10:43:24 braintrust traefik[12842]: time="2020-04-17T10:43:24-05:00" level=info msg="Server configuration reloaded on 127.0.0.1:8099"
Apr 17 10:48:29 braintrust systemd[1]: Stopping traefik.service...
Apr 17 10:48:29 braintrust traefik[12842]: time="2020-04-17T10:48:29-05:00" level=info msg="I have to go..."
Apr 17 10:48:29 braintrust traefik[12842]: time="2020-04-17T10:48:29-05:00" level=info msg="Stopping server gracefully"
Apr 17 10:48:29 braintrust traefik[12842]: time="2020-04-17T10:48:29-05:00" level=info msg="Server stopped"
Apr 17 10:48:29 braintrust traefik[12842]: time="2020-04-17T10:48:29-05:00" level=info msg="Shutting down"
Apr 17 10:48:29 braintrust systemd[1]: Stopped traefik.service.
Apr 17 10:48:29 braintrust systemd[1]: Started traefik.service.
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Using TOML configuration file /opt/tljh/state/traefik.toml"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Traefik version v1.7.18 built on 2019-09-26_01:56:30PM"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/v1.7/basics/#collected-dat
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Preparing server http &{Address::3000 TLS:<nil> Redirect:<nil> Auth:<nil> WhitelistSourceRange:[] WhiteList:<nil> Compress:false ProxyProtocol:<nil> Forwar
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Preparing server auth_api &{Address:127.0.0.1:8099 TLS:<nil> Redirect:<nil> Auth:0xc000b32f60 WhitelistSourceRange:[] WhiteList:0xc0009f9ba0 Compress:false
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Starting server on :3000"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Starting provider configuration.ProviderAggregator {}"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Starting server on 127.0.0.1:8099"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Starting provider *file.Provider {\"Watch\":true,\"Filename\":\"rules.toml\",\"Constraints\":null,\"Trace\":false,\"TemplateVersion\":0,\"DebugLogGenerated
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Server configuration reloaded on :3000"
Apr 17 10:48:30 braintrust traefik[13193]: time="2020-04-17T10:48:30-05:00" level=info msg="Server configuration reloaded on 127.0.0.1:8099"