Skip to content

Instantly share code, notes, and snippets.

@Analect
Created May 4, 2016 20:01
Show Gist options
  • Save Analect/695752f105441d250517cfadcef6cc6a to your computer and use it in GitHub Desktop.
Save Analect/695752f105441d250517cfadcef6cc6a to your computer and use it in GitHub Desktop.
output from jupyterhub on attempted auth with github
jupyterhub | [I 2016-05-04 16:04:01.700 JupyterHub app:595] Loading cookie_secret from /data/jupyterhub_cookie_secret
jupyterhub | [W 2016-05-04 16:04:01.734 JupyterHub app:300]
jupyterhub | Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
jupyterhub | Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.
jupyterhub |
jupyterhub | [I 2016-05-04 16:04:01.764 JupyterHub app:1155] Hub API listening on http://jupyterhub:8080/hub/
jupyterhub | [I 2016-05-04 16:04:01.767 JupyterHub app:902] Starting proxy @ http://*:443/
jupyterhub | 16:04:01.865 - info: [ConfigProxy] Proxying https://*:443 to http://jupyterhub:8080
jupyterhub | 16:04:01.867 - info: [ConfigProxy] Proxy API at http://127.0.0.1:444/api/routes
jupyterhub | [I 2016-05-04 16:04:01.872 JupyterHub app:1178] JupyterHub is now running at http://127.0.0.1:443/
Colums-MacBook-Pro:jupyterhub-deploy-docker me$ docker-compose logs hub
Attaching to jupyterhub
jupyterhub | [I 2016-05-04 16:04:01.700 JupyterHub app:595] Loading cookie_secret from /data/jupyterhub_cookie_secret
jupyterhub | [W 2016-05-04 16:04:01.734 JupyterHub app:300]
jupyterhub | Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
jupyterhub | Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.
jupyterhub |
jupyterhub | [I 2016-05-04 16:04:01.764 JupyterHub app:1155] Hub API listening on http://jupyterhub:8080/hub/
jupyterhub | [I 2016-05-04 16:04:01.767 JupyterHub app:902] Starting proxy @ http://*:443/
jupyterhub | 16:04:01.865 - info: [ConfigProxy] Proxying https://*:443 to http://jupyterhub:8080
jupyterhub | 16:04:01.867 - info: [ConfigProxy] Proxy API at http://127.0.0.1:444/api/routes
jupyterhub | [I 2016-05-04 16:04:01.872 JupyterHub app:1178] JupyterHub is now running at http://127.0.0.1:443/
jupyterhub | [I 2016-05-04 16:06:31.116 JupyterHub log:100] 302 GET / (@89.101.119.62) 1.19ms
jupyterhub | [I 2016-05-04 16:06:31.201 JupyterHub log:100] 302 GET /hub (@89.101.119.62) 0.41ms
jupyterhub | [I 2016-05-04 16:06:31.221 JupyterHub log:100] 302 GET /hub/ (@89.101.119.62) 0.78ms
jupyterhub | [I 2016-05-04 16:06:31.259 JupyterHub log:100] 200 GET /hub/login (@89.101.119.62) 23.49ms
jupyterhub | [I 2016-05-04 16:06:37.149 JupyterHub oauth2:36] oauth redirect: 'https://jupyterhub.xxxxx.com/hub/oauth_callback'
jupyterhub | [I 2016-05-04 16:06:37.153 JupyterHub log:100] 302 GET /hub/oauth_login (@89.101.119.62) 1.50ms
jupyterhub | [W 2016-05-04 16:06:56.595 JupyterHub log:100] 403 GET /hub/oauth_callback?code=5bdb6371376976c22a4a (@89.101.119.62) 957.96ms
jupyterhub | [E 2016-05-04 16:08:38.074 JupyterHub web:1524] Uncaught exception GET /hub/oauth_callback?code=5bdb6371376976c22a4a (89.101.119.62)
jupyterhub | HTTPServerRequest(protocol='https', host='jupyterhub.xxxxx.com', method='GET', uri='/hub/oauth_callback?code=5bdb6371376976c22a4a', version='HTTP/1.1', remote_ip='89.101.119.62', headers={'Referer': 'https://github.com/', 'Host': 'jupyterhub.xxxxx.com', 'X-Forwarded-Port': '443', 'Connection': 'close', 'Accept-Encoding': 'gzip, deflate, sdch', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36', 'X-Forwarded-For': '89.101.119.62', 'Cache-Control': 'max-age=0', 'Accept-Language': 'en-US,en;q=0.8', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'X-Forwarded-Proto': 'https'})
jupyterhub | Traceback (most recent call last):
jupyterhub | File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1445, in _execute
jupyterhub | result = yield result
jupyterhub | File "/srv/jupyterhub/src/oauthenticator/oauthenticator/oauth2.py", line 50, in get
jupyterhub | username = yield self.authenticator.authenticate(self)
jupyterhub | File "/srv/jupyterhub/src/oauthenticator/oauthenticator/github.py", line 95, in authenticate
jupyterhub | access_token = resp_json['access_token']
jupyterhub | KeyError: 'access_token'
jupyterhub |
jupyterhub | [E 2016-05-04 16:08:38.084 JupyterHub log:99] {
jupyterhub | "Referer": "https://github.com/",
jupyterhub | "Host": "jupyterhub.xxxxx.com",
jupyterhub | "X-Forwarded-Port": "443",
jupyterhub | "Connection": "close",
jupyterhub | "Accept-Encoding": "gzip, deflate, sdch",
jupyterhub | "Upgrade-Insecure-Requests": "1",
jupyterhub | "User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36",
jupyterhub | "X-Forwarded-For": "89.101.119.62",
jupyterhub | "Cache-Control": "max-age=0",
jupyterhub | "Accept-Language": "en-US,en;q=0.8",
jupyterhub | "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
jupyterhub | "X-Forwarded-Proto": "https"
jupyterhub | }
jupyterhub | [E 2016-05-04 16:08:38.085 JupyterHub log:100] 500 GET /hub/oauth_callback?code=5bdb6371376976c22a4a (@89.101.119.62) 449.45ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment