Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
"ValueError: 'fe80::1%lo0' does not appear to be an IPv4 or IPv6 address" error when running notebook #3754
Follow up from #3751 (comment):
I'm getting a strange error when trying to run the notebook against master:
Can you check the output of:
import socket socket.getaddrinfo('localhost', 8888, 0, socket.SOCK_STREAM)
Is that address in there? If so, can you figure out where it's coming from? E.g. is it in
If we can't figure this out quickly, or if it looks like this might be a more common problem for mac users, we can disable the check by default for the 5.6 release and debug it more afterwards.
Here is the output that I get when running 5.5.0 (because I can't actually start the notebook server on master):
[(<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('::1', 8888, 0, 0)), (<AddressFamily.AF_INET6: 30>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('fe80::1%lo0', 8888, 0, 1)), (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))]
The top of my
That's macOS defaults...
OK, if this is going to affect lots of Mac users, let's disable the check, do a release, and try to figure it out for 5.7.
Can you investigate more what this