jupyterhub-deploy-teaching icon indicating copy to clipboard operation
jupyterhub-deploy-teaching copied to clipboard

Spawn error, but service starts

Open DavidNemeskey opened this issue 7 years ago • 5 comments

I get a spawn error when restarting jupyterhub:

$ sudo supervisorctl restart jupyterhub
jupyterhub: stopped
jupyterhub: ERROR (spawn error)

Even though I get this error, JupyterHub is started successfully; this is also evident from the logs. So what is this error all about?

jupyterhub.log.txt

DavidNemeskey avatar Sep 17 '18 07:09 DavidNemeskey

Getting the exact same thing. And when I login to any account I get the following message in my browser:

Cannot find template: "403.html"

In "/opt/conda/share/jupyter/lab/static"

r0ot avatar Oct 30 '18 19:10 r0ot

I was having the 403 error as well. After rolling back my notebook and lab version numbers, I found a simpler way: I could still login to the hub manually via the links: https://....edu/user/$USER/hub https://....edu/user/$USER/tree where $USER is my login id.

I then restarted my own server and could log in and launch the labs.

memoatwit avatar Jan 06 '19 19:01 memoatwit

Are you using OS X?

I tend to have the same issue after I reboot my Macbook and it restores processes that were running prior to the reboot.

Running ps -ef | grep jupyter shows a few phantom python jupyter processes that need to be terminated.

kill -10 <pid of phantom process> for each offending PID will terminate them.

Then running jupyter lab should work smoothly.

slw07g avatar Jan 30 '20 19:01 slw07g

I also get this error:

Cannot find template: "403.html" In "/opt/conda/share/jupyter/lab/static"

I want to connect to JupyterLab through GCP. I have checked all above solutions, none worked for me and I still get the same error. Any other ideas on how to resolve this issue?

NiksaValim avatar Jul 25 '20 00:07 NiksaValim

Have you found any solution to this problem @NixaV ? I suddenly got this error on GCP as well, it was working fine

LissethEscalante avatar Aug 02 '20 00:08 LissethEscalante