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
When using AccesssKeyId and SecretKeyId the blob storage throws a Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured exception when trying to connect to AWS. The issue is caused by line 57 on DefaultAmazonS3ClientFactory.cs.
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, configuration.Region);
should be replaced with
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, region);
This way its sending the actual region instead of the string with the region's name. This causes an issue because if the 3rd param is a string, then the client will think its an awsSessionToken thus no region is been selected.
The text was updated successfully, but these errors were encountered:
When using AccesssKeyId and SecretKeyId the blob storage throws a
Amazon.Runtime.AmazonClientException: No RegionEndpoint or ServiceURL configured
exception when trying to connect to AWS. The issue is caused by line 57 onDefaultAmazonS3ClientFactory.cs
.return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, configuration.Region);
should be replaced with
return new AmazonS3Client(configuration.AccessKeyId, configuration.SecretAccessKey, region);
This way its sending the actual region instead of the string with the region's name. This causes an issue because if the 3rd param is a string, then the client will think its an awsSessionToken thus no region is been selected.
The text was updated successfully, but these errors were encountered: