Ipv6 address treated as hostnamem getaddrinfo ENOTFOUND [fd00:ec2::23]
Checkboxes for prior research
- [X] I've gone through Developer Guide and API reference
- [X] I've checked AWS Forums and StackOverflow.
- [X] I've searched for previous similar issues and didn't find any solution.
Describe the bug
When using podidentity with eks the ip [fd00:ec2::23] is treated as a hostname.
Regression Issue
- [ ] Select this option if this issue appears to be a regression.
SDK version number
@aws-sdk/[email protected]
Which JavaScript Runtime is this issue in?
Node.js
Details of the browser/Node.js/ReactNative version
22.9.0
Reproduction Steps
- EKS Cluster running ipv6
- Use podidentity
- Use the s3-client lib to access s3 authenticated via podidentity
Observed Behavior
Tries to resolve [fd00:ec2::23] via dns
Expected Behavior
Should not try to resolve the ip via dns.
Possible Solution
No response
Additional Information/Context
EKS ipv6
Fixed in https://github.com/smithy-lang/smithy-typescript/pull/1408
Actually I’ll leave this issue open until smithy is bumped.
Workaround until the minimum version is bumped is to update your lockfile or make a fresh install.
The minimum node-http-handler dependency version in the current version of the SDK is high enough to guarantee including the fix, so I'm closing this now.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.