-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensorboard could not bind to unsupported address family :: #1713
Comments
Hi @zh794390558! This looks like a problem with IPv4/IPv6 support. |
@zh794390558 please provide the rest of the relevant information from our issue template, in particular:
Can you also provide the output of python -c 'import socket; import pprint; pprint.pprint({x: getattr(socket, x) for x in socket.__all__})'
python -c 'import socket; print(socket.getaddrinfo(None, 8012, socket.AF_UNSPEC, socket.SOCK_STREAM, socket.IPPROTO_TCP, socket.AI_PASSIVE))' |
|
i also met the same issue in centos platform. my output of the above command: |
Thanks. So I guess we can't really reply on For now, the workaround would be to explicitly pass either We might be able to fix this by falling back to IPv4 if we get an address family unsupported error, though it will be a pain to do that in the current code. |
@nfelt Previously TensorBoard worked fined, now I've build TF with CUDA 10 support for Ubuntu 18.04 and Python 3.6 and TB stopped working. The host option solved the problem for me. |
If you updated your TensorFlow installation, it would typically pull in a newer version of TensorBoard. Release 1.11 fixed some problems with IPv6 but it may have exposed this problem for certain platform configurations where the python socket module claims to support IPv6 but the underlying system won't actually let you bind to the IPv6 wildcard. |
May be you can specify the --host parameter as your machine's hostname, I tried and it works. |
Notes: if use |
tensorboard --logdir ckpt/ --port 8012
E1221 10:23:28.750255 MainThread program.py:201] Tensorboard could not bind to unsupported address family ::
E1221 10:23:28.750255 140156928575296 program.py:201] Tensorboard could not bind to unsupported address family ::
ERROR: Tensorboard could not bind to unsupported address family ::
python -c 'from tensorboard import version; print(version.VERSION)'
1.12.0
The text was updated successfully, but these errors were encountered: