Skip to content

Instantly share code, notes, and snippets.

@rueberger
Created July 27, 2017 22:32
Show Gist options
  • Save rueberger/a860ddda211724694d3d7cd7691a57e6 to your computer and use it in GitHub Desktop.
Save rueberger/a860ddda211724694d3d7cd7691a57e6 to your computer and use it in GitHub Desktop.
jupyterhub debug log
[D 2017-07-27 22:25:38.734 JupyterHub app:740] Generating new cookie_secret
[I 2017-07-27 22:25:38.735 JupyterHub app:745] Writing cookie_secret to /srv/jupyterhub/jupyterhub_cookie_secret
[D 2017-07-27 22:25:38.735 JupyterHub app:796] Connecting to db: sqlite:///jupyterhub.sqlite
[W 2017-07-27 22:25:38.823 JupyterHub app:365]
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.
[W 2017-07-27 22:25:38.838 JupyterHub app:864] No admin users, admin interface will be unavailable.
[W 2017-07-27 22:25:38.838 JupyterHub app:865] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2017-07-27 22:25:38.838 JupyterHub app:892] Not using whitelist. Any authenticated user will be allowed.
root@jhub:/var/log# head --lines 50 jupyterhub.log
[D 2017-07-27 22:25:38.734 JupyterHub app:740] Generating new cookie_secret
[I 2017-07-27 22:25:38.735 JupyterHub app:745] Writing cookie_secret to /srv/jupyterhub/jupyterhub_cookie_secret
[D 2017-07-27 22:25:38.735 JupyterHub app:796] Connecting to db: sqlite:///jupyterhub.sqlite
[W 2017-07-27 22:25:38.823 JupyterHub app:365]
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.
[W 2017-07-27 22:25:38.838 JupyterHub app:864] No admin users, admin interface will be unavailable.
[W 2017-07-27 22:25:38.838 JupyterHub app:865] Add any administrative users to `c.Authenticator.admin_users` in config.
[I 2017-07-27 22:25:38.838 JupyterHub app:892] Not using whitelist. Any authenticated user will be allowed.
[D 2017-07-27 22:25:38.848 JupyterHub app:1102] Loaded users:
[I 2017-07-27 22:25:38.857 JupyterHub app:1453] Hub API listening on http://*:8080/hub/
[W 2017-07-27 22:25:38.860 JupyterHub app:1174] Running JupyterHub without SSL. I hope there is SSL termination happening somewhere else...
[I 2017-07-27 22:25:38.860 JupyterHub app:1176] Starting proxy @ http://*:8000/
[D 2017-07-27 22:25:38.860 JupyterHub app:1177] Proxy cmd: ['configurable-http-proxy', '--ip', '', '--port', '8000', '--api-ip', '127.0.0.1', '--api-port', '8001', '--default-target', 'http://127.0.0.1:8080', '--error-target', 'http://127.0.0.1:8080/hub/error']
[D 2017-07-27 22:25:39.168 JupyterHub app:1205] Proxy started and appears to be up
[I 2017-07-27 22:25:39.168 JupyterHub app:1485] JupyterHub is now running at http://127.0.0.1:8000/
[I 2017-07-27 22:25:51.144 JupyterHub log:100] 302 GET / (@::ffff:10.8.0.186) 2.85ms
[I 2017-07-27 22:25:51.164 JupyterHub log:100] 302 GET /hub (@::ffff:10.8.0.186) 0.75ms
[I 2017-07-27 22:25:51.182 JupyterHub log:100] 302 GET /hub/ (@::ffff:10.8.0.186) 1.55ms
[I 2017-07-27 22:25:51.195 JupyterHub log:100] 302 GET /login (@::ffff:10.8.0.186) 1.12ms
[I 2017-07-27 22:25:51.250 JupyterHub log:100] 200 GET /hub/login (@::ffff:10.8.0.186) 40.08ms
[D 2017-07-27 22:25:52.924 JupyterHub dockerspawner:365] Getting container 'jupyter-bergera'
[D 2017-07-27 22:25:53.030 JupyterHub dockerspawner:351] Container 7b55bc9 status: {'Dead': False,
'Error': '',
'ExitCode': 143,
'FinishedAt': '2017-07-27T01:36:23.565494615Z',
'OOMKilled': False,
'Paused': False,
'Pid': 0,
'Restarting': False,
'Running': False,
'StartedAt': '2017-07-27T01:36:23.413212124Z',
'Status': 'exited'}
[D 2017-07-27 22:25:53.053 JupyterHub dockerspawner:365] Getting container 'jupyter-bergera'
[I 2017-07-27 22:25:53.058 JupyterHub dockerspawner:447] Found existing container 'jupyter-bergera' (id: 7b55bc9)
[I 2017-07-27 22:25:53.058 JupyterHub dockerspawner:459] Starting container 'jupyter-bergera' (id: 7b55bc9)
[E 2017-07-27 22:25:53.061 JupyterHub user:251] Unhandled error starting bergera's server: Providing configuration in the start() method is no longer supported. Use the host_config param in create_container instead.
[D 2017-07-27 22:25:53.061 JupyterHub dockerspawner:365] Getting container 'jupyter-bergera'
[D 2017-07-27 22:25:53.066 JupyterHub dockerspawner:351] Container 7b55bc9 status: {'Dead': False,
'Error': '',
'ExitCode': 143,
'FinishedAt': '2017-07-27T01:36:23.565494615Z',
'OOMKilled': False,
'Paused': False,
'Pid': 0,
'Restarting': False,
'Running': False,
'StartedAt': '2017-07-27T01:36:23.413212124Z',
'Status': 'exited'}
[E 2017-07-27 22:25:53.075 JupyterHub web:1548] Uncaught exception POST /hub/login?next= (::ffff:10.8.0.186)
HTTPServerRequest(protocol='http', host='c04u01:8000', method='POST', uri='/hub/login?next=', version='HTTP/1.1', remote_ip='::ffff:10.8.0.186', headers={'Content-Type': 'application/x-www-form-urlencoded', 'X-Forwarded-Host': 'c04u01:8000', 'Upgrade-Insecure-Requests': '1', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate', 'Accept-Language': 'en-US,en;q=0.8', 'Origin': 'http://c04u01:8000', 'Dnt': '1', 'X-Forwarded-Port': '8000', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36', 'Cookie': 'gsScrollPos-1340=0; gsScrollPos-1025=0; gsScrollPos-1371=0; gsScrollPos-1828=0; username-c04u01-8335=2|1:0|10:1498887801|20:username-c04u01-8335|48:OWM2OTNlYmUtMjYxNy00MTRjLTkxZTctYjViZmJlZGQ3MzY0|ae36f007c321e5e23d2378e1753936f8a8b8947693f53e3f5abdd7a9d98645a9; _xsrf=2|3af27381|059c461f48750cb91767a71bae5fc6a9|1501000793', 'X-Forwarded-For': '::ffff:10.8.0.186', 'Cache-Control': 'max-age=0', 'Content-Length': '38', 'Referer': 'http://c04u01:8000/hub/login', 'Host': 'c04u01:8000', 'X-Forwarded-Proto': 'http'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1469, in _execute
result = yield result
File "/opt/conda/lib/python3.5/site-packages/jupyterhub/handlers/login.py", line 84, in post
yield self.spawn_single_user(user)
File "/opt/conda/lib/python3.5/site-packages/jupyterhub/handlers/base.py", line 328, in spawn_single_user
yield gen.with_timeout(timedelta(seconds=self.slow_spawn_timeout), f)
File "/opt/conda/lib/python3.5/site-packages/jupyterhub/user.py", line 261, in spawn
raise e
File "/opt/conda/lib/python3.5/site-packages/jupyterhub/user.py", line 229, in spawn
ip_port = yield gen.with_timeout(timedelta(seconds=spawner.start_timeout), f)
File "/opt/conda/lib/python3.5/site-packages/dockerspawner/dockerspawner.py", line 468, in start
yield self.docker('start', self.container_id, **start_kwargs)
File "/opt/conda/lib/python3.5/concurrent/futures/_base.py", line 398, in result
return self.__get_result()
File "/opt/conda/lib/python3.5/concurrent/futures/_base.py", line 357, in __get_result
raise self._exception
File "/opt/conda/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/opt/conda/lib/python3.5/site-packages/dockerspawner/dockerspawner.py", line 330, in _docker
return m(*args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/docker/utils/decorators.py", line 19, in wrapped
return f(self, resource_id, *args, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/docker/api/container.py", line 1073, in start
'Providing configuration in the start() method is no longer '
docker.errors.DeprecatedMethod: Providing configuration in the start() method is no longer supported. Use the host_config param in create_container instead.
[D 2017-07-27 22:25:53.084 JupyterHub base:462] No template for 500
[E 2017-07-27 22:25:53.096 JupyterHub log:99] {
"Content-Type": "application/x-www-form-urlencoded",
"X-Forwarded-Host": "c04u01:8000",
"Upgrade-Insecure-Requests": "1",
"Connection": "close",
"Accept-Encoding": "gzip, deflate",
"Accept-Language": "en-US,en;q=0.8",
"Origin": "http://c04u01:8000",
"Dnt": "1",
"X-Forwarded-Port": "8000",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8",
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36",
"Cookie": "gsScrollPos-1340=0; gsScrollPos-1025=0; gsScrollPos-1371=0; gsScrollPos-1828=0; username-c04u01-8335=2|1:0|10:1498887801|20:username-c04u01-8335|48:OWM2OTNlYmUtMjYxNy00MTRjLTkxZTctYjViZmJlZGQ3MzY0|ae36f007c321e5e23d2378e1753936f8a8b8947693f53e3f5abdd7a9d98645a9; _xsrf=2|3af27381|059c461f48750cb91767a71bae5fc6a9|1501000793",
"X-Forwarded-For": "::ffff:10.8.0.186",
"Cache-Control": "max-age=0",
"Content-Length": "38",
"Referer": "http://c04u01:8000/hub/login",
"Host": "c04u01:8000",
"X-Forwarded-Proto": "http"
}
[E 2017-07-27 22:25:53.097 JupyterHub log:100] 500 POST /hub/login?next= (@::ffff:10.8.0.186) 252.88ms
[D 2017-07-27 22:30:39.218 JupyterHub orm:146] Fetching GET http://127.0.0.1:8001/api/routes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment