Skip to content

Instantly share code, notes, and snippets.

/a.rb

Created April 18, 2016 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/272ccdf98d990c63aba8945e03e592f9 to your computer and use it in GitHub Desktop.
Save anonymous/272ccdf98d990c63aba8945e03e592f9 to your computer and use it in GitHub Desktop.
root@Debian-70-wheezy-64-minimal:~# /usr/local/bin/jupyterhub --ip=0.0.0.0 --config=/etc/jupyterhub/jupyterhub.py --no-ssl
[I 2016-04-18 17:19:25.969 JupyterHub app:623] Loading cookie_secret from /root/jupyterhub_cookie_secret
[W 2016-04-18 17:19:25.986 JupyterHub app:305]
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.
[I 2016-04-18 17:19:25.990 JupyterHub app:779] Not using whitelist. Any authenticated user will be allowed.
[I 2016-04-18 17:19:26.021 JupyterHub app:1224] Hub API listening on http://127.0.0.1:8081/hub/
[W 2016-04-18 17:19:26.023 JupyterHub app:952] Running JupyterHub without SSL. There better be SSL termination happening somewhere else...
[I 2016-04-18 17:19:26.023 JupyterHub app:961] Starting proxy @ http://0.0.0.0:8888/
17:19:26.108 - info: [ConfigProxy] Proxying http://0.0.0.0:8888 to http://127.0.0.1:8081
17:19:26.111 - info: [ConfigProxy] Proxy API at http://127.0.0.1:8889/api/routes
[I 2016-04-18 17:19:26.126 JupyterHub app:1247] JupyterHub is now running at http://127.0.0.1:8888/
[I 2016-04-18 17:19:32.310 JupyterHub log:100] 302 GET /hub/ (@50.187.182.220) 2.39ms
[E 2016-04-18 17:19:32.435 JupyterHub web:1524] Uncaught exception GET /hub/login (50.187.182.220)
HTTPServerRequest(protocol='http', host='epinux.com:8888', method='GET', uri='/hub/login', version='HTTP/1.1', remote_ip='50.187.182.220', headers={'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36', 'Upgrade-Insecure-Requests': '1', 'X-Forwarded-Proto': 'http', 'Connection': 'close', 'Accept-Language': 'en-US,en;q=0.8,es;q=0.6,is;q=0.4,it;q=0.2,nb;q=0.2', 'X-Forwarded-Port': '8888', 'X-Forwarded-For': '50.187.182.220', 'Cookie': 'wgrass_login=epi; wgrass_location=deleted; wgrass_mapset=deleted', 'Host': 'epinux.com:8888', 'Accept-Encoding': 'gzip, deflate, sdch', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'})
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/login.py", line 57, in get
self.finish(self._render(username=username))
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/login.py", line 35, in _render
login_url=self.settings['login_url'],
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 392, in render_template
template = self.get_template(name)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 388, in get_template
return self.settings['jinja2_env'].get_template(name)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 187, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: login.html
[E 2016-04-18 17:19:32.438 JupyterHub web:976] Uncaught exception in write_error
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 974, in send_error
self.write_error(status_code, **kwargs)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 441, in write_error
html = self.render_template('error.html', **ns)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 392, in render_template
template = self.get_template(name)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 388, in get_template
return self.settings['jinja2_env'].get_template(name)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 187, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: error.html
[E 2016-04-18 17:19:32.443 JupyterHub log:99] {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36",
"Upgrade-Insecure-Requests": "1",
"X-Forwarded-Proto": "http",
"Connection": "close",
"Accept-Language": "en-US,en;q=0.8,es;q=0.6,is;q=0.4,it;q=0.2,nb;q=0.2",
"X-Forwarded-Port": "8888",
"X-Forwarded-For": "50.187.182.220",
"Cookie": "wgrass_login=epi; wgrass_location=deleted; wgrass_mapset=deleted",
"Host": "epinux.com:8888",
"Accept-Encoding": "gzip, deflate, sdch",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
}
[E 2016-04-18 17:19:32.443 JupyterHub log:100] 500 GET /hub/login (@50.187.182.220) 4.36ms
[E 2016-04-18 17:19:35.787 JupyterHub web:1524] Uncaught exception GET /hub/login (50.187.182.220)
HTTPServerRequest(protocol='http', host='epinux.com:8888', method='GET', uri='/hub/login', version='HTTP/1.1', remote_ip='50.187.182.220', headers={'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36', 'X-Forwarded-Port': '8888', 'X-Forwarded-For': '50.187.182.220', 'Host': 'epinux.com:8888', 'Accept-Encoding': 'gzip, deflate, sdch', 'Upgrade-Insecure-Requests': '1', 'X-Forwarded-Proto': 'http', 'Connection': 'close', 'Accept-Language': 'en-US,en;q=0.8,es;q=0.6,is;q=0.4,it;q=0.2,nb;q=0.2', 'Cookie': 'wgrass_login=epi; wgrass_location=deleted; wgrass_mapset=deleted', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Cache-Control': 'max-age=0'})
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/login.py", line 57, in get
self.finish(self._render(username=username))
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/login.py", line 35, in _render
login_url=self.settings['login_url'],
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 392, in render_template
template = self.get_template(name)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 388, in get_template
return self.settings['jinja2_env'].get_template(name)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 187, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: login.html
[E 2016-04-18 17:19:35.788 JupyterHub web:976] Uncaught exception in write_error
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tornado/web.py", line 974, in send_error
self.write_error(status_code, **kwargs)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 441, in write_error
html = self.render_template('error.html', **ns)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 392, in render_template
template = self.get_template(name)
File "/home/epinux/dev/jupyterhub/jupyterhub/handlers/base.py", line 388, in get_template
return self.settings['jinja2_env'].get_template(name)
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 812, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/python3/dist-packages/jinja2/environment.py", line 774, in _load_template
cache_key = self.loader.get_source(self, name)[1]
File "/usr/lib/python3/dist-packages/jinja2/loaders.py", line 187, in get_source
raise TemplateNotFound(template)
jinja2.exceptions.TemplateNotFound: error.html
[E 2016-04-18 17:19:35.793 JupyterHub log:99] {
"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36",
"X-Forwarded-Port": "8888",
"X-Forwarded-For": "50.187.182.220",
"Host": "epinux.com:8888",
"Accept-Encoding": "gzip, deflate, sdch",
"Upgrade-Insecure-Requests": "1",
"X-Forwarded-Proto": "http",
"Connection": "close",
"Accept-Language": "en-US,en;q=0.8,es;q=0.6,is;q=0.4,it;q=0.2,nb;q=0.2",
"Cookie": "wgrass_login=epi; wgrass_location=deleted; wgrass_mapset=deleted",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Cache-Control": "max-age=0"
}
[E 2016-04-18 17:19:35.793 JupyterHub log:100] 500 GET /hub/login (@50.187.182.220) 3.29ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment