(Kernel starting, please wait) slow startup issue in Jupyter Notebook (ipykernel)

Hello,

I am running a new Python Jupyter Notebook in a Pipenv virtual environment, but I am facing a delay in the kernel startup, mainly in Google Chrome. I tried other browsers, and some of them seem to have much faster startups.

The differences are as follows:

  • Google Chrome: 60003.410000ms - 60 seconds
  • Safari: 27536.560000ms - 27.53 seconds
  • Firefox: 1111.810000ms - 1.11 seconds
  • Arc Browser (Chromium based): 1003.290000ms - 1 second

The periods mentioned are from the second a new ipykernel is created until it is fully loaded.

I am mainly dependent on Google Chrome in my development, but as you see it takes almost a minute every time I try to start a new ipykernel.

Running Jupyter in incognito mode in Chrome seems to fix the issue. That made me believe that the issue is with one of the extensions that I installed, but after disabling all extensions, the same issue persists.

Below is the log for Google Chrome:

[D 15:27:27.451 NotebookApp] Searching ['/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter', '/Users/shuraify/.jupyter', '/usr/local/etc/jupyter', '/etc/jupyter'] for config files
[D 15:27:27.452 NotebookApp] Looking for jupyter_config in /etc/jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_config in /usr/local/etc/jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_config in /Users/shuraify/.jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_config in /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_notebook_config in /etc/jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_notebook_config in /usr/local/etc/jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_notebook_config in /Users/shuraify/.jupyter
[D 15:27:27.452 NotebookApp] Looking for jupyter_notebook_config in /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter
[D 15:27:27.452 NotebookApp] Raising open file limit: soft 256->4096; hard 9223372036854775807->9223372036854775807
[D 15:27:27.465 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/etc/jupyter/jupyter_notebook_config.json
[D 15:27:27.465 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/usr/local/etc/jupyter/jupyter_notebook_config.json
[D 15:27:27.465 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/Users/shuraify/.jupyter/jupyter_notebook_config.json
[D 15:27:27.465 NotebookApp] Paths used for configuration of jupyter_notebook_config: 
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/jupyter_notebook_config.json
[I 15:27:27.551 NotebookApp] Serving notebooks from local directory: /Users/shuraify/dev
[I 15:27:27.551 NotebookApp] Jupyter Notebook 6.5.3 is running at:
[I 15:27:27.551 NotebookApp] http://localhost:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
[I 15:27:27.551 NotebookApp]  or http://127.0.0.1:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
[I 15:27:27.551 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 15:27:27.553 NotebookApp] 
    
    To access the notebook, open this file in a browser:
        file:///Users/shuraify/Library/Jupyter/runtime/nbserver-6869-open.html
    Or copy and paste one of these URLs:
        http://localhost:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
     or http://127.0.0.1:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
[D 15:27:29.325 NotebookApp] Accepting token-authenticated connection from ::1
[D 15:27:29.327 NotebookApp] Using contents: services/contents
[D 15:27:29.364 NotebookApp] Path base/images/favicon.ico served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/base/images/favicon.ico
[D 15:27:29.364 NotebookApp] Path components/jquery-ui/dist/themes/smoothness/jquery-ui.min.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/jquery-ui/dist/themes/smoothness/jquery-ui.min.css
[D 15:27:29.364 NotebookApp] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 15:27:29.364 NotebookApp] Path style/style.min.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/style/style.min.css
[D 15:27:29.365 NotebookApp] Path components/es6-promise/promise.min.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/es6-promise/promise.min.js
[D 15:27:29.365 NotebookApp] Path components/react/react.production.min.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/react/react.production.min.js
[D 15:27:29.365 NotebookApp] Path components/react/react-dom.production.min.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/react/react-dom.production.min.js
[D 15:27:29.365 NotebookApp] Path components/create-react-class/index.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/create-react-class/index.js
[D 15:27:29.365 NotebookApp] Path components/requirejs/require.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/requirejs/require.js
[D 15:27:29.365 NotebookApp] Path base/images/logo.png served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/base/images/logo.png
[D 15:27:29.366 NotebookApp] Path tree/js/main.min.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/tree/js/main.min.js
[D 15:27:29.369 NotebookApp] 200 GET /tree?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305 (::1) 44.840000ms
[D 15:27:29.388 NotebookApp] Path custom.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/custom/custom.css
[D 15:27:29.388 NotebookApp] 304 GET /custom/custom.css (::1) 0.720000ms
[D 15:27:29.441 NotebookApp] Path services/contents.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/services/contents.js
[D 15:27:29.441 NotebookApp] 200 GET /static/services/contents.js?v=20230309152727 (::1) 1.260000ms
[D 15:27:29.449 NotebookApp] Path custom-preload.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/custom/custom-preload.js
[D 15:27:29.449 NotebookApp] 200 GET /custom/custom-preload.js?v=20230309152727 (::1) 0.880000ms
[D 15:27:29.474 NotebookApp] Paths used for configuration of tree: 
    	/etc/jupyter/nbconfig/tree.json
[D 15:27:29.474 NotebookApp] Paths used for configuration of tree: 
    	/usr/local/etc/jupyter/nbconfig/tree.json
[D 15:27:29.475 NotebookApp] Paths used for configuration of tree: 
    	/Users/shuraify/.jupyter/nbconfig/tree.json
[D 15:27:29.475 NotebookApp] Paths used for configuration of tree: 
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/nbconfig/tree.json
[D 15:27:29.475 NotebookApp] 200 GET /api/config/tree?_=1678364849429 (::1) 2.250000ms
[D 15:27:29.476 NotebookApp] Paths used for configuration of common: 
    	/etc/jupyter/nbconfig/common.json
[D 15:27:29.476 NotebookApp] Paths used for configuration of common: 
    	/usr/local/etc/jupyter/nbconfig/common.json
[D 15:27:29.476 NotebookApp] Paths used for configuration of common: 
    	/Users/shuraify/.jupyter/nbconfig/common.json
[D 15:27:29.476 NotebookApp] Paths used for configuration of common: 
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/nbconfig/common.json
[D 15:27:29.476 NotebookApp] 200 GET /api/config/common?_=1678364849430 (::1) 1.210000ms
[D 15:27:29.478 NotebookApp] 200 GET /api/terminals?_=1678364849431 (::1) 1.160000ms
[D 15:27:29.479 NotebookApp] Found kernel python3 in /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/share/jupyter/kernels
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[D 15:27:29.538 NotebookApp] 304 GET /api/kernelspecs (::1) 60.770000ms
[D 15:27:29.539 NotebookApp] 200 GET /api/sessions?_=1678364849432 (::1) 61.140000ms
[D 15:27:29.539 NotebookApp] 200 GET /api/terminals?_=1678364849433 (::1) 61.140000ms
[D 15:27:29.540 NotebookApp] Path custom.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/custom/custom.js
[D 15:27:29.540 NotebookApp] 200 GET /custom/custom.js?v=20230309152727 (::1) 0.450000ms
[D 15:27:29.543 NotebookApp] 200 GET /api/contents?type=directory&_=1678364849434 (::1) 1.020000ms
[I 15:27:32.814 NotebookApp] Creating new notebook in 
[D 15:27:32.846 NotebookApp] Saving /Users/shuraify/dev/Untitled.ipynb
[D 15:27:32.849 NotebookApp] 201 POST /api/contents (::1) 35.990000ms
[D 15:27:32.853 NotebookApp] Using contents: services/contents
[D 15:27:32.872 NotebookApp] Path base/images/favicon-notebook.ico served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/base/images/favicon-notebook.ico
[D 15:27:32.872 NotebookApp] Path components/bootstrap-tour/build/css/bootstrap-tour.min.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/bootstrap-tour/build/css/bootstrap-tour.min.css
[D 15:27:32.872 NotebookApp] Path components/codemirror/lib/codemirror.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/codemirror/lib/codemirror.css
[D 15:27:32.872 NotebookApp] Path notebook/css/override.css served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/notebook/css/override.css
[D 15:27:33.014 NotebookApp] Path components/text-encoding/lib/encoding.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/text-encoding/lib/encoding.js
[D 15:27:33.014 NotebookApp] Path notebook/js/main.min.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/notebook/js/main.min.js
[D 15:27:33.020 NotebookApp] 200 GET /notebooks/Untitled.ipynb?kernel_name=python3 (::1) 167.040000ms
[D 15:27:33.027 NotebookApp] Path components/MathJax/MathJax.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/MathJax.js
[D 15:27:33.027 NotebookApp] 304 GET /static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured (::1) 0.570000ms
[D 15:27:33.028 NotebookApp] 304 GET /custom/custom.css (::1) 0.330000ms
[D 15:27:33.055 NotebookApp] Path components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js
[D 15:27:33.058 NotebookApp] 304 GET /static/components/MathJax/config/TeX-AMS-MML_HTMLorMML-full.js?V=2.7.9 (::1) 3.500000ms
[D 15:27:33.059 NotebookApp] 200 GET /static/notebook/js/main.min.js?v=bac2262d97e0eab7b445494fe686be11796512a6902a434d05aa653112727106f1684f27b88c5d6f856ec07bf47f23b510f08badb65d627f757e61eca804345b (::1) 8.660000ms
[D 15:27:33.069 NotebookApp] Path components/MathJax/config/Safe.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/config/Safe.js
[D 15:27:33.069 NotebookApp] 304 GET /static/components/MathJax/config/Safe.js?V=2.7.9 (::1) 0.380000ms
[D 15:27:33.144 NotebookApp] 304 GET /custom/custom-preload.js?v=20230309152727 (::1) 0.530000ms
[D 15:27:33.146 NotebookApp] Paths used for configuration of notebook: 
    	/etc/jupyter/nbconfig/notebook.json
[D 15:27:33.146 NotebookApp] Paths used for configuration of notebook: 
    	/usr/local/etc/jupyter/nbconfig/notebook.json
[D 15:27:33.146 NotebookApp] Paths used for configuration of notebook: 
    	/Users/shuraify/.jupyter/nbconfig/notebook.json
[D 15:27:33.146 NotebookApp] Paths used for configuration of notebook: 
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/nbconfig/notebook.d/widgetsnbextension.json
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/nbconfig/notebook.json
[D 15:27:33.146 NotebookApp] 200 GET /api/config/notebook?_=1678364853089 (::1) 0.700000ms
[D 15:27:33.147 NotebookApp] Paths used for configuration of common: 
    	/etc/jupyter/nbconfig/common.json
[D 15:27:33.147 NotebookApp] Paths used for configuration of common: 
    	/usr/local/etc/jupyter/nbconfig/common.json
[D 15:27:33.147 NotebookApp] Paths used for configuration of common: 
    	/Users/shuraify/.jupyter/nbconfig/common.json
[D 15:27:33.147 NotebookApp] Paths used for configuration of common: 
    	/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/etc/jupyter/nbconfig/common.json
[D 15:27:33.147 NotebookApp] 200 GET /api/config/common?_=1678364853090 (::1) 0.460000ms
[D 15:27:33.152 NotebookApp] Path components/MathJax/extensions/TeX/newcommand.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/extensions/TeX/newcommand.js
[D 15:27:33.152 NotebookApp] 304 GET /static/components/MathJax/extensions/TeX/newcommand.js?V=2.7.9 (::1) 0.450000ms
[D 15:27:33.153 NotebookApp] Path components/MathJax/extensions/TeX/begingroup.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/extensions/TeX/begingroup.js
[D 15:27:33.153 NotebookApp] 304 GET /static/components/MathJax/extensions/TeX/begingroup.js?V=2.7.9 (::1) 0.340000ms
[D 15:27:33.153 NotebookApp] Path components/MathJax/extensions/MathML/content-mathml.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/extensions/MathML/content-mathml.js
[D 15:27:33.153 NotebookApp] 304 GET /static/components/MathJax/extensions/MathML/content-mathml.js?V=2.7.9 (::1) 0.310000ms
[D 15:27:33.162 NotebookApp] Found kernel python3 in /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/share/jupyter/kernels
[D 15:27:33.162 NotebookApp] 304 GET /api/kernelspecs (::1) 0.630000ms
[D 15:27:33.168 NotebookApp] 200 GET /api/contents/Untitled.ipynb?type=notebook&_=1678364853091 (::1) 1.030000ms
[D 15:27:33.169 NotebookApp] Path components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js
[D 15:27:33.169 NotebookApp] 304 GET /static/components/MathJax/jax/output/HTML-CSS/fonts/STIX-Web/fontdata.js?V=2.7.9 (::1) 0.290000ms
[D 15:27:33.175 NotebookApp] 304 GET /custom/custom.js?v=20230309152727 (::1) 0.290000ms
[D 15:27:33.195 NotebookApp] 200 GET /api/contents/Untitled.ipynb/checkpoints?_=1678364853092 (::1) 0.970000ms
[D 15:27:33.196 NotebookApp] Path jupyter-js-widgets/extension.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/share/jupyter/nbextensions/jupyter-js-widgets/extension.js
[D 15:27:33.198 NotebookApp] 200 GET /nbextensions/jupyter-js-widgets/extension.js?v=20230309152727 (::1) 1.820000ms
[D 15:27:33.199 NotebookApp] Path components/MathJax/extensions/Safe.js served from /Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/lib/python3.11/site-packages/nbclassic/static/components/MathJax/extensions/Safe.js
[D 15:27:33.199 NotebookApp] 304 GET /static/components/MathJax/extensions/Safe.js?V=2.7.9 (::1) 0.530000ms
[D 15:27:33.204 NotebookApp] Instantiating kernel 'Python 3 (ipykernel)' with kernel provisioner: local-provisioner
[D 15:27:33.214 NotebookApp] Starting kernel: ['/Users/shuraify/.local/share/virtualenvs/dev-JKeAb8hN/bin/python', '-m', 'ipykernel_launcher', '-f', '/Users/shuraify/Library/Jupyter/runtime/kernel-55187902-1d74-4111-abd6-c4af556c8b12.json']
[D 15:27:33.217 NotebookApp] Connecting to: tcp://127.0.0.1:52060
[D 15:27:33.230 NotebookApp] Connecting to: tcp://127.0.0.1:52057
[I 15:27:33.230 NotebookApp] Kernel started: 55187902-1d74-4111-abd6-c4af556c8b12, name: python3
[D 15:27:33.231 NotebookApp] Kernel args: {'kernel_name': 'python3', 'cwd': '/Users/shuraify/dev'}
[D 15:27:33.231 NotebookApp] 201 POST /api/sessions (::1) 31.870000ms
[D 15:27:33.257 NotebookApp] Initializing websocket connection /api/kernels/55187902-1d74-4111-abd6-c4af556c8b12/channels
[D 15:27:33.258 NotebookApp] Requesting kernel info from 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:27:33.258 NotebookApp] Connecting to: tcp://127.0.0.1:52056
0.00s - Debugger warning: It seems that frozen modules are being used, which may
0.00s - make the debugger miss breakpoints. Please pass -Xfrozen_modules=off
0.00s - to python to disable frozen modules.
0.00s - Note: Debugging will proceed. Set PYDEVD_DISABLE_FILE_VALIDATION=1 to disable this validation.
[D 15:27:33.564 NotebookApp] Received kernel info: {'status': 'ok', 'protocol_version': '5.3', 'implementation': 'ipython', 'implementation_version': '8.11.0', 'language_info': {'name': 'python', 'version': '3.11.2', 'mimetype': 'text/x-python', 'codemirror_mode': {'name': 'ipython', 'version': 3}, 'pygments_lexer': 'ipython3', 'nbconvert_exporter': 'python', 'file_extension': '.py'}, 'banner': "Python 3.11.2 (v3.11.2:878ead1ac1, Feb  7 2023, 10:02:41) [Clang 13.0.0 (clang-1300.0.29.30)]\nType 'copyright', 'credits' or 'license' for more information\nIPython 8.11.0 -- An enhanced Interactive Python. Type '?' for help.\n", 'help_links': [{'text': 'Python Reference', 'url': 'https://docs.python.org/3.11'}, {'text': 'IPython Reference', 'url': 'https://ipython.org/documentation.html'}, {'text': 'NumPy Reference', 'url': 'https://docs.scipy.org/doc/numpy/reference/'}, {'text': 'SciPy Reference', 'url': 'https://docs.scipy.org/doc/scipy/reference/'}, {'text': 'Matplotlib Reference', 'url': 'https://matplotlib.org/contents.html'}, {'text': 'SymPy Reference', 'url': 'http://docs.sympy.org/latest/index.html'}, {'text': 'pandas Reference', 'url': 'https://pandas.pydata.org/pandas-docs/stable/'}]}
[D 15:28:33.260 NotebookApp] 101 GET /api/kernels/55187902-1d74-4111-abd6-c4af556c8b12/channels?session_id=49a9dc1a018d467e8aa794f55b6b052d (::1) 60003.410000ms
[D 15:28:33.261 NotebookApp] Opening websocket /api/kernels/55187902-1d74-4111-abd6-c4af556c8b12/channels
[D 15:28:33.261 NotebookApp] Getting buffer for 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.261 NotebookApp] Connecting to: tcp://127.0.0.1:52057
[D 15:28:33.262 NotebookApp] Connecting to: tcp://127.0.0.1:52056
[D 15:28:33.263 NotebookApp] Connecting to: tcp://127.0.0.1:52060
[D 15:28:33.264 NotebookApp] Connecting to: tcp://127.0.0.1:52058
[D 15:28:33.264 NotebookApp] Connecting to: tcp://127.0.0.1:52056
[D 15:28:33.265 NotebookApp] Connecting to: tcp://127.0.0.1:52060
[D 15:28:33.266 NotebookApp] Nudge: attempt 1 on kernel 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.271 NotebookApp] Nudge: IOPub received: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.271 NotebookApp] Nudge: resolving iopub future: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.272 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.273 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.274 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[D 15:28:33.274 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[D 15:28:33.275 NotebookApp] Nudge: shell info reply received: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.275 NotebookApp] Nudge: resolving shell future: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.275 NotebookApp] Nudge: control info reply received: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:33.779 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.780 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[D 15:28:33.786 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.786 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: stream
[D 15:28:33.787 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: comm_close
[D 15:28:33.788 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[D 15:28:33.789 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.789 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: stream
[D 15:28:33.790 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[D 15:28:33.794 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:33.795 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[I 15:28:36.854 NotebookApp] interrupted

  _   _          _      _
 | | | |_ __  __| |__ _| |_ ___
 | |_| | '_ \/ _` / _` |  _/ -_)
  \___/| .__/\__,_\__,_|\__\___|
       |_|
                       
Read the migration plan to Notebook 7 to learn about the new features and the actions to take if you are using extensions.

https://jupyter-notebook.readthedocs.io/en/latest/migrate_to_notebook7.html

Please note that updating to Notebook 7 might break some of your extensions.

Serving notebooks from local directory: /Users/shuraify/dev
1 active kernel
Jupyter Notebook 6.5.3 is running at:
http://localhost:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
 or http://127.0.0.1:8888/?token=a5f70372a2f7fba389d545bc0077c1218a62bdb2fc5c3305
Shutdown this notebook server (y/[n])? [C 15:28:37.011 NotebookApp] received signal 2, stopping
[I 15:28:37.012 NotebookApp] Shutting down 1 kernel
[I 15:28:37.013 NotebookApp] Kernel shutdown: 55187902-1d74-4111-abd6-c4af556c8b12
[D 15:28:37.027 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (busy)
[D 15:28:37.028 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: shutdown_reply
[D 15:28:37.049 NotebookApp] activity on 55187902-1d74-4111-abd6-c4af556c8b12: status (idle)
[I 15:28:37.127 NotebookApp] Shutting down 0 terminals

Note: All the steps are done equally among all browsers.

  1. Set the browser as the new default browser
  2. Start jupyter notebook
  3. Create a new ipykernel
  4. Wait for the kernel to fully load
  5. Shut down the kernel
  6. Repeat the steps for the next browser

My PC Configurations:

MacBook Pro 14-inch, 2023
Chip: Apple M2 Pro
Memory: 32 GB
macOS: Ventura 13.2.1
Chrome Version: 111.0.5563.64 (Official Build) (arm64)

Chrome extensions installed (exact same extensions are also installed on Arc Browser):

1. 1Password
2. AdBlock - best ad blocker
3. ExpressVPN
4. Google Translate
5. JSON Formatter
6. React Developer Tools
7. RESTED: A REST client for the rest of us

Apologies if there was a better way to attach the logs and I missed it.

I appreciate your support in helping identify the source of the issue.

Try to start the notebook server on another port; just add the arg --NotebookApp.port=9999 and see if that resolves