gpt4 book ai didi

python - Jupyterhub 错误 503 : Proxy Target Missing

转载 作者:太空狗 更新时间:2023-10-29 22:15:25 27 4
gpt4 key购买 nike

我设法在我的服务器上建立了 Jupyterhub 并且运行良好。由于我尝试重新启动 Jupyterhub 服务,它不再工作,当我尝试运行它时,我看到错误消息:

Proxy appears to be running at http://*:8000/, but I can't access it (HTTP 403: Forbidden)
Did CONFIGPROXY_AUTH_TOKEN change?

在网络浏览器中我得到

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.

最佳答案

sudo pkill node

将终止代理服务。

重启 Jupyterhub 会重启它。

对于 Ubuntu 14.04

jupyterhub --no-ssl &

如果您没有设置 ssl 证书,则没有 ssl& 或 & 符号以在您的 tty 或终端 session 关闭时保持服务运行

您可以使用 sudo pkill jupyterhub 来终止进程。 (并不总是像创建 init 服务那样可靠)

关于python - Jupyterhub 错误 503 : Proxy Target Missing,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35183829/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com