Skip to content

Instantly share code, notes, and snippets.

@zischwartz
Last active September 14, 2015 20:30
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 zischwartz/00fa4a0104e2a9919524 to your computer and use it in GitHub Desktop.
Save zischwartz/00fa4a0104e2a9919524 to your computer and use it in GitHub Desktop.
Notebook websocket error
[I 20:29:05.985 NotebookApp] Writing notebook server cookie secret to /root/.ipython/profile_default/security/notebook_cookie_secret
[I 20:29:05.986 NotebookApp] Using MathJax from CDN: https://cdn.mathjax.org/mathjax/latest/MathJax.js
[W 20:29:06.012 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using encryption. This is not recommended.
[W 20:29:06.013 NotebookApp] WARNING: The notebook server is listening on all IP addresses and not using authentication. This is highly insecure and not recommended.
[I 20:29:06.019 NotebookApp] Serving notebooks from local directory: /notebooks
[I 20:29:06.019 NotebookApp] 0 active kernels
[I 20:29:06.019 NotebookApp] The IPython Notebook is running at: http://[all ip addresses on your system]:8888/user/G7Dqldp5KZwe/
[I 20:29:06.019 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 20:29:06.480 NotebookApp] 302 GET /user/G7Dqldp5KZwe (172.17.42.1) 2.75ms
[I 20:29:16.628 NotebookApp] New terminal with automatic name: 1
[E 20:29:16.666 NotebookApp] Uncaught exception GET /user/G7Dqldp5KZwe/terminals/websocket/1 (172.17.42.1)
HTTPServerRequest(protocol='http', host='192.168.99.100:8000', method='GET', uri='/user/G7Dqldp5KZwe/terminals/websocket/1', version='HTTP/1.1', remote_ip='172.17.42.1', headers={'Connection': 'Upgrade', 'Cache-Control': 'no-cache', 'Sec-Websocket-Extensions': 'permessage-deflate; client_max_window_bits', 'X-Forwarded-Port': '8000', 'Cookie': '_ga=GA1.1.1035836965.1441995168', 'Origin': 'https://0.0.0.0:8080', 'Pragma': 'no-cache', 'X-Forwarded-Proto': 'wss', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36', 'Sec-Websocket-Key': 'd2bCIpT9Z0YaXZyzykAiZQ==', 'Host': '192.168.99.100:8000', 'Accept-Encoding': 'gzip, deflate, sdch', 'Sec-Websocket-Version': '13', 'X-Forwarded-For': '::ffff:192.168.99.1', 'Accept-Language': 'en-US,en;q=0.8', 'Upgrade': 'websocket'})
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "<string>", line 3, in raise_exc_info
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/websocket.py", line 181, in get
self.finish(log_msg)
File "/usr/local/lib/python3.4/dist-packages/tornado/websocket.py", line 389, in _disallow_for_websocket
method(self, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 936, in finish
self._log()
TypeError: 'Logger' object is not callable
[E 20:29:16.669 NotebookApp] Cannot send error response after headers written
[E 20:29:16.670 NotebookApp] Failed to flush partial response
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1369, in _stack_context_handle_exception
raise_exc_info((type, value, traceback))
File "<string>", line 3, in raise_exc_info
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 1572, in wrapper
result = method(self, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/websocket.py", line 181, in get
self.finish(log_msg)
File "/usr/local/lib/python3.4/dist-packages/tornado/websocket.py", line 389, in _disallow_for_websocket
method(self, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 936, in finish
self._log()
TypeError: 'Logger' object is not callable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 962, in send_error
self.finish()
File "/usr/local/lib/python3.4/dist-packages/tornado/websocket.py", line 389, in _disallow_for_websocket
method(self, *args, **kwargs)
File "/usr/local/lib/python3.4/dist-packages/tornado/web.py", line 936, in finish
self._log()
TypeError: 'Logger' object is not callable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment