# Jupyterhub-the-hard-way install

**URL:** <https://discourse.jupyter.org/t/jupyterhub-the-hard-way-install/10692>\
**Category:** JupyterHub\
**Created:** [September 8, 2021, 7:44pm UTC](https://discourse.jupyter.org/t/jupyterhub-the-hard-way-install/10692 "2021-09-08T19:44:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jose\_Quinones](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/jose_quinones/32/5163_2.png) [@Jose\_Quinones](https://discourse.jupyter.org/u/Jose_Quinones)\
**Post date:** [September 8, 2021, 7:44pm UTC](https://discourse.jupyter.org/t/jupyterhub-the-hard-way-install/10692/1 "2021-09-08T19:44:16Z")

</div>

Please help!  
Receiving the following error after walking through the “jupyterhub-the-hard-way” install.  
This is a fresh install and the install appeared to go well with no errors.

/mnt/mfs/cluster/bin/Jupyterhub/bin# /mnt/mfs/cluster/bin/Jupyterhub/bin/jupyterhub -f /mnt/mfs/cluster/bin/Jupyterhub/etc/jupyter/jupyterhub\_config.py  
[I 2021-09-08 15:01:45.395 JupyterHub app:2459] Running JupyterHub version 1.4.2  
[I 2021-09-08 15:01:45.396 JupyterHub app:2489] Using Authenticator: jupyterhub.auth.PAMAuthenticator-1.4.2  
[I 2021-09-08 15:01:45.396 JupyterHub app:2489] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-1.4.2  
[I 2021-09-08 15:01:45.396 JupyterHub app:2489] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-1.4.2  
[I 2021-09-08 15:01:45.434 JupyterHub app:1534] Loading cookie\_secret from /mnt/mfs/cluster/bin/Jupyterhub/bin/jupyterhub\_cookie\_secret  
[I 2021-09-08 15:01:45.896 JupyterHub proxy:497] Generating new CONFIGPROXY\_AUTH\_TOKEN  
[W 2021-09-08 15:01:45.899 JupyterHub app:1808] No admin users, admin interface will be unavailable.  
[W 2021-09-08 15:01:45.899 JupyterHub app:1809] Add any administrative users to `c.Authenticator.admin_users` in config.  
[I 2021-09-08 15:01:45.900 JupyterHub app:1838] Not using allowed\_users. Any authenticated user will be allowed.  
[I 2021-09-08 15:01:46.089 JupyterHub app:2526] Initialized 0 spawners in 0.012 seconds  
[W 2021-09-08 15:01:46.122 JupyterHub proxy:699] Running JupyterHub without SSL. I hope there is SSL termination happening somewhere else…  
[I 2021-09-08 15:01:46.122 JupyterHub proxy:703] Starting proxy @ http://:8000/jupyter  
15:01:46.344 [ConfigProxy] info: Proxying http://_:8000 to (no default)  
15:01:46.347 [ConfigProxy] info: Proxy API at 127.0.0.1:8001/api/routes  
15:01:46.881 [ConfigProxy] info: 200 GET /api/routes  
[I 2021-09-08 15:01:46.883 JupyterHub app:2774] Hub API listening on  
15:01:46.886 [ConfigProxy] info: 200 GET /api/routes  
[I 2021-09-08 15:01:46.887 JupyterHub proxy:347] Checking routes  
[I 2021-09-08 15:01:46.887 JupyterHub proxy:432] Adding route for Hub: /jupyter/ =\> 127.0.0.1:8081  
15:01:46.891 [ConfigProxy] info: Adding route /jupyter → 127.0.0.1:8081  
15:01:46.892 [ConfigProxy] info: Route added /jupyter → 127.0.0.1:8081  
15:01:46.893 [ConfigProxy] info: 201 POST /api/routes/jupyter  
[I 2021-09-08 15:01:46.894 JupyterHub app:2849] JupyterHub is now running at http://:8000/jupyter  
[I 2021-09-08 15:02:05.367 JupyterHub log:189] 302 GET /jupyter/ → /jupyter/hub/ (@172.25.40.11) 2.43ms  
[I 2021-09-08 15:02:05.519 JupyterHub log:189] 302 GET /jupyter/hub/ → /jupyter/hub/spawn (s2jmq@_\*\*\*\*\*) 95.72ms  
[I 2021-09-08 15:02:05.732 JupyterHub provider:574] Creating oauth client jupyterhub-user-s2jmq  
Last login: Wed Sep 8 14:52:02 EDT 2021  
Linux hgrclogin01 4.9.0-13-amd64 #1 SMP Debian 4.9.228-1 (2020-07-05) x86\_64

The programs included with the Debian GNU/Linux system are free software;  
the exact distribution terms for each program are described in the  
individual files in /usr/share/doc/\*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent  
permitted by applicable law.  
[W 2021-09-08 15:02:05.826 JupyterHub auth:1079] Failed to open PAM session for s2jmq: [PAM Error 14] Cannot make/remove an entry for the specified session  
[W 2021-09-08 15:02:05.826 JupyterHub auth:1080] Disabling PAM sessions from now on.  
[I 2021-09-08 15:02:05.927 JupyterHub spawner:1483] Spawning jupyterhub-singleuser --port=37813 --SingleUserNotebookApp.default\_url=/lab  
[I 2021-09-08 15:02:09.391 JupyterHub log:189] 302 GET /jupyter/hub/spawn → /jupyter/hub/spawn-pending/s2jmq (s2jmq@\*\*\*\*\*\*\*) 3808.50ms  
[I 2021-09-08 15:02:09.454 JupyterHub pages:402] s2jmq is pending spawn  
[I 2021-09-08 15:02:09.651 JupyterHub log:189] 200 GET /jupyter/hub/spawn-pending/s2jmq (s2jmq@\*\*\*_**) 213.83ms  
[W 2021-09-08 15:02:15.596 JupyterHub base:1040] User s2jmq is slow to become responsive (timeout=10)  
/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyterhub/crypto.py:17: CryptographyDeprecationWarning: Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.  
import cryptography  
Traceback (most recent call last):  
File “/usr/local/bin/jupyterhub-singleuser”, line 7, in   
from jupyterhub.singleuser import main  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyterhub/singleuser/init.py”, line 5, in   
from .app import main  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyterhub/singleuser/app.py”, line 16, in   
App = import\_item(JUPYTERHUB\_SINGLEUSER\_APP)  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/traitlets/utils/importstring.py”, line 34, in import\_item  
module = import(package, fromlist=[obj])  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/notebook/notebookapp.py”, line 81, in   
from .services.kernels.kernelmanager import MappingKernelManager, AsyncMappingKernelManager  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/notebook/services/kernels/kernelmanager.py”, line 18, in   
from jupyter\_client.session import Session  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyter\_client/init.py”, line 6, in   
from .asynchronous import AsyncKernelClient # noqa  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyter\_client/asynchronous/init.py”, line 1, in   
from .client import AsyncKernelClient # noqa  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyter\_client/asynchronous/client.py”, line 6, in   
from jupyter\_client.channels import HBChannel  
File “/mnt/mfs/cluster/JupyterHub/lib/python3.5/site-packages/jupyter\_client/channels.py”, line 47  
time\_to\_dead: float = 1.0  
^  
SyntaxError: invalid syntax  
[W 2021-09-08 15:03:05.141 JupyterHub user:767] s2jmq’s server never showed up at http://**_ after 60 seconds. Giving up  
[E 2021-09-08 15:03:05.427 JupyterHub gen:623] Exception in Future \<Task finished name=‘Task-21’ coro=\<BaseHandler.spawn\_single\_user..finish\_user\_spawn() done, defined at /mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/handlers/base.py:900\> exception=TimeoutError(“Server at [http://127.0.0.1:37813/jupyter/user/s2jmq/](http://127.0.0.1:37813/jupyter/user/s2jmq/) didn’t respond in 60 seconds”)\> after timeout  
Traceback (most recent call last):  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/tornado/gen.py”, line 618, in error\_callback  
future.result()  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/handlers/base.py”, line 907, in finish\_user\_spawn  
await spawn\_future  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/user.py”, line 748, in spawn  
await self.\_wait\_up(spawner)  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/user.py”, line 795, in \_wait\_up  
raise e  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/user.py”, line 762, in \_wait\_up  
resp = await server.wait\_up(  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/utils.py”, line 236, in wait\_for\_http\_server  
re = await exponential\_backoff(  
File “/mnt/mfs/cluster/bin/Jupyterhub/lib/python3.8/site-packages/jupyterhub/utils.py”, line 184, in exponential\_backoff  
raise TimeoutError(fail\_message)  
TimeoutError: Server at [http://127.0.0.1:37813/jupyter/user/](http://127.0.0.1:37813/jupyter/user/) didn’t respond in 60 seconds

[I 2021-09-08 15:03:05.553 JupyterHub log:189] 200 GET /jupyter/hub/api/users/s2jmq/server/progress (s2jmq@\*\*\*\*\*\*) 55679.01ms  
15:06:46.899 [ConfigProxy] info: 200 GET /api/routes  
[I 2021-09-08 15:06:46.900 JupyterHub proxy:347] Checking routes  
15:11:46.899 [ConfigProxy] info: 200 GET /api/routes
