[E 2015-08-17 10:08:12.623 JupyterHub app:1029] Failed to bind hub to http://localhost:8081/hub/
[E 2015-08-17 10:08:12.624 JupyterHub app:1097]
Traceback (most recent call last):
File "/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/app.py", line 1095, in launch_instance_async
yield self.start()
File "/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/app.py", line 1027, in start
self.http_server.listen(self.hub_port, address=self.hub_ip)
File "/opt/anaconda3/lib/python3.4/site-packages/tornado/tcpserver.py", line 126, in listen
sockets = bind_sockets(port, address=address)
File "/opt/anaconda3/lib/python3.4/site-packages/tornado/netutil.py", line 187, in bind_sockets
sock.bind(sockaddr)
OSError: [Errno 99] Cannot assign requested address
On Aug 17, 2015, at 17:17, Ethan Suh <ds...@nd.edu> wrote:I am on a university virtual machine of Ubuntu 14.04 where I did a clean install of Jupyterhub. I am still working with 3.2.1, not 4.0. I am receiving this error message that I can't seem to understand:
[E 2015-08-17 10:08:12.623 JupyterHub app:1029] Failed to bind hub to http://localhost:8081/hub/[E 2015-08-17 10:08:12.624 JupyterHub app:1097]Traceback (most recent call last):File "/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/app.py", line 1095, in launch_instance_asyncyield self.start()File "/opt/anaconda3/lib/python3.4/site-packages/jupyterhub/app.py", line 1027, in startself.http_server.listen(self.hub_port, address=self.hub_ip)File "/opt/anaconda3/lib/python3.4/site-packages/tornado/tcpserver.py", line 126, in listensockets = bind_sockets(port, address=address)File "/opt/anaconda3/lib/python3.4/site-packages/tornado/netutil.py", line 187, in bind_socketssock.bind(sockaddr)OSError: [Errno 99] Cannot assign requested addressI initially thought it was a firewall issue, but that does not seem to be the case. Any ideas on what I should do?Thanks for the help.
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/10bc87ff-01f2-4113-958f-779371d34788%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Can anyone experiencing this issue bind to localhost with a regular socket?
import socket
s = socket.socket()
s.bind(('localhost', 8888))
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/da480971-d80c-455a-85c9-13cb62690676%40googlegroups.com.
What version of JupyterHub (jupyterhub --version)?
The cause for this seems to be a host configuration that tells your machine that localhost is an ipv6 address, but ipv6 is not actually available (i.e. an internally inconsistent configuration of the system). You can specify
c.JupyterHub.hub_ip = '127.0.0.1'
to tell the hub to listen on 127 instead. (--ip specifies the public IP of the whole application, not the internal IP of the Hub service)
-MinRK
--
You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jupyter+u...@googlegroups.com.
To post to this group, send email to jup...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/7d701524-d50a-4a21-a542-a57514a30317%40googlegroups.com.