jupyter / notebook

Jupyter Interactive Notebook
https://jupyter-notebook.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
11.62k stars 4.88k forks source link

Kernel Dying #2386

Open dbl001 opened 7 years ago

dbl001 commented 7 years ago

I configured Jupyter to run from my AWS Unbuntu instance. I am able to connect to Jupyter from Safari on my Mac, however, my Python 2.7 instance are dying (even after restarting the kernel).

ubuntu@ip-10-0-1-15:~$ python --version
Python 2.7.11 :: Anaconda custom (64-bit)

ubuntu@ip-10-0-1-15:~$ jupyter --version
4.1.0

screen shot 2017-04-07 at 10 57 39 am screen shot 2017-04-07 at 11 02 21 am

Start Jupyter notebook:

ubuntu@ip-10-0-1-15:~$ jupyter notebook
[W 17:56:42.660 NotebookApp] Unrecognized JSON config file version, assuming version 1
[I 17:56:42.862 NotebookApp] JupyterLab alpha preview extension loaded from /home/ubuntu/anaconda/lib/python2.7/site-packages/jupyterlab
[I 17:56:42.868 NotebookApp] Serving notebooks from local directory: /home/ubuntu
[I 17:56:42.868 NotebookApp] 0 active kernels 
[I 17:56:42.869 NotebookApp] The Jupyter Notebook is running at: https://[all ip addresses on your system]:8888/
[I 17:56:42.869 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[W 17:57:19.257 NotebookApp] /home/ubuntu/media doesn't exist
[W 17:57:21.316 NotebookApp] /home/ubuntu/media doesn't exist
[I 17:57:29.037 NotebookApp] Creating new notebook in 
[I 17:57:30.515 NotebookApp] Kernel started: a505f1d5-5753-454c-9f21-0365654f686d
[I 17:59:30.704 NotebookApp] Saving file at /Untitled3.ipynb
[I 18:01:57.589 NotebookApp] Kernel restarted: a505f1d5-5753-454c-9f21-0365654f686d

Processes running:

ubuntu@ip-10-0-1-15:~$ ps -ef | grep python
ubuntu    3921  2952  0 17:08 pts/4    00:00:01 /home/ubuntu/anaconda/bin/pytho /home/ubuntu/anaconda/bin/jupyter-notebook
ubuntu    5623  3921  0 17:10 ?        00:00:00 /home/ubuntu/anaconda/bin/pytho -m ipykernel -f /run/user/1000/jupyter/kernel-920cbd71-ac3a-4f17-bda1-4dec9571b2be.json
ubuntu   27823  3921  0 17:53 ?        00:00:00 /home/ubuntu/anaconda/bin/pytho -m ipykernel -f /run/user/1000/jupyter/kernel-87d4bcea-dcec-4b5b-ba5a-cda3a466670f.json
ubuntu   28553 28497  0 17:55 pts/5    00:00:00 grep --color=auto python
ubuntu@ip-10-0-1-15:~$ ps -ef | grep python
ubuntu   28737  2952  0 17:56 pts/4    00:00:01 /home/ubuntu/anaconda/bin/pytho /home/ubuntu/anaconda/bin/jupyter-notebook
ubuntu   30120 28737  0 18:01 ?        00:00:00 /home/ubuntu/anaconda/bin/pytho -m ipykernel -f /run/user/1000/jupyter/kernel-a505f1d5-5753-454c-9f21-0365654f686d.json
ubuntu@ip-10-0-1-15:~$ jupyter notebook --debug
[D 18:53:34.361 NotebookApp] Searching [u'/home/ubuntu', '/home/ubuntu/.jupyter', '/home/ubuntu/anaconda/etc/jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 18:53:34.361 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 18:53:34.362 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 18:53:34.362 NotebookApp] Looking for jupyter_config in /home/ubuntu/anaconda/etc/jupyter
[D 18:53:34.362 NotebookApp] Looking for jupyter_config in /home/ubuntu/.jupyter
[D 18:53:34.362 NotebookApp] Looking for jupyter_config in /home/ubuntu
[D 18:53:34.363 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 18:53:34.363 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 18:53:34.363 NotebookApp] Looking for jupyter_notebook_config in /home/ubuntu/anaconda/etc/jupyter
[W 18:53:34.363 NotebookApp] Unrecognized JSON config file version, assuming version 1
[D 18:53:34.363 NotebookApp] Loaded config file: /home/ubuntu/anaconda/etc/jupyter/jupyter_notebook_config.json
[D 18:53:34.364 NotebookApp] Looking for jupyter_notebook_config in /home/ubuntu/.jupyter
[D 18:53:34.365 NotebookApp] Loaded config file: /home/ubuntu/.jupyter/jupyter_notebook_config.py
[D 18:53:34.367 NotebookApp] Looking for jupyter_notebook_config in /home/ubuntu
[I 18:53:34.560 NotebookApp] JupyterLab alpha preview extension loaded from /home/ubuntu/anaconda/lib/python2.7/site-packages/jupyterlab
[I 18:53:34.566 NotebookApp] Serving notebooks from local directory: /home/ubuntu
[I 18:53:34.566 NotebookApp] 0 active kernels 
[I 18:53:34.566 NotebookApp] The Jupyter Notebook is running at: https://[all ip addresses on your system]:8888/
[I 18:53:34.566 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[D 18:53:57.888 NotebookApp] 200 GET /api/sessions?_=1491587841443 (75.140.157.194) 1.57ms
[W 18:53:57.958 NotebookApp] /home/ubuntu/media doesn't exist
[D 18:53:57.969 NotebookApp] 200 GET /api/contents?type=directory&_=1491587841445 (75.140.157.194) 25.17ms
[D 18:53:58.001 NotebookApp] 200 GET /api/terminals?_=1491587841444 (75.140.157.194) 0.58ms
[D 18:53:59.696 NotebookApp] Using contents: services/contents
[D 18:53:59.710 NotebookApp] Path tree/js/main.min.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/tree/js/main.min.js
[D 18:53:59.713 NotebookApp] 200 GET /tree? (75.140.157.194) 17.81ms
[D 18:53:59.779 NotebookApp] 304 GET /api/terminals?_=1491587841439 (75.140.157.194) 0.92ms
[W 18:53:59.818 NotebookApp] /home/ubuntu/media doesn't exist
[D 18:53:59.829 NotebookApp] 200 GET /api/contents?type=directory&_=1491587841442 (75.140.157.194) 24.09ms
[D 18:53:59.831 NotebookApp] 304 GET /api/sessions?_=1491587841440 (75.140.157.194) 0.66ms
[D 18:53:59.887 NotebookApp] 304 GET /static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=9b2c8d3489227115310662a343fce11c (75.140.157.194) 0.66ms
[D 18:53:59.889 NotebookApp] Path custom.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/custom/custom.js
[D 18:53:59.889 NotebookApp] 304 GET /custom/custom.js?v=20170407175642 (75.140.157.194) 0.82ms
[D 18:53:59.902 NotebookApp] 304 GET /static/style/style.min.css?v=974839a888beb55bbba87883fafd90fa (75.140.157.194) 0.55ms
[D 18:53:59.909 NotebookApp] 304 GET /api/config/tree?_=1491587841437 (75.140.157.194) 2.79ms
[D 18:53:59.913 NotebookApp] 304 GET /api/terminals?_=1491587841441 (75.140.157.194) 0.55ms
[D 18:53:59.924 NotebookApp] 304 GET /api/config/common?_=1491587841438 (75.140.157.194) 2.08ms
[D 18:53:59.927 NotebookApp] 304 GET /static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=7afb461de36accb1aa133a1710f5bc56 (75.140.157.194) 0.56ms
[D 18:53:59.963 NotebookApp] Path custom.css served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/custom/custom.css
[D 18:53:59.964 NotebookApp] 304 GET /custom/custom.css (75.140.157.194) 0.75ms
[D 18:53:59.964 NotebookApp] 304 GET /static/components/requirejs/require.js?v=6da8be361b9ee26c5e721e76c6d4afce (75.140.157.194) 0.55ms
[D 18:53:59.968 NotebookApp] 304 GET /static/tree/js/main.min.js?v=320479929860ce657c3a4449582c3b84 (75.140.157.194) 0.54ms
[D 18:53:59.969 NotebookApp] 304 GET /static/components/es6-promise/promise.min.js?v=f004a16cb856e0ff11781d01ec5ca8fe (75.140.157.194) 0.55ms
[D 18:53:59.974 NotebookApp] 304 GET /static/base/images/logo.png?v=641991992878ee24c6f3826e81054a0f (75.140.157.194) 0.55ms
[D 18:54:00.124 NotebookApp] Path services/contents.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/services/contents.js
[D 18:54:00.125 NotebookApp] 200 GET /static/services/contents.js?v=20170407185334 (75.140.157.194) 0.86ms
[D 18:54:00.132 NotebookApp] 200 GET /custom/custom.js?v=20170407185334 (75.140.157.194) 0.69ms
[D 18:54:00.210 NotebookApp] 200 GET /api/terminals?_=1491591240541 (75.140.157.194) 0.55ms
[D 18:54:00.213 NotebookApp] 200 GET /api/config/common?_=1491591240540 (75.140.157.194) 2.05ms
[D 18:54:00.215 NotebookApp] 200 GET /api/sessions?_=1491591240542 (75.140.157.194) 0.62ms
[D 18:54:00.217 NotebookApp] 200 GET /api/config/tree?_=1491591240539 (75.140.157.194) 2.03ms
[D 18:54:00.219 NotebookApp] 200 GET /api/terminals?_=1491591240543 (75.140.157.194) 0.59ms
[D 18:54:00.248 NotebookApp] Path components/font-awesome/fonts/fontawesome-webfont.woff served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/font-awesome/fonts/fontawesome-webfont.woff
[D 18:54:00.248 NotebookApp] 304 GET /static/components/font-awesome/fonts/fontawesome-webfont.woff?v=4.2.0 (75.140.157.194) 0.76ms
[D 18:54:00.250 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:00.250 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:00.250 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:00.251 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:00.252 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:00.252 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:00.253 NotebookApp] 304 GET /api/kernelspecs (75.140.157.194) 4.23ms
[W 18:54:00.286 NotebookApp] /home/ubuntu/media doesn't exist
[D 18:54:00.298 NotebookApp] 200 GET /api/contents?type=directory&_=1491591240544 (75.140.157.194) 23.63ms
[I 18:54:03.776 NotebookApp] Creating new notebook in 
[D 18:54:03.778 NotebookApp] Saving /home/ubuntu/Untitled4.ipynb
[D 18:54:03.794 NotebookApp] 201 POST /api/contents (75.140.157.194) 19.05ms
[D 18:54:03.939 NotebookApp] Using contents: services/contents
[D 18:54:03.966 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css
[D 18:54:03.967 NotebookApp] Path components/codemirror/lib/codemirror.css served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/codemirror/lib/codemirror.css
[D 18:54:03.967 NotebookApp] Path notebook/css/override.css served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/notebook/css/override.css
[D 18:54:03.967 NotebookApp] Path components/text-encoding/lib/encoding.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/text-encoding/lib/encoding.js
[D 18:54:03.968 NotebookApp] Path notebook/js/main.min.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/notebook/js/main.min.js
[D 18:54:03.972 NotebookApp] 200 GET /notebooks/Untitled4.ipynb?kernel_name=python2 (75.140.157.194) 33.64ms
[D 18:54:04.142 NotebookApp] Path components/MathJax/MathJax.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/MathJax/MathJax.js
[D 18:54:04.143 NotebookApp] 304 GET /static/components/MathJax/MathJax.js?config=TeX-AMS_HTML-full,Safe&delayStartupUntil=configured (75.140.157.194) 0.87ms
[D 18:54:04.147 NotebookApp] 304 GET /custom/custom.css (75.140.157.194) 0.57ms
[D 18:54:04.207 NotebookApp] Path components/MathJax/config/TeX-AMS_HTML-full.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/MathJax/config/TeX-AMS_HTML-full.js
[D 18:54:04.208 NotebookApp] 304 GET /static/components/MathJax/config/TeX-AMS_HTML-full.js?rev=2.6.0 (75.140.157.194) 0.70ms
[D 18:54:04.422 NotebookApp] 304 GET /custom/custom.js?v=20170407185334 (75.140.157.194) 0.68ms
[D 18:54:04.436 NotebookApp] Path components/MathJax/config/Safe.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/MathJax/config/Safe.js
[D 18:54:04.436 NotebookApp] 304 GET /static/components/MathJax/config/Safe.js?rev=2.6.0 (75.140.157.194) 0.69ms
[D 18:54:04.483 NotebookApp] 200 GET /api/config/common?_=1491591244746 (75.140.157.194) 2.28ms
[D 18:54:04.488 NotebookApp] 200 GET /api/config/notebook?_=1491591244745 (75.140.157.194) 2.06ms
[D 18:54:04.523 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:04.523 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:04.523 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:04.523 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:04.524 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:04.524 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:04.525 NotebookApp] 304 GET /api/kernelspecs (75.140.157.194) 2.63ms
[D 18:54:04.591 NotebookApp] 200 GET /api/contents/Untitled4.ipynb?type=notebook&_=1491591244747 (75.140.157.194) 54.74ms
[D 18:54:04.712 NotebookApp] 200 GET /api/contents/Untitled4.ipynb/checkpoints?_=1491591244748 (75.140.157.194) 0.75ms
[D 18:54:04.761 NotebookApp] Found kernel scala211 in /home/ubuntu/.local/share/jupyter/kernels
[D 18:54:04.761 NotebookApp] Native kernel (python2) available from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipykernel/resources
[D 18:54:04.762 NotebookApp] Starting kernel: ['/home/ubuntu/anaconda/bin/python', '-m', 'ipykernel', '-f', u'/run/user/1000/jupyter/kernel-862a9a4c-3ee5-4958-87c1-e7464b4acc3d.json']
[D 18:54:04.767 NotebookApp] Connecting to: tcp://127.0.0.1:51686
[I 18:54:04.768 NotebookApp] Kernel started: 862a9a4c-3ee5-4958-87c1-e7464b4acc3d
[D 18:54:04.768 NotebookApp] Kernel args: {'kernel_name': u'python2', 'cwd': u'/home/ubuntu'}
[D 18:54:04.769 NotebookApp] 201 POST /api/sessions (75.140.157.194) 21.73ms
[D 18:54:04.817 NotebookApp] Path notebook/js/extension.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/notebook/js/extension.js
[D 18:54:04.818 NotebookApp] 200 GET /nbextensions/widgets/notebook/js/extension.js?v=20170407185334 (75.140.157.194) 1.25ms
[D 18:54:04.866 NotebookApp] Path components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js
[D 18:54:04.867 NotebookApp] 304 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?rev=2.6.0 (75.140.157.194) 1.72ms
[D 18:54:04.870 NotebookApp] Path components/MathJax/extensions/Safe.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/MathJax/extensions/Safe.js
[D 18:54:04.871 NotebookApp] 304 GET /static/components/MathJax/extensions/Safe.js?rev=2.6.0 (75.140.157.194) 1.28ms
[D 18:54:04.888 NotebookApp] Path widgets/js/init.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/init.js
[D 18:54:04.890 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/init.js?v=20170407185334 (75.140.157.194) 2.06ms
[D 18:54:04.893 NotebookApp] Path notebook/js/widgetarea.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/notebook/js/widgetarea.js
[D 18:54:04.894 NotebookApp] 200 GET /nbextensions/widgets/notebook/js/widgetarea.js?v=20170407185334 (75.140.157.194) 1.60ms
[D 18:54:05.020 NotebookApp] Path widgets/js/manager.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/manager.js
[D 18:54:05.021 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/manager.js?v=20170407185334 (75.140.157.194) 1.49ms
[D 18:54:05.038 NotebookApp] Path widgets/js/widget.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget.js
[D 18:54:05.039 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget.js?v=20170407185334 (75.140.157.194) 1.13ms
[D 18:54:05.039 NotebookApp] Path widgets/js/widget_link.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_link.js
[D 18:54:05.040 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_link.js?v=20170407185334 (75.140.157.194) 0.96ms
[D 18:54:05.045 NotebookApp] Path widgets/js/widget_box.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_box.js
[D 18:54:05.045 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_box.js?v=20170407185334 (75.140.157.194) 0.99ms
[D 18:54:05.049 NotebookApp] Path widgets/js/widget_bool.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_bool.js
[D 18:54:05.050 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_bool.js?v=20170407185334 (75.140.157.194) 1.01ms
[D 18:54:05.051 NotebookApp] Path widgets/js/widget_button.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_button.js
[D 18:54:05.051 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_button.js?v=20170407185334 (75.140.157.194) 0.93ms
[D 18:54:05.080 NotebookApp] Path widgets/js/widget_float.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_float.js
[D 18:54:05.080 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_float.js?v=20170407185334 (75.140.157.194) 0.98ms
[D 18:54:05.085 NotebookApp] Path widgets/js/widget_image.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_image.js
[D 18:54:05.085 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_image.js?v=20170407185334 (75.140.157.194) 0.91ms
[D 18:54:05.086 NotebookApp] Path widgets/js/widget_int.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_int.js
[D 18:54:05.087 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_int.js?v=20170407185334 (75.140.157.194) 1.07ms
[D 18:54:05.091 NotebookApp] Path widgets/js/widget_color.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_color.js
[D 18:54:05.091 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_color.js?v=20170407185334 (75.140.157.194) 1.01ms
[D 18:54:05.103 NotebookApp] Path widgets/js/widget_output.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_output.js
[D 18:54:05.104 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_output.js?v=20170407185334 (75.140.157.194) 0.92ms
[D 18:54:05.105 NotebookApp] Path widgets/js/widget_selection.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_selection.js
[D 18:54:05.106 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_selection.js?v=20170407185334 (75.140.157.194) 1.17ms
[D 18:54:05.118 NotebookApp] Path widgets/js/widget_selectioncontainer.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_selectioncontainer.js
[D 18:54:05.119 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_selectioncontainer.js?v=20170407185334 (75.140.157.194) 1.06ms
[D 18:54:05.123 NotebookApp] Path widgets/js/widget_string.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_string.js
[D 18:54:05.124 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_string.js?v=20170407185334 (75.140.157.194) 1.08ms
[D 18:54:05.135 NotebookApp] Path widgets/js/widget_controller.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/js/widget_controller.js
[D 18:54:05.136 NotebookApp] 200 GET /nbextensions/widgets/widgets/js/widget_controller.js?v=20170407185334 (75.140.157.194) 1.03ms
[D 18:54:05.148 NotebookApp] Path components/backbone/backbone-min.js served from /home/ubuntu/anaconda/lib/python2.7/site-packages/notebook/static/components/backbone/backbone-min.js
[D 18:54:05.149 NotebookApp] 200 GET /static/components/backbone/backbone-min.js?v=20170407185334 (75.140.157.194) 1.43ms
[D 18:54:05.201 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244749 (75.140.157.194) 0.92ms
[D 18:54:05.219 NotebookApp] Path widgets/css/widgets.min.css served from /home/ubuntu/anaconda/lib/python2.7/site-packages/ipywidgets/static/widgets/css/widgets.min.css
[D 18:54:05.219 NotebookApp] 304 GET /nbextensions/widgets/widgets/css/widgets.min.css (75.140.157.194) 0.90ms
[D 18:54:06.444 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244750 (75.140.157.194) 0.84ms
[D 18:54:08.646 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244751 (75.140.157.194) 0.91ms
[D 18:54:12.851 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244752 (75.140.157.194) 0.96ms
[D 18:54:21.062 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244753 (75.140.157.194) 0.94ms
[D 18:54:37.277 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244754 (75.140.157.194) 0.91ms
D 18:55:09.480 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244755 (75.140.157.194) 1.00ms
[D 18:56:04.946 NotebookApp] 200 GET /api/contents/Untitled4.ipynb?content=0&_=1491591244756 (75.140.157.194) 1.30ms
[I 18:56:05.067 NotebookApp] Saving file at /Untitled4.ipynb
[D 18:56:05.067 NotebookApp] Saving /home/ubuntu/Untitled4.ipynb
[D 18:56:05.079 NotebookApp] 200 PUT /api/contents/Untitled4.ipynb (75.140.157.194) 13.41ms
[D 18:56:13.701 NotebookApp] 200 GET /api/kernels/862a9a4c-3ee5-4958-87c1-e7464b4acc3d?_=1491591244757 (75.140.157.194) 1.06ms
takluyver commented 7 years ago

Is it actually telling you that the kernel died, or just failing to connect? If the kernels are dying without printing any error to the terminal, that usually means there's something wrong at the C level which is causing the process to crash. If it can't connect, that means there's a problem establishing the websocket connection, which might be caused by some layer between you and the server (e.g. a proxy).

dbl001 commented 7 years ago

I don’t see the kernel dying. In fact, the ps output shows the processes are still running. I adjusted the config file to change Jupyter to accept remote connections (e.g. Localhost ==> my EC2 elastic IP address.)
Perhaps there’s still something wrong in my configuration settings.

On Apr 11, 2017, at 3:14 AM, Thomas Kluyver notifications@github.com wrote:

Is it actually telling you that the kernel died, or just failing to connect? If the kernels are dying without printing any error to the terminal, that usually means there's something wrong at the C level which is causing the process to crash. If it can't connect, that means there's a problem establishing the websocket connection, which might be caused by some layer between you and the server (e.g. a proxy).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/2386#issuecomment-293213916, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i24ZELZuaYP3mktePBuZqI0H4zzfdks5ru1J3gaJpZM4M3Nqt.

dbl001 commented 7 years ago

Here’s my .jupyter/jupyter_notebook_config.py file:

On Apr 11, 2017, at 3:38 AM, David Laxer davidl@softintel.com wrote:

I don’t see the kernel dying. In fact, the ps output shows the processes are still running. I adjusted the config file to change Jupyter to accept remote connections (e.g. Localhost ==> my EC2 elastic IP address.)
Perhaps there’s still something wrong in my configuration settings.

On Apr 11, 2017, at 3:14 AM, Thomas Kluyver <notifications@github.com mailto:notifications@github.com> wrote:

Is it actually telling you that the kernel died, or just failing to connect? If the kernels are dying without printing any error to the terminal, that usually means there's something wrong at the C level which is causing the process to crash. If it can't connect, that means there's a problem establishing the websocket connection, which might be caused by some layer between you and the server (e.g. a proxy).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/2386#issuecomment-293213916, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i24ZELZuaYP3mktePBuZqI0H4zzfdks5ru1J3gaJpZM4M3Nqt.

abhinavkgp commented 7 years ago

I have faced similar issue couple of times in the past. In one case, it was happening since I was behind a corporate firewall. In another case, it got resolved by switching to another browser (A weird hack but it worked!)

dbl001 commented 7 years ago

What OS were you using?
Was OS/Jupyter hosted on AWS?

I was using the Safari browser on my Mac. to connect to Jupyter.

On May 29, 2017, at 6:42 AM, Abhinav Gupta notifications@github.com wrote:

I have faced similar issue couple of times in the past. In one case, it was happening since I was behind a corporate firewall. In another case, it got resolved by switching to another browser (A weird hack but it worked!)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/2386#issuecomment-304664103, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i2_05d2Ys9QZ9WavQzfYUh76hddS6ks5r-stSgaJpZM4M3Nqt.

abhinavkgp commented 7 years ago

I was using Windows 8.1 OS and it was hosted on AWS Server. For me, Chrome solved the problem.

dbl001 commented 7 years ago

Chrome couldn’t connect either.

On May 30, 2017, at 1:36 AM, Abhinav Gupta notifications@github.com wrote:

I was using Windows 8.1 OS and it was hosted on AWS Server. For me, Chrome solved the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/2386#issuecomment-304811696, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i26-VJjPM-Qop0KOXeKB6CUKoV4E6ks5r-9UHgaJpZM4M3Nqt.

dbl001 commented 7 years ago

I finally got it to work with Safari. :-)

On May 30, 2017, at 1:36 AM, Abhinav Gupta notifications@github.com wrote:

I was using Windows 8.1 OS and it was hosted on AWS Server. For me, Chrome solved the problem.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jupyter/notebook/issues/2386#issuecomment-304811696, or mute the thread https://github.com/notifications/unsubscribe-auth/AC9i26-VJjPM-Qop0KOXeKB6CUKoV4E6ks5r-9UHgaJpZM4M3Nqt.