Try and try again

This commit is contained in:
Micke Nordin 2024-01-16 16:13:24 +01:00
parent b786fb9b40
commit 07a2e2238e
Signed by untrusted user: Micke
GPG key ID: F53C4CC83EDAB3BE

View file

@ -144,7 +144,7 @@ hub:
c.JupyterHub.services = [ c.JupyterHub.services = [
{ {
'name': 'refresh-token', 'name': 'refresh-token',
'url': 'http://hub:8082', 'url': 'http://127.0.0.1:8082',
'display': False, 'display': False,
'oauth_no_confirm': True, 'oauth_no_confirm': True,
'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'], 'api_token': os.environ['JUPYTERHUB_CRYPT_KEY'],
@ -193,7 +193,7 @@ hub:
http_server = HTTPServer(app) http_server = HTTPServer(app)
url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL']) url = urlparse(os.environ['JUPYTERHUB_SERVICE_URL'])
http_server.listen(url.port, reuse_port=True) http_server.listen(url.port)
IOLoop.current().start() IOLoop.current().start()
if __name__ == '__main__': if __name__ == '__main__':