Skip to content
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

Error while trying to connect to IPv6 cluster #670

Open
rvyaw opened this issue Feb 29, 2024 · 0 comments
Open

Error while trying to connect to IPv6 cluster #670

rvyaw opened this issue Feb 29, 2024 · 0 comments

Comments

@rvyaw
Copy link

rvyaw commented Feb 29, 2024

I've got a 2 node cluster running with IPv6 addresses and getting error while trying to make the connection as follows:

Note that the service is running as expected on the port and I'm able to telnet without any issues. Also making a socket connection using socket.socket using AF_INET6 () also works e.g. socket.socket(socket.AF_INET6, socket.SOCK_STREAM) and then sock.connect((ipv6_address, port)).

INFO:hazelcast.connection:Trying to connect to Address(host=fc00:10:202:125:210:16ff:faa5:5252, port=5701)
WARNING:hazelcast.connection:Error during initial connection to Address(host=fc00:10:202:125:210:16ff:faa5:5252, port=5701)
Traceback (most recent call last):
  File "/root/foo/lib64/python3.6/site-packages/hazelcast/connection.py", line 579, in _connect
    return get_or_connect_func(target).result()
  File "/root/foo/lib64/python3.6/site-packages/hazelcast/future.py", line 255, in result
    re_raise(self._exception, self._traceback)
  File "/root/foo/lib64/python3.6/site-packages/hazelcast/util.py", line 448, in re_raise
    raise exception.with_traceback(traceback)
socket.gaierror: [Errno -9] Address family for hostname not supported

Can anyone please help on this. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant