Open changemenemo opened 4 years ago
Does the folder /opt/node_n/lib/node_modules/configurable-http-proxy/
exist?
Yes it does exist seems very full with 100dir and 1629 files according to true
I have similitary problem.
see the log
Started JupyterLab.
- Jan 18 14:33:55 pipenv[9943]: [I 2021-01-18 14:33:55.993 JupyterHub app:2349] Running JupyterHub version 1.3.0
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:55.993 JupyterHub app:2380] Using Authenticator: l ldapauthenticator.ldapauthenticator.LDAPAuthenticator-1.3.2
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:55.993 JupyterHub app:2380] Using Spawner: jupyterhub.spawner.LocalProcessSpawner-1.3.0
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:55.993 JupyterHub app:2380] Using Proxy: jupyterhub.proxy.ConfigurableHTTPProxy-1.3.0
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:55.996 JupyterHub app:1420] Loading cookie_secret from /opt/jupyterlab/jupyterhub_cookie_secret
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:56.059 JupyterHub proxy:460] Generating new CONFIGPROXY_AUTH_TOKEN
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:56.100 JupyterHub app:1726] Not using allowed_users. Any authenticated user will be allowed.
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:56.146 JupyterHub app:2419] Initialized 0 spawners in 0.004 seconds
- Jan 18 14:33:56 pipenv[9943]: [W 2021-01-18 14:33:56.151 JupyterHub proxy:529] Found proxy pid file: /opt/jupyterlab/jupyterhub-proxy.pid
- Jan 18 14:33:56 pipenv[9943]: [W 2021-01-18 14:33:56.151 JupyterHub proxy:541] Proxy no longer running at pid=9837
- Jan 18 14:33:56 pipenv[9943]: [W 2021-01-18 14:33:56.153 JupyterHub proxy:663] Running JupyterHub without SSL. I hope there is SSL termination happening somewhere else...
- Jan 18 14:33:56 pipenv[9943]: [I 2021-01-18 14:33:56.153 JupyterHub proxy:666] Starting proxy @ http://:8080
- Jan 18 14:33:56 pipenv[9943]: 14:33:56.683 [ConfigProxy] info: Proxying http://*:8080 to (no default)
- Jan 18 14:33:56 pipenv[9943]: 14:33:56.695 [ConfigProxy] info: Proxy API at http://127.0.0.1:8082/api/routes
- Jan 18 14:39:42 pipenv[9943]: [C 2021-01-18 14:39:42.610 JupyterHub app:2625] Failed to start proxy
- Jan 18 14:39:42 pipenv[9943]: Traceback (most recent call last):
- Jan 18 14:39:42 pipenv[9943]: File "/opt/jupyterlab/.venv/lib/python3.7/site-packages/jupyterhub/app.py", line 2623, in start
- Jan 18 14:39:42 pipenv[9943]: await self.proxy.start()
- Jan 18 14:39:42 pipenv[9943]: File "/opt/jupyterlab/.venv/lib/python3.7/site-packages/jupyterhub/proxy.py", line 700, in start
- Jan 18 14:39:42 pipenv[9943]: await server.wait_up(1)
- Jan 18 14:39:42 pipenv[9943]: File "/opt/jupyterlab/.venv/lib/python3.7/site-packages/jupyterhub/utils.py", line 195, in wait_for_server
- Jan 18 14:39:42 pipenv[9943]: timeout=timeout,
- Jan 18 14:39:42 pipenv[9943]: File "/opt/jupyterlab/.venv/lib/python3.7/site-packages/jupyterhub/utils.py", line 183, in exponential_backoff
- Jan 18 14:39:42 pipenv[9943]: raise TimeoutError(fail_message)
- Jan 18 14:39:42 pipenv[9943]: TimeoutError: Server at TLD.fr:8080 didn't respond in 1 seconds
- Jan 18 14:39:42 pipenv[9943]:
- Jan 18 14:39:42 systemd[1]: jupyterlab.service: Main process exited, code=exited, status=1/FAILURE
- Jan 18 14:39:42 pipenv[9943]: 14:39:42.866 [ConfigProxy] warn: Terminated
- Jan 18 14:39:42 systemd[1]: jupyterlab.service: Failed with result 'exit-code'.
- Jan 18 14:39:52 systemd[1]: jupyterlab.service: Service RestartSec=10s expired, scheduling restart.
- Jan 18 14:39:52 systemd[1]: jupyterlab.service: Scheduled restart job, restart counter is at 24.
- Jan 18 14:39:52 systemd[1]: Stopped JupyterLab.
- Jan 18 14:39:52 systemd[1]: Started JupyterLab.
Hi,
I have a similar problem to the original question !
But I don't have the folder /opt/node_n/lib/node_modules/configurable-http-proxy/
on my server
Does that means I might not have the npm module mentioned in the error log installed and that running npm install -g configurable-http-proxy
is a good idea ?
I find it surprising because Jupyterlab did work on my server directly after the installation and it stopped working after a reboot so it doesn't seem that it could be caused by a missing package.
The version installed on my server is: 4.0.9~ynh1
Should I install the new version from the testing branch (as explained on the app page in yunohost)?
Best regards, Sylvain
For future reference:
I just npm install -g configurable-http-proxy
and it's working again :man_shrugging: