【发布时间】:2019-06-04 08:54:34
【问题描述】:
当 i 'ks apply default -c jupyter' 部署 jupyterHub 时,它总是响应以下错误:
[I 2019-01-09 14:28:52.866 JupyterHub app:871] 编写 cookie_secret 到 /jupyterhub_cookie_secret [我 2019-01-09 14:28:52.880 alembic.runtime.migration migration:117] 上下文隐含 SQLiteImpl。 [一世 2019-01-09 14:28:52.880 alembic.runtime.migration 迁移:122] 将 假设非事务性 DDL。 [我 2019-01-09 14:28:52.895 alembic.runtime.migration migration:327] 运行 stamp_revision -> 3ec6993fe20c [W 2019-01-09 14:28:53.034 JupyterHub app:955] 没有管理员 用户,管理界面将不可用。 [W 2019-01-09 14:28:53.034 JupyterHub app:956] 将任何管理用户添加到
c.Authenticator.admin_users在配置中。 [我 2019-01-09 14:28:53.034 JupyterHub app:983] 不使用白名单。任何经过身份验证的用户都将 被)允许。 [我 2019-01-09 14:28:53.059 JupyterHub app:1528] 集线器 API 收听http://0.0.0.0:8081/hub/ [W 2019-01-09 14:28:53.060 JupyterHub 代理:415] 生成 CONFIGPROXY_AUTH_TOKEN。重新启动集线器将需要重新启动代理。 设置 CONFIGPROXY_AUTH_TOKEN env 或 JupyterHub.proxy_auth_token 配置以避免此消息。 [W 2019-01-09 14:28:53.060 JupyterHub proxy:456] 在没有 SSL 的情况下运行 JupyterHub。
我希望在其他地方发生 SSL 终止...
[I 2019-01-09 14:28:53.061 JupyterHub proxy:458] 启动代理@ http://0.0.0.0:8000/ [E 2019-01-09 14:28:53.064 JupyterHub 代理:467] 找不到代理 ['configurable-http-proxy'] 代理可以安装
npm install -g configurable-http-proxy[C 2019-01-09 14:28:53.065 JupyterHub app:1535] 无法启动代理 回溯(最近一次通话最后): 文件“/usr/local/lib/python3.6/site-packages/jupyterhub/app.py”,第 1533 行,开始 产生 self.proxy.start() 文件“/usr/local/lib/python3.6/site-packages/jupyterhub/proxy.py”,行 462,在开始 self.proxy_process = Popen(cmd, env=env, start_new_session=True, shell=shell) init 中的文件“/usr/local/lib/python3.6/subprocess.py”,第 709 行 恢复信号,开始新会话) _execute_child 中的文件“/usr/local/lib/python3.6/subprocess.py”,第 1344 行 raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError:[Errno 2] 没有这样的文件或目录:'configurable-http-proxy':'configurable-http-proxy'
【问题讨论】:
标签: jupyter jupyterhub kubeflow