seporaitis / yum-s3-iam

Yum package manager plugin for private S3 repositories. Uses Amazon IAM & EC2 Roles.
Apache License 2.0
162 stars 99 forks source link

http[s]://s3.amazonaws.com/<bucket> URLs don't work #55

Closed mestudd closed 7 years ago

mestudd commented 7 years ago

I have URLs for repositories using https://s3.amazonaws.com/ prefixes. These do not work on my EC2 instances. I get an error: <urlopen error [Errno -2] Name or service not known>

mestudd commented 7 years ago

Created pull request #56 to fix.

mbrossard commented 7 years ago

Hi,

Sorry about the delay. I misunderstood the issue because of #56. I don't think the problem is really the region detection (even though you can work-around the issue with your changes) but the URL we choose to use based on the region. The region is need to use v4 signatures.

If you can confirm that it is working for you, I'll make a new release.

Sincerely, Mathias

mestudd commented 7 years ago

I can confirm that it is working for me.

Thanks.

mbrossard commented 7 years ago

Thank you for your help

mbrossard commented 7 years ago

Preparing 1.2.0 release