我设法在我的服务器上建立了Jupyterhub,它工作得很好。由于我试图重新启动Jupyterhub服务,它不再工作,当我试图运行它时,我看到错误消息:
Proxy appears to be running at http://*:8000/, but I can't access it (HTTP 403: Forbidden)
Did CONFIGPROXY_AUTH_TOKEN change?在web浏览器中,我看到
Error 503: Proxy Target Missing. 这可能与我每次运行Jupyterhub时看到的警告有关:
Generating CONFIGPROXY_AUTH_TOKEN. Restarting the Hub will require restarting the proxy.
Set CONFIGPROXY_AUTH_TOKEN env or JupyterHub.proxy_auth_token config to avoid this message.发布于 2016-08-17 02:43:54
sudo pkill node将终止代理服务。
重新启动Jupyterhub将重新启动它。
适用于Ubuntu 14.04
jupyterhub --no-ssl &如果没有设置ssl证书,则不设置ssl &或者在tty或终端会话关闭时保持服务运行
您可以使用sudo pkill jupyterhub来终止进程。(并不总是像创建init服务那样可靠)
发布于 2016-06-09 23:28:44
你不需要重启整个机器,在重启jupyterhub之前杀死可配置的-http-proxy进程就足够了:
[root@box jupyterhub]# ps aux | grep proxy
jupyrhub 42079 0.0 0.1 741424 20248 ? Sl 15:10 0:00 node /usr/bin/configurable-http-proxy --ip --port 9876 --api-ip 127.0.0.1
--api-port 9877 --default-target http://127.0.0.1:8081 --ssl-key /etc/pki/tls/private/server_AZL-BUEdge-01.key --ssl-cert
/etc/pki/tls/private/server_AZL-BUEdge-01_fullchain.pem root 42683
0.0 0.0 103308 864 pts/10 S+ 15:20 0:00 grep proxy
[root@box]# kill -9 42079https://stackoverflow.com/questions/35183829
复制相似问题