JupyterHub не работает на общедоступном порту 8000. Он работает только на порте 8081. Везде, где я читал, все магически решали свои проблемы без каких-либо решений.
https://github.com/jupyterhub/jupyterhub/issues/742
jupyterhub_config.py
from oauthenticator.gitlab import GitLabOAuthenticator
c.JupyterHub.authenticator_class = GitLabOAuthenticator
c.GitLabOAuthenticator.oauth_callback_url = 'http://localhost:8000/hub/oauth_callback'
c.GitLabOAuthenticator.client_id = '...'
c.GitLabOAuthenticator.client_secret = '...'
c.ConfigurableHTTPProxy.debug = True
c.JupyterHub.hub_ip = '127.0.0.1'
c.JupyterHub.hub_port = 8081
c.JupyterHub.ip = '127.0.0.1'
c.JupyterHub.port = 8000
c.JupyterHub.spawner_class = 'simplespawner.SimpleLocalProcessSpawner'
c.JupyterHub.ssl_cert = '/srv/jupyterhub/jupyterhub.crt'
c.JupyterHub.ssl_key = '/srv/jupyterhub/jupyterhub.key'
Использование GitLab в качестве аутентификатора и simplespawner в качестве генератора.Не используется Docker.
JupyterHub -V 0.9.4
Configurable-HTTP-Proxy -V 4.0.1
Запуск Ubuntu 18.04 на VirtualBox.