Hello,
I’m transitionning from jupyter to jupyterhub and have some difficulty making the last steps working.
Currently, everything seems ok, I can login and spawn server, but when I try to use a notebook, it get stuck on “Connecting to Kernel”. I had no issue in Jupyter without the hub tough, and I can swap between the two easely.
In the logs, I noticed this :
[I 2022-08-23 17:47:31.151 SingleUserNotebookApp log:189] 200 GET /jupyter/user/jonathan/api/contents/Untitled.ipynb/checkpoints?_=1661269650881 (jonathan@10.50.2.115) 36.81ms
[I 2022-08-23 17:47:31.632 SingleUserNotebookApp handlers:190] Adapting to protocol v5.1 for kernel 672c1615-2066-4f68-a563-192b06d9fbd9
/usr/local/lib/python3.6/dist-packages/notebook/base/zmqhandlers.py:284: RuntimeWarning: coroutine ‘WebSocketHandler.get’ was never awaited
super(AuthenticatedZMQStreamHandler, self).get(*args, **kwargs)
[I 2022-08-23 17:47:31.639 SingleUserNotebookApp log:189] 200 GET /jupyter/user/jonathan/api/kernels/672c1615-2066-4f68-a563-192b06d9fbd9/channels?session_id=afb5fd06472142de8e9e3952720ce127 (jonathan@10.50.2.115) 428.65ms
[W 2022-08-23 17:47:32.836 SingleUserNotebookApp handlers:254] Replacing stale connection: 672c1615-2066-4f68-a563-192b06d9fbd9:afb5fd06472142de8e9e3952720ce127
[W 2022-08-23 17:48:35.004 SingleUserNotebookApp handlers:254] Replacing stale connection: 672c1615-2066-4f68-a563-192b06d9fbd9:afb5fd06472142de8e9e3952720ce127
[W 2022-08-23 17:49:40.119 SingleUserNotebookApp handlers:254] Replacing stale connection: 672c1615-2066-4f68-a563-192b06d9fbd9:afb5fd06472142de8e9e3952720ce127
[W 2022-08-23 17:50:49.090 SingleUserNotebookApp handlers:254] Replacing stale connection: 672c1615-2066-4f68-a563-192b06d9fbd9:afb5fd06472142de8e9e3952720ce127
And then it keeps looping.
I have also made this succesfully on a dev server and tried to match all the packages and such as close a possible, but to no avail.
Nothing funky here, I only installed jupyterhub via pip and went from there.
jupyter==1.0.0
jupyter-client==7.1.2
jupyter-console==6.0.0
jupyter-contrib-core==0.3.3
jupyter-contrib-nbextensions==0.5.1
jupyter-core==4.9.2
jupyter-highlight-selected-word==0.2.0
jupyter-latex-envs==1.4.6
jupyter-nbextensions-configurator==0.4.1
jupyter-telemetry==0.1.0
jupyterhub==1.0.0
jupyterthemes==0.20.0