Proxy error when spawning new notebook?

297 views
Skip to first unread message

Chris Woods

unread,
Oct 2, 2015, 11:36:31 AM10/2/15
to Project Jupyter
Hi Folks-

Just did a quick install of JupyterHub on a clean Debian Jessie VM and got the following after logging in:

[I 2015-10-02 11:22:23.617 JupyterHub spawner:365] Spawning jupyterhub-singleuser --user=someuser --port=49718 --cookie-name=jupyter-hub-token-someuser --base-url=/user/someuser --hub-prefix=/hub/ --hub-api-url=http://localhost:8081/hub/api --ip=localhost[I 2015-10-02 11:22:23.617 JupyterHub spawner:365] Spawning jupyterhub-singleuser --user=someuser --port=49718 --cookie-name=jupyter-hub-token-someuser --base-url=/user/someuser --hub-prefix=/hub/ --hub-api-url=http://localhost:8081/hub/api --ip=localhost
/usr/local/lib/python3.4/dist-packages/IPython/utils/traitlets.py:5: UserWarning: IPython.utils.traitlets has moved to a top-level traitlets package.
warn("IPython.utils.traitlets has moved to a top-level traitlets package.")
/usr/local/lib/python3.4/dist-packages/IPython/html.py:14: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`.
"`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)
Traceback (most recent call last):
File "/usr/local/bin/jupyterhub-singleuser", line 3, in <module>
from jupyterhub.singleuser import main
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/singleuser.py", line 27, in <module>
from IPython.html.notebookapp import NotebookApp, aliases as notebook_aliases
ImportError: No module named 'IPython.html.notebookapp'
[W 2015-10-02 11:22:33.645 JupyterHub base:286] User someuser server is slow to start
11:22:33.661 - error: [ConfigProxy] Proxy error: code=ECONNREFUSED, errno=ECONNREFUSED, syscall=connect
[I 2015-10-02 11:22:33.666 JupyterHub log:100] 302 GET /hub/user/someuser (some...@127.0.0.1) 10099.03ms
[W 2015-10-02 11:22:53.864 JupyterHub orm:402] someuser's server never showed up at http://localhost:49718/user/someuser after 30 seconds. Giving up
[E 2015-10-02 11:22:53.877 JupyterHub gen:733] Exception in Future <tornado.concurrent.Future object at 0x7f8cfb5e55f8> after timeout
Traceback (most recent call last):
File "/usr/local/lib/python3.4/dist-packages/tornado/gen.py", line 729, in error_callback
future.result()
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/orm.py", line 418, in spawn
raise e
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/orm.py", line 394, in spawn
yield self.server.wait_up(http=True, timeout=spawner.http_timeout)
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/orm.py", line 111, in wait_up
yield wait_for_http_server(self.url, timeout=timeout)
File "/usr/local/lib/python3.4/dist-packages/jupyterhub/utils.py", line 82, in wait_for_http_server
**locals()
TimeoutError: Server at http://localhost:49718/user/someuser didn't respond in 30 seconds

I'm guessing the proxy error means more than the import error but I'm guessing.  Can anyone point me in the right direction?

Thanks very much.

-Chris

Jingkun Gao

unread,
Oct 5, 2015, 2:27:06 PM10/5/15
to Project Jupyter
I have the same issue on a Ubuntu machine. Already tried to update all packages and it's not being helpful.

Appreciate if anyone can help us with this.

Thanks,
Jingkun
Reply all
Reply to author
Forward
0 new messages