You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import{S3}from"@aws-sdk/client-s3";constregion="us-west-2";constuseDualstackEndpoint=true;// ARN for the accesspointconstBucket="arn:aws:s3:us-west-2:123456789012:accesspoint/trivikr-accesspoint-testing";constclient=newS3({ region, useDualstackEndpoint });awaitclient.listObjects({ Bucket });
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.
Describe the bug
The SDK sets incorrect hostname for Bucket containing accesspoint ARN when useDualstackEndpoint is enabled
Your environment
SDK version number
@aws-sdk/[email protected]
Is the issue in the browser/Node.js/ReactNative?
N/A
Details of the browser/Node.js/ReactNative version
Steps to reproduce
Code
Observed behavior
throws
getaddrinfo ENOTFOUND
error.Example output
Expected behavior
Sets correct hostname for Bucket containing accesspoint ARN when useDualstackEndpoint is enabled.
Additional context
Probably related to #3001
The text was updated successfully, but these errors were encountered: