我正在尝试设置多用户 jupyter 设置。对于这种情况,我使用 RemoteCSVAuthenticator 和 DockerSpawner 设置了一个 jupyterhub。
身份验证似乎工作正常,并且如果我登录,则会启动一个 docker-container。但是登录后我只收到一个 502 错误消息:
502 : Bad Gateway
The error was:
Failed to check authorization (upstream problem)
jupyterhost 日志文件没有显示错误。dockercontainer 是普通的
jupyterhub/singleuser
.
谁能告诉我从哪里开始?
在尝试深入研究问题后,我发现如果我尝试访问 docker 容器内的 jupyter 进程(例如http://172.17.0.36:8888/),它总是会抛出错误 404 - 找不到页面。我不认为这是正常的。也许这就是可配置的http-proxy 抛出“Bad Gateway”错误的原因。