Jupyter Error: Server Not Running

517 views
Skip to first unread message

Sunil Patil

unread,
Mar 31, 2021, 8:57:16 AM3/31/21
to jup...@googlegroups.com
Hi,
Can some one please help me with below issue?
I randomly get errors 'Server Not Running' and 'Your server at ... is not running. Would you like to restart it?' With option 'Restart' or 'Dismiss'. 
This error occurs even if my code is running.
We have not set up any time out for inactivity in config file jupyter_notebook_config.py or jupyterhub_config.py. 
In jupyter logs I can see errors like: 'Failing suspected API request to not-running server: /username/jupyter/hub/user/username/api/kernels'

This behaviour interrupts running code and causes double work.
Can someone please guide me to identify root cause for this issue? and how to overcome this?

Thanks, 
Sunil

Charles Forelle

unread,
Mar 31, 2021, 9:46:16 AM3/31/21
to jup...@googlegroups.com
This could be a lot of things but I had similar errors that seemed to stem from a mismatch between versions. Are you running the same versions of jupyterlab and jupyterhub on both the Hub and the singleuser servers?

--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/CAAmKPtigiwy0ZF-eKh-HccQAiUMg2rYJZmNPpQxcVEzvCnQ9tg%40mail.gmail.com.

Sunil Patil

unread,
Mar 31, 2021, 11:46:08 AM3/31/21
to jup...@googlegroups.com
Hi Charles,

Thanks for getting back to me. I checked versions (ran command, pip freeze | grep jupyter) and below is the outcome,
jupyter==1.0.0
jupyter-client==5.3.4
jupyter-console==6.0.0
jupyter-core==4.6.1
jupyter-telemetry==0.1.0
jupyterhub==1.1.0
jupyterlab==2.2.5
jupyterlab-server==1.2.0

Could you please advise if any of these versions may be causing this issue?

Thanks,
Sunil. 

Charles Forelle

unread,
Mar 31, 2021, 12:49:00 PM3/31/21
to jup...@googlegroups.com
If that’s the server that’s running the Hub, can you run the same command on a singleuser server? (For instance, from inside the Terminal on Jupyter lab.) 

If that’s the singleuser server, run the same command on the Hub. 

Reply all
Reply to author
Forward
0 new messages