Jupyter Timeout waiting for a response in Chrome

When i started

jupyter notebook

in the terminal, jupyter starts correctly, but any attempt to view the page on localhost: 8888 in chrome ends in a timeout. It works fine in Safari, but it looks like the laptop is receiving invalid request headers from chrome. Anyone have any suggestions to fix this problem?

The output from jupyter is:

[I 17:32:43.538 NotebookApp] [nb_conda_kernels] enabled, 3 kernels found
[I 17:32:43.799 NotebookApp] ✓ nbpresent HTML export ENABLED
[W 17:32:43.799 NotebookApp] ✗ nbpresent PDF export DISABLED: No module named nbbrowserpdf.exporters.pdf
[I 17:32:43.802 NotebookApp] [nb_conda] enabled
[I 17:32:43.846 NotebookApp] [nb_anacondacloud] enabled
[I 17:32:43.852 NotebookApp] Serving notebooks from local directory: /Users/ianriley/Development/kaggle
[I 17:32:43.852 NotebookApp] 0 active kernels 
[I 17:32:43.852 NotebookApp] The Jupyter Notebook is running at: http://localhost:8888/
[I 17:32:43.852 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).

However, when I go to localhost: 8888 nothing appears and the connection eventually expires. Jupyter then displays the following message to the console:

[I 17:53:15.524 NotebookApp] Malformed HTTP message from ::1: Malformed HTTP headers: ''

, , jupyter notebook , , . , , jupyter 4.2.0 macbook pro, sierra, - chrome v 56.0.2924.87. . , , .

+4
1
0

Source: https://habr.com/ru/post/1671763/


All Articles