When using Chrome and jupyter notebooks. Notebooks are stuck with a message "starting kernel, please wait...". I have tried many ways of stopping and starting the kernel to reconnect. Nothing seems to work. If I connect to the same using Firefox instead everything seems to work as expected. Setup information is below. Is there a know issue when using chrome or is there a configuration that I have neglected somewhere?
ubuntu 14.04 LTS (up to date packages)
python 3.4.3 (from official repos)
running from a virtual environment (pip list below)
chrome version: Version 50.0.2661.94 (64-bit)
pip list
$ pip list
backports-abc (0.4)
backports.shutil-get-terminal-size (1.0.0)
decorator (4.0.9)
entrypoints (0.2.1)
ipykernel (4.3.1)
ipython (4.2.0)
ipython-genutils (0.1.0)
ipywidgets (5.1.2)
Jinja2 (2.8)
jsonschema (2.5.1)
jupyter (1.0.0)
jupyter-client (4.2.2)
jupyter-console (4.1.1)
jupyter-core (4.1.0)
MarkupSafe (0.23)
mistune (0.7.2)
nbconvert (4.2.0)
nbformat (4.0.1)
notebook (4.2.0)
pexpect (4.0.1)
pickleshare (0.7.2)
pip (8.1.1)
ptyprocess (0.5.1)
Pygments (2.1.3)
pyzmq (15.2.0)
qtconsole (4.2.1)
setuptools (21.0.0)
simplegeneric (0.8.1)
terminado (0.6)
tornado (4.3)
traitlets (4.2.1)
wheel (0.29.0)
widgetsnbextension (1.2.1)
logging from jupyter
$ jupyter notebook --no-browser --debug
[D 11:49:11.365 NotebookApp] Searching ['/home/uande18', '/home/uande18/.jupyter', '/home/uande18/test-venv/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 11:49:11.365 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 11:49:11.365 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 11:49:11.365 NotebookApp] Looking for jupyter_config in /home/uande18/test-venv/etc/jupyter
[D 11:49:11.365 NotebookApp] Looking for jupyter_config in /home/uande18/.jupyter
[D 11:49:11.365 NotebookApp] Looking for jupyter_config in /home/uande18
[D 11:49:11.366 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 11:49:11.366 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 11:49:11.366 NotebookApp] Looking for jupyter_notebook_config in /home/uande18/test-venv/etc/jupyter
[D 11:49:11.366 NotebookApp] Looking for jupyter_notebook_config in /home/uande18/.jupyter
[D 11:49:11.366 NotebookApp] Looking for jupyter_notebook_config in /home/uande18
/home/uande18/test-venv/lib/python3.4/site-packages/widgetsnbextension/__init__.py:30: UserWarning: To use the jupyter-js-widgets nbextension, you'll need to update
the Jupyter notebook to version 4.2 or later.
the Jupyter notebook to version 4.2 or later.""")
[I 11:49:11.587 NotebookApp] The port 8888 is already in use, trying another port.
[I 11:49:11.591 NotebookApp] Serving notebooks from local directory: /home/uande18
[I 11:49:11.591 NotebookApp] 0 active kernels
[I 11:49:11.591 NotebookApp] The Jupyter Notebook is running at: http://localhost:8889/
[I 11:49:11.591 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[I 11:49:27.067 NotebookApp] 302 GET / (127.0.0.1) 0.84ms
[D 11:49:27.072 NotebookApp] Using contents: services/contents
[D 11:49:27.163 NotebookApp] 200 GET /tree (127.0.0.1) 92.91ms
[D 11:49:27.294 NotebookApp] 200 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=9b2c8d3489227115310662a343fce11c (127.0.0.1) 6.09ms
[D 11:49:27.295 NotebookApp] 200 GET /static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=7afb461de36accb1aa133a1710f5bc56 (127.0.0.1) 0.96ms
[D 11:49:27.297 NotebookApp] 200 GET /static/style/style.min.css?v=919d6b8e09904fa50d95875519dcb45b (127.0.0.1) 1.22ms
[D 11:49:27.299 NotebookApp] 200 GET /custom/custom.css (127.0.0.1) 1.44ms
[D 11:49:27.302 NotebookApp] 200 GET /static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce (127.0.0.1) 2.13ms
[D 11:49:27.306 NotebookApp] 200 GET /static/components/es6-promise/promise.min.js?v=f004a16cb856e0ff11781d01ec5ca8fe (127.0.0.1) 1.84ms
[D 11:49:27.309 NotebookApp] 200 GET /static/tree/js/main.min.js?v=c2999c99896625f3a3eb99dca9ac2ae8 (127.0.0.1) 2.11ms
[D 11:49:27.339 NotebookApp] 200 GET /static/base/images/logo.png?v=7c4597ba713d804995e8f8dad448a397 (127.0.0.1) 0.99ms
[D 11:49:27.649 NotebookApp] 200 GET /static/services/contents.js?v=20160502114911 (127.0.0.1) 1.06ms
[D 11:49:27.661 NotebookApp] 200 GET /custom/custom.js?v=20160502114911 (127.0.0.1) 1.10ms
[D 11:49:27.720 NotebookApp] 200 GET /static/base/images/favicon.ico?v=30780f272ab4aac64aa073a841546240 (127.0.0.1) 1.04ms
[D 11:49:27.747 NotebookApp] 200 GET /api/config/tree?_=1462211367417 (127.0.0.1) 3.78ms
[D 11:49:27.752 NotebookApp] 200 GET /api/config/common?_=1462211367418 (127.0.0.1) 3.84ms
[D 11:49:27.756 NotebookApp] 200 GET /api/terminals?_=1462211367419 (127.0.0.1) 0.83ms
[D 11:49:27.761 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:27.762 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:27.767 NotebookApp] 200 GET /api/kernelspecs (127.0.0.1) 8.01ms
[D 11:49:27.768 NotebookApp] 200 GET /static/components/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0 (127.0.0.1) 0.92ms
[D 11:49:27.769 NotebookApp] 200 GET /api/terminals?_=1462211367421 (127.0.0.1) 0.72ms
[D 11:49:27.771 NotebookApp] 200 GET /api/sessions?_=1462211367420 (127.0.0.1) 1.17ms
[W 11:49:27.839 NotebookApp] /home/uande18/.#.emacs-places doesn't exist
[D 11:49:27.843 NotebookApp] 200 GET /api/contents?type=directory&_=1462211367422 (127.0.0.1) 43.49ms
[I 11:49:39.224 NotebookApp] Creating new notebook in
[D 11:49:39.225 NotebookApp] Saving /home/uande18/Untitled.ipynb
[D 11:49:39.375 NotebookApp] 201 POST /api/contents (127.0.0.1) 151.90ms
[D 11:49:39.388 NotebookApp] Using contents: services/contents
[D 11:49:39.414 NotebookApp] 200 GET /notebooks/Untitled.ipynb?kernel_name=python3 (127.0.0.1) 27.08ms
[D 11:49:39.699 NotebookApp] 200 GET /static/components/MathJax/MathJax.js?config=TeX-AMS_HTML-full,Safe&delayStartupUntil=configured (127.0.0.1) 0.79ms
[D 11:49:39.700 NotebookApp] 200 GET /static/components/bootstrap-tour/build/css/bootstrap-tour.min.css?v=d0b3c2fce6056a2ddd5a4513762a94c4 (127.0.0.1) 0.99ms
[D 11:49:39.702 NotebookApp] 200 GET /static/notebook/css/override.css?v=e6f18013b8771987812e992b38ec3318 (127.0.0.1) 0.71ms
[D 11:49:39.704 NotebookApp] 200 GET /static/components/codemirror/lib/codemirror.css?v=2336fb49f85e9fa887ada9af35223dce (127.0.0.1) 1.21ms
[D 11:49:39.706 NotebookApp] 200 GET /static/components/text-encoding/lib/encoding.js?v=d5bb0fc9ffeff7d98a69bb83daa51052 (127.0.0.1) 1.11ms
[D 11:49:39.710 NotebookApp] 200 GET /static/notebook/js/main.min.js?v=1c2abb797e9945d6ce7d58ae051fe985 (127.0.0.1) 3.37ms
[D 11:49:39.712 NotebookApp] 304 GET /custom/custom.css (127.0.0.1) 0.88ms
[D 11:49:39.746 NotebookApp] 200 GET /static/components/MathJax/config/TeX-AMS_HTML-full.js?rev=2.6.0 (127.0.0.1) 1.32ms
[D 11:49:39.997 NotebookApp] 200 GET /static/components/MathJax/config/Safe.js?rev=2.6.0 (127.0.0.1) 0.73ms
[D 11:49:40.054 NotebookApp] 304 GET /custom/custom.js?v=20160502114911 (127.0.0.1) 0.88ms
[D 11:49:40.072 NotebookApp] 200 GET /api/config/notebook?_=1462211379861 (127.0.0.1) 2.85ms
[D 11:49:40.075 NotebookApp] 200 GET /api/config/common?_=1462211379862 (127.0.0.1) 2.70ms
[D 11:49:40.181 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:40.181 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:40.182 NotebookApp] 304 GET /api/kernelspecs (127.0.0.1) 1.28ms
[D 11:49:40.353 NotebookApp] 200 GET /api/contents/Untitled.ipynb?type=notebook&_=1462211379863 (127.0.0.1) 126.61ms
[D 11:49:40.354 NotebookApp] 200 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?rev=2.6.0 (127.0.0.1) 0.94ms
[D 11:49:40.386 NotebookApp] Using contents: services/contents
[W 11:49:40.391 NotebookApp] 404 GET /nbextensions/widgets/notebook/js/extension.js?v=20160502114911 (127.0.0.1) 5.80ms referer=http://localhost:8889/notebooks/Untitled.ipynb?kernel_name=python3
[D 11:49:40.440 NotebookApp] 200 GET /static/components/MathJax/extensions/Safe.js?rev=2.6.0 (127.0.0.1) 1.00ms
[D 11:49:40.526 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:40.528 NotebookApp] Starting kernel: ['/home/uande18/test-venv/bin/python', '-m', 'ipykernel', '-f', '/run/user/1000/jupyter/kernel-474221c9-acbf-439f-8ede-2c97a3ffa9ec.json']
[D 11:49:40.533 NotebookApp] Connecting to: tcp://127.0.0.1:42322
[I 11:49:40.534 NotebookApp] Kernel started: 474221c9-acbf-439f-8ede-2c97a3ffa9ec
[D 11:49:40.535 NotebookApp] Kernel args: {'cwd': '/home/uande18', 'kernel_name': 'python3'}
[D 11:49:40.537 NotebookApp] 201 POST /api/sessions (127.0.0.1) 32.43ms
[D 11:49:40.539 NotebookApp] Native kernel (python3) available from /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:40.540 NotebookApp] Serving kernel resource from: /home/uande18/test-venv/lib/python3.4/site-packages/ipykernel/resources
[D 11:49:40.541 NotebookApp] 200 GET /kernelspecs/python3/logo-64x64.png (127.0.0.1) 2.60ms
[D 11:49:40.542 NotebookApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?_=1462211379864 (127.0.0.1) 0.99ms
[D 11:49:40.612 NotebookApp] Initializing websocket connection /api/kernels/474221c9-acbf-439f-8ede-2c97a3ffa9ec/channels
[D 11:49:40.616 NotebookApp] Requesting kernel info from 474221c9-acbf-439f-8ede-2c97a3ffa9ec
[D 11:49:40.616 NotebookApp] Connecting to: tcp://127.0.0.1:45094
[D 11:49:41.041 NotebookApp] Received kernel info: {'banner': 'Python 3.4.3 (default, Oct 14 2015, 20:28:29) \nType "copyright", "credits" or "license" for more information.\n\nIPython 4.2.0 -- An enhanced Interactive Python.\n? -> Introduction and overview of IPython\'s features.\n%quickref -> Quick reference.\nhelp -> Python\'s own help system.\nobject? -> Details about \'object\', use \'object??\' for extra details.\n', 'protocol_version': '5.0', 'language_info': {'file_extension': '.py', 'mimetype': 'text/x-python', 'nbconvert_exporter': 'python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'name': 'python', 'pygments_lexer': 'ipython3', 'version': '3.4.3'}, 'implementation_version': '4.2.0', 'help_links': [{'text': 'Python', 'url': 'http://docs.python.org/3.4'}, {'text': 'IPython', 'url': 'http://ipython.org/documentation.html'}, {'text': 'NumPy', 'url': 'http://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy', 'url': 'http://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib', 'url': 'http://matplotlib.org/contents.html'}, {'text': 'SymPy', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas', 'url': 'http://pandas.pydata.org/pandas-docs/stable/'}], 'implementation': 'ipython'}
[D 11:49:41.041 NotebookApp] Opening websocket /api/kernels/474221c9-acbf-439f-8ede-2c97a3ffa9ec/channels
[D 11:49:41.042 NotebookApp] Connecting to: tcp://127.0.0.1:45094
[D 11:49:41.042 NotebookApp] Connecting to: tcp://127.0.0.1:38153
[D 11:49:41.042 NotebookApp] Connecting to: tcp://127.0.0.1:35064
^C[I 11:50:09.614 NotebookApp] interrupted
Serving notebooks from local directory: /home/uande18
1 active kernels
The Jupyter Notebook is running at: http://localhost:8889/
Shutdown this notebook server (y/[n])? y
[C 11:50:11.678 NotebookApp] Shutdown confirmed
[I 11:50:11.679 NotebookApp] Shutting down kernels
[I 11:50:12.181 NotebookApp] Kernel shutdown: 474221c9-acbf-439f-8ede-2c97a3ffa9ec
Yep, #1414 and #1415 just reported the same thing ;-). It appears to be a bug in uBlock. Disabling uBlock or updating it to 1.7.2 should resolve it.
Just to add some additional information. It isn't enough to disable uBlock for the URL and have it running for other URLs. The extension itself is causing the interference. When I run in "incognito" mode then it works as expected. Thanks for the help.
Most helpful comment
Just to add some additional information. It isn't enough to disable uBlock for the URL and have it running for other URLs. The extension itself is causing the interference. When I run in "incognito" mode then it works as expected. Thanks for the help.