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

How to specify ai_family explicitly #399

Open
NEWPLAN opened this issue Dec 4, 2024 · 1 comment
Open

How to specify ai_family explicitly #399

NEWPLAN opened this issue Dec 4, 2024 · 1 comment

Comments

@NEWPLAN
Copy link

NEWPLAN commented Dec 4, 2024

we note that gloo supports ipv4 and ipv6 by setting ai_family = AF_UNSPEC and deciding a real one at runtime. However, in our cluster, we got an exception about ai_family mismatching. Our cluster contains both ipv4 and ipv6 network stacks. How can we specify ai_family explicitly?

We run pyroch, and get below exception.
RuntimeError: [enforce fail at ../third_party/gloo/gloo/transport/tcp/device.cc:276] ss1.ss_family == ss2.ss_family. 2 vs 10

@c-p-i-o
Copy link
Contributor

c-p-i-o commented Jan 31, 2025

This will require a code change in device.cc. The code should be able to handle both IPV4 & IPV6.

We can take a PR if you have one?

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

2 participants