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

Enable IPv6 in dokken tests #590

Merged
merged 2 commits into from
Jun 20, 2023

Conversation

Firefishy
Copy link
Member

No description provided.

@Firefishy
Copy link
Member Author

Annoyingly it seems npm (and node) use IPv6 addresses by default over IPv4 addresses and does not fallback.

  • node --network-family-autoselection is available in very recent node versions to enable Happy Eyeballs, but requires bleeding edge fixes to work properly.
  • Alternative is to change precedence back to IPv4 eg: node --dns-result-order=ipv4first "$(which npm)"

@tomhughes tomhughes force-pushed the enabled-ipv6-for-tests branch from 13b8797 to 1f0986c Compare June 15, 2023 21:39
@tomhughes
Copy link
Member

I think the solution is to use a ULA adddress instead of 2001:db8 as ULA addresses are treated as lower priority than IPv4 when resolving names. I've added a commit to test that out...

@tomhughes tomhughes merged commit 7b5fc0a into openstreetmap:master Jun 20, 2023
@Firefishy Firefishy deleted the enabled-ipv6-for-tests branch June 20, 2023 17:41
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

Successfully merging this pull request may close these issues.

2 participants