with following ansible playbook (assuming that docker is already installed on a vm)
(venv) vm3-rskolasinski:test_hub> docker logs e1b0998087d3
[W 2016-03-03 19:37:43.158 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:37:43.161 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:37:43.164 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 19:37:43.179 RafalSkolasinski notebookapp:505] Writing notebook server cookie secret to /home/jovyan/.local/share/jupyter/runtime/notebook_cookie_secret
[I 2016-03-03 19:37:43.370 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 19:37:43.370 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 19:37:43.370 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 19:37:43.370 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 19:37:43.393 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 1.12ms
[I 2016-03-03 19:37:43.422 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (127.0.0.1) 0.59ms
[E 2016-03-03 19:37:44.435 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'X-Forwarded-Proto': 'http', 'Upgrade-Insecure-Requests': '1', 'Connection': 'close', 'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457033863|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|cce098474f52012451198478913de68e1adc8f1b083953530cbda25470c98516"', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36', 'Accept-Encoding': 'gzip, deflate, sdch', 'X-Forwarded-Port': '8000', 'Referer': 'http://localhost:8000/hub/home', 'Host': 'localhost:8000', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6', 'X-Forwarded-For': '127.0.0.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f632c4d4828>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457033863%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7Ccce098474f52012451198478913de68e1adc8f1b083953530cbda25470c98516 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f632c4d4828>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457033863%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7Ccce098474f52012451198478913de68e1adc8f1b083953530cbda25470c98516 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f632c4d4828>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 19:37:44.478 RafalSkolasinski log:46] {
"X-Forwarded-Proto": "http",
"Upgrade-Insecure-Requests": "1",
"Connection": "close",
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457033863|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|cce098474f52012451198478913de68e1adc8f1b083953530cbda25470c98516\"",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36",
"Accept-Encoding": "gzip, deflate, sdch",
"X-Forwarded-Port": "8000",
"Referer": "http://localhost:8000/hub/home",
"Host": "localhost:8000",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6",
"X-Forwarded-For": "127.0.0.1",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
}
[E 2016-03-03 19:37:44.478 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1047.74ms referer=http://localhost:8000/hub/home
[C 2016-03-03 19:38:13.838 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 19:38:13.839 RafalSkolasinski notebookapp:1034] Shutting down kernels
[W 2016-03-03 19:42:40.984 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:42:40.987 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:42:40.991 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 19:42:41.352 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 19:42:41.353 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 19:42:41.353 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 19:42:41.353 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 19:42:41.378 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 1.91ms
[E 2016-03-03 19:42:42.423 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Cache-Control': 'max-age=0', 'Referer': 'http://localhost:8000/hub/home', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Connection': 'close', 'X-Forwarded-For': '127.0.0.1', 'Accept-Encoding': 'gzip, deflate, sdch', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36', 'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457034161|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|078d6148cc9a34bdf04c94fe8f70f8bbf8eb896a6f3c63c3fa80387496c938d6"', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6', 'Host': 'localhost:8000', 'X-Forwarded-Port': '8000', 'X-Forwarded-Proto': 'http'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7fba2c3e7390>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034161%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C078d6148cc9a34bdf04c94fe8f70f8bbf8eb896a6f3c63c3fa80387496c938d6 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fba2c3e7390>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034161%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C078d6148cc9a34bdf04c94fe8f70f8bbf8eb896a6f3c63c3fa80387496c938d6 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fba2c3e7390>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 19:42:42.584 RafalSkolasinski log:46] {
"Cache-Control": "max-age=0",
"Referer": "http://localhost:8000/hub/home",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Connection": "close",
"X-Forwarded-For": "127.0.0.1",
"Accept-Encoding": "gzip, deflate, sdch",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36",
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457034161|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|078d6148cc9a34bdf04c94fe8f70f8bbf8eb896a6f3c63c3fa80387496c938d6\"",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6",
"Host": "localhost:8000",
"X-Forwarded-Port": "8000",
"X-Forwarded-Proto": "http"
}
[E 2016-03-03 19:42:42.584 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1169.53ms referer=http://localhost:8000/hub/home
[C 2016-03-03 19:42:52.862 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 19:42:52.864 RafalSkolasinski notebookapp:1034] Shutting down kernels
[W 2016-03-03 19:42:55.626 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:42:55.629 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:42:55.633 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 19:42:55.739 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 19:42:55.740 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 19:42:55.740 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 19:42:55.740 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 19:42:55.746 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 0.97ms
[I 2016-03-03 19:42:55.799 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski/ (127.0.0.1) 1.05ms
[E 2016-03-03 19:42:56.820 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Accept-Encoding': 'gzip, deflate, sdch', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'X-Forwarded-For': '127.0.0.1', 'Referer': 'http://localhost:8000/hub/home', 'X-Forwarded-Proto': 'http', 'Connection': 'close', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6', 'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457034175|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|98b403070f5eec17bf5bef5d9a9d91d157a05e3648ed77dc678dcfb1744a8d03"', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36', 'X-Forwarded-Port': '8000', 'Host': 'localhost:8000'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f61297c5390>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034175%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C98b403070f5eec17bf5bef5d9a9d91d157a05e3648ed77dc678dcfb1744a8d03 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f61297c5390>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034175%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C98b403070f5eec17bf5bef5d9a9d91d157a05e3648ed77dc678dcfb1744a8d03 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f61297c5390>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 19:42:56.890 RafalSkolasinski log:46] {
"Accept-Encoding": "gzip, deflate, sdch",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"X-Forwarded-For": "127.0.0.1",
"Referer": "http://localhost:8000/hub/home",
"X-Forwarded-Proto": "http",
"Connection": "close",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6",
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457034175|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|98b403070f5eec17bf5bef5d9a9d91d157a05e3648ed77dc678dcfb1744a8d03\"",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36",
"X-Forwarded-Port": "8000",
"Host": "localhost:8000"
}
[E 2016-03-03 19:42:56.890 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1078.22ms referer=http://localhost:8000/hub/home
[C 2016-03-03 19:43:07.740 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 19:43:07.741 RafalSkolasinski notebookapp:1034] Shutting down kernels
[W 2016-03-03 19:43:10.375 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:43:10.378 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 19:43:10.382 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 19:43:10.625 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 19:43:10.625 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 19:43:10.625 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 19:43:10.625 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 19:43:10.649 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 1.39ms
[I 2016-03-03 19:43:10.715 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski/ (127.0.0.1) 0.49ms
[E 2016-03-03 19:43:11.731 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Connection': 'close', 'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457034190|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|35a4555c30c9ac14021d6dd28b4c10540fd6a8ad6e3dc87392d73c8792aba89a"', 'X-Forwarded-Proto': 'http', 'X-Forwarded-For': '127.0.0.1', 'Accept-Encoding': 'gzip, deflate, sdch', 'Upgrade-Insecure-Requests': '1', 'Referer': 'http://localhost:8000/hub/home', 'X-Forwarded-Port': '8000', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6', 'Host': 'localhost:8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f68bb96a2e8>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034190%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C35a4555c30c9ac14021d6dd28b4c10540fd6a8ad6e3dc87392d73c8792aba89a (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f68bb96a2e8>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457034190%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7C35a4555c30c9ac14021d6dd28b4c10540fd6a8ad6e3dc87392d73c8792aba89a (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f68bb96a2e8>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 19:43:11.777 RafalSkolasinski log:46] {
"Connection": "close",
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457034190|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|35a4555c30c9ac14021d6dd28b4c10540fd6a8ad6e3dc87392d73c8792aba89a\"",
"X-Forwarded-Proto": "http",
"X-Forwarded-For": "127.0.0.1",
"Accept-Encoding": "gzip, deflate, sdch",
"Upgrade-Insecure-Requests": "1",
"Referer": "http://localhost:8000/hub/home",
"X-Forwarded-Port": "8000",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6",
"Host": "localhost:8000",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36"
}
[E 2016-03-03 19:43:11.777 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1051.37ms referer=http://localhost:8000/hub/home
[C 2016-03-03 19:43:16.557 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 19:43:16.558 RafalSkolasinski notebookapp:1034] Shutting down kernels
[W 2016-03-03 20:18:35.976 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 20:18:35.979 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 20:18:35.982 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 20:18:36.137 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 20:18:36.137 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 20:18:36.137 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 20:18:36.137 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 20:18:36.156 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 0.94ms
[I 2016-03-03 20:18:41.024 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (127.0.0.1) 0.56ms
[E 2016-03-03 20:18:42.034 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Accept-Encoding': 'gzip, deflate, sdch', 'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457036315|34:jupyter-hub-token-RafalSkolasinski|44:MDUxMmQ4ZTYyOGM4NDdkYWI0MmE0ZDZmYTMwODM0YjE=|65132865a336649bc49305c2f49ebd0a84812685a2981e9ad9fa0b9b8f2823c0"', 'Host': 'localhost:8000', 'X-Forwarded-For': '127.0.0.1', 'Cache-Control': 'max-age=0', 'Upgrade-Insecure-Requests': '1', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'X-Forwarded-Proto': 'http', 'X-Forwarded-Port': '8000', 'Connection': 'close'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7f29a5c512e8>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457036315%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3AMDUxMmQ4ZTYyOGM4NDdkYWI0MmE0ZDZmYTMwODM0YjE%3D%7C65132865a336649bc49305c2f49ebd0a84812685a2981e9ad9fa0b9b8f2823c0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f29a5c512e8>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457036315%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3AMDUxMmQ4ZTYyOGM4NDdkYWI0MmE0ZDZmYTMwODM0YjE%3D%7C65132865a336649bc49305c2f49ebd0a84812685a2981e9ad9fa0b9b8f2823c0 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f29a5c512e8>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 20:18:42.082 RafalSkolasinski log:46] {
"Accept-Encoding": "gzip, deflate, sdch",
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457036315|34:jupyter-hub-token-RafalSkolasinski|44:MDUxMmQ4ZTYyOGM4NDdkYWI0MmE0ZDZmYTMwODM0YjE=|65132865a336649bc49305c2f49ebd0a84812685a2981e9ad9fa0b9b8f2823c0\"",
"Host": "localhost:8000",
"X-Forwarded-For": "127.0.0.1",
"Cache-Control": "max-age=0",
"Upgrade-Insecure-Requests": "1",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"X-Forwarded-Proto": "http",
"X-Forwarded-Port": "8000",
"Connection": "close"
}
[E 2016-03-03 20:18:42.083 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1050.01ms referer=None
[C 2016-03-03 20:20:08.985 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 20:20:08.986 RafalSkolasinski notebookapp:1034] Shutting down kernels
[W 2016-03-03 23:32:14.256 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 23:32:14.259 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[W 2016-03-03 23:32:14.263 RafalSkolasinski configurable:159] Config option `open_browser` not recognized by `SingleUserNotebookApp`, do you mean : `browser`
[I 2016-03-03 23:32:14.363 RafalSkolasinski notebookapp:1079] Serving notebooks from local directory: /home/jovyan/work
[I 2016-03-03 23:32:14.363 RafalSkolasinski notebookapp:1079] 0 active kernels
[I 2016-03-03 23:32:14.363 RafalSkolasinski notebookapp:1079] The Jupyter Notebook is running at: http://0.0.0.0:8888/user/RafalSkolasinski/
[I 2016-03-03 23:32:14.363 RafalSkolasinski notebookapp:1080] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 2016-03-03 23:32:14.421 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (172.17.0.1) 1.09ms
[I 2016-03-03 23:32:14.452 RafalSkolasinski log:47] 302 GET /user/RafalSkolasinski (127.0.0.1) 0.57ms
[E 2016-03-03 23:32:15.466 RafalSkolasinski web:1524] Uncaught exception GET /user/RafalSkolasinski/tree (127.0.0.1)
HTTPServerRequest(protocol='http', host='localhost:8000', method='GET', uri='/user/RafalSkolasinski/tree', version='HTTP/1.1', remote_ip='127.0.0.1', headers={'Cookie': 'jupyter-hub-token-RafalSkolasinski="2|1:0|10:1457047934|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|dce6845eaebf0a4af4f920e43d5f1481aa55d2086548e0f835eb8718555e79d7"', 'X-Forwarded-Port': '8000', 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36', 'Accept-Encoding': 'gzip, deflate, sdch', 'Upgrade-Insecure-Requests': '1', 'Referer': 'http://localhost:8000/hub/home', 'Connection': 'close', 'X-Forwarded-Proto': 'http', 'X-Forwarded-For': '127.0.0.1', 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 'Host': 'localhost:8000', 'Accept-Language': 'en-GB,en;q=0.8,pl;q=0.6'})
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 137, in _new_conn
(self.host, self.port), self.timeout, **extra_kw)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 91, in create_connection
raise err
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/connection.py", line 81, in create_connection
sock.connect(sa)
OSError: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 559, in urlopen
body=body, headers=headers)
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 353, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/opt/conda/lib/python3.5/http/client.py", line 1083, in request
self._send_request(method, url, body, headers)
File "/opt/conda/lib/python3.5/http/client.py", line 1128, in _send_request
self.endheaders(body)
File "/opt/conda/lib/python3.5/http/client.py", line 1079, in endheaders
self._send_output(message_body)
File "/opt/conda/lib/python3.5/http/client.py", line 911, in _send_output
self.send(msg)
File "/opt/conda/lib/python3.5/http/client.py", line 854, in send
self.connect()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 162, in connect
conn = self._new_conn()
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connection.py", line 146, in _new_conn
self, "Failed to establish a new connection: %s" % e)
requests.packages.urllib3.exceptions.NewConnectionError: <requests.packages.urllib3.connection.HTTPConnection object at 0x7fe4bc96d390>: Failed to establish a new connection: [Errno 113] No route to host
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 376, in send
timeout=timeout
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/connectionpool.py", line 609, in urlopen
_stacktrace=sys.exc_info()[2])
File "/opt/conda/lib/python3.5/site-packages/requests/packages/urllib3/util/retry.py", line 273, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457047934%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7Cdce6845eaebf0a4af4f920e43d5f1481aa55d2086548e0f835eb8718555e79d7 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fe4bc96d390>: Failed to establish a new connection: [Errno 113] No route to host',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1443, in _execute
result = method(*self.path_args, **self.path_kwargs)
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 2787, in wrapper
if not self.current_user:
File "/opt/conda/lib/python3.5/site-packages/tornado/web.py", line 1095, in current_user
self._current_user = self.get_current_user()
File "/opt/conda/lib/python3.5/site-packages/notebook/base/handlers.py", line 82, in get_current_user
return self.login_handler.get_user(self)
File "/usr/local/bin/jupyterhub-singleuser", line 90, in get_user
auth_data = JupyterHubLoginHandler.verify_token(self, self.cookie_name, encrypted_cookie)
File "/usr/local/bin/jupyterhub-singleuser", line 59, in verify_token
headers = {'Authorization' : 'token %s' % hub_api_key},
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/opt/conda/lib/python3.5/site-packages/requests/adapters.py", line 437, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='10.0.2.15', port=8081): Max retries exceeded with url: /hub/api/authorizations/cookie/jupyter-hub-token-RafalSkolasinski/2%7C1%3A0%7C10%3A1457047934%7C34%3Ajupyter-hub-token-RafalSkolasinski%7C44%3ANzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA%3D%7Cdce6845eaebf0a4af4f920e43d5f1481aa55d2086548e0f835eb8718555e79d7 (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7fe4bc96d390>: Failed to establish a new connection: [Errno 113] No route to host',))
[E 2016-03-03 23:32:15.510 RafalSkolasinski log:46] {
"Cookie": "jupyter-hub-token-RafalSkolasinski=\"2|1:0|10:1457047934|34:jupyter-hub-token-RafalSkolasinski|44:NzNkYzJjMGZlNGI0NDZjZWE0MDE2NWYyZWQxMDk1YTA=|dce6845eaebf0a4af4f920e43d5f1481aa55d2086548e0f835eb8718555e79d7\"",
"X-Forwarded-Port": "8000",
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.97 Safari/537.36",
"Accept-Encoding": "gzip, deflate, sdch",
"Upgrade-Insecure-Requests": "1",
"Referer": "http://localhost:8000/hub/home",
"Connection": "close",
"X-Forwarded-Proto": "http",
"X-Forwarded-For": "127.0.0.1",
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
"Host": "localhost:8000",
"Accept-Language": "en-GB,en;q=0.8,pl;q=0.6"
}
[E 2016-03-03 23:32:15.510 RafalSkolasinski log:47] 500 GET /user/RafalSkolasinski/tree (127.0.0.1) 1050.15ms referer=http://localhost:8000/hub/home
[C 2016-03-03 23:32:34.990 RafalSkolasinski notebookapp:984] received signal 15, stopping
[I 2016-03-03 23:32:34.991 RafalSkolasinski notebookapp:1034] Shutting down kernels