-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
InvalidLocationConstraint when creating bucket #202
Comments
Enable S3Proxy trace logging and see what nodejs is providing, probably us-east-1. I investigated a similar issue earlier in aws/aws-sdk-js#919 but dropped it due to lack of understanding how to debug nodejs code. Perhaps S3Proxy should default to allowing us-east-1 as a constraint? |
@andrewgaul After debugging I found that nodejs is sending us-east-1 as the default region. This is causing the issue. |
@kishore25kumar I am glad that you found a workaround but I think S3Proxy should work out of box for nodejs users. Perhaps we should add a default |
Fixed by #277. |
We are using s3proxy to connect to azure storage. When we are creating a bucket using nodejs sdk I am getting InvalidLocationConstraint error. Here is the stack trace
If I use java sdk it works fine. After a little debugging I found that if I pass region as azureblob while creating the bucket then it is working fine.
The text was updated successfully, but these errors were encountered: