Erro in Jupyter notebook-No session ID specified

All the time I want to run a Jupiter notebook on Pycharm I get the error No session ID specified, regardless of the python version (env), project and OS (Mac and Linux). If I run the service on outside of Pycharm everything works ( "jupyter notebook" in terminal).

This is full output from Pycharm:

[I 19:39:21.616 NotebookApp] Jupyter Notebook 6.4.6 is running at:
[I 19:39:21.616 NotebookApp] http://localhost:8888/?token=3430e538c2cd5f112e3430813cdadfc53d7dfc02964999fc
[I 19:39:21.617 NotebookApp] or http://127.0.0.1:8888/?token=3430e538c2cd5f112e3430813cdadfc53d7dfc02964999fc
[I 19:39:21.617 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 19:39:21.633 NotebookApp]

To access the notebook, open this file in a browser:
file:///Users/lord/Library/Jupyter/runtime/nbserver-9225-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=3430e538c2cd5f112e3430813cdadfc53d7dfc02964999fc
or http://127.0.0.1:8888/?token=3430e538c2cd5f112e3430813cdadfc53d7dfc02964999fc
[I 19:39:21.639 NotebookApp] 302 GET /api/kernelspecs/ (127.0.0.1) 3.070000ms
[I 19:39:22.969 NotebookApp] Kernel started: fea9c78e-237d-4fb7-a19c-ea2a6efd7861, name: python3
[W 19:39:23.013 NotebookApp] No session ID specified
[W 19:39:42.220 NotebookApp] 404 GET /api/kernels/4827d810-1125-4fbf-b90d-dc340fea25f4/channels?session_id=4c0eb9f7ecca48a1b8d97ba71981880e (::1): Kernel does not exist: 4827d810-1125-4fbf-b90d-dc340fea25f4
[W 19:39:42.299 NotebookApp] 404 GET /api/kernels/4827d810-1125-4fbf-b90d-dc340fea25f4/channels?session_id=4c0eb9f7ecca48a1b8d97ba71981880e (::1) 81.120000ms referer=None

 

0
2 comments

Hi,

This message is harmless and doesn't affect the notebook. If your notebook is not working, the cause of the issue must be different. 

Could you please provide steps to reproduce the issue, the code sample, and the expected and actual results?

Please also check the new Jupyter implementation which is available in PyCharm 2021.3 RC (https://www.jetbrains.com/pycharm/nextversion/) and in DataSpell IDE (https://www.jetbrains.com/dataspell/)

0

Thanks, the new implementation works very well :) 

0

Please sign in to leave a comment.