-
Notifications
You must be signed in to change notification settings - Fork 434
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
By default Ice fails to use S3 on eu-central-1 #215
Comments
hi, thanks for this information - but this does not fix my installation :-/ #!/bin/bash AWS_PROFILE=dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I configured all the things in AWS as explained in the README of Ice and as we are mostly (99%) using AWS from eu-central-1, I setup the S3 bucket to hold the billing reports on this datacenter.
After starting up and download the instances prices and everything, it successfully manages to download some things from this bucket on eu-central-1 but eventually fails with the following error:
(running from Docker Compose)
It was hard to find more information, but I managed to upgrade the log levels, saw the actual HTTP HEAD query made and tried to do the same with a GET instead and I got the following error message instead:
For some reason, this mechanism is not used directly and I guess that's why it fails on eu-central-1 which doesn't support other mechanism (as far as I understand).
It looks like #193 is here to address this problem although both the explanation and the fix are confusing.
After looking more closely at the code, it appears that if I set the
EC2_REGION
system property toeu-central-1
at startup it solves the problem, but:It would be cool if at least the first point could be addressed so users using other regions than the US ones are also able to start Ice, although I'm not sure exactly why this setting was introduced in the first place.
Probably a better fix would be to use the
GetLocation
method on the bucket to get where the location of the bucket is and set the correct endpoint then.The text was updated successfully, but these errors were encountered: