Skip to content
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

S3 bucket eu-central-1 (Frankfurt) not working because of Sigv4 #1578

Open
youphyun opened this issue May 29, 2015 · 3 comments
Open

S3 bucket eu-central-1 (Frankfurt) not working because of Sigv4 #1578

youphyun opened this issue May 29, 2015 · 3 comments

Comments

@youphyun
Copy link

S3 buckets in the eu-central-1 (Frankfurt) region are not not working with trovebox.
I think this is because eu-central-1 only accepts Sigv4. I can confirm that S3 buckets in eu-west-1 (Ireland) are working though. I am not sure when Sigv4 is being rolled out to other regions but it is a potential problem that needs to be solved at some stage. For more details see: boto/boto#2741

[Thu May 28 12:09:29.443753 2015] [:error] [pid 837] [client x.x.x.x:58533] PHP Notice: curl_setopt(): CURLOPT_SSL_VERIFYHOST no longer accepts the value 1, value 2 will be used instead in /var/www/openphoto/src/libraries/external/aws/lib/requestcore/requestcore.class.php on line 613, referer: http://ec2-x-x-x-x.eu-central-1.compute.amazonaws.com/setup/3 [Thu May 28 12:09:29.491270 2015] [:error] [pid 837] [client x.x.x.x:58533] {severity:warn, description:"Uncaught exception (/var/www/openphoto/src/libraries/external/aws/lib/requestcore/requestcore.class.php:797): cURL resource: Resource id #24; cURL error: SSL: no alternative certificate subject name matches target host name 'trovebox.test.s3.amazonaws.com' (51)", additional:}, referer: http://ec2-x-x-x-x.eu-central-1.compute.amazonaws.com/setup/3

@truthtrap
Copy link

@joephein as far as i can see the AWS libraries are pretty old. a 'simple' upgrade should do the trick.

@jmathai
Copy link
Member

jmathai commented Jun 2, 2015

@truthtrap That's probably accurate. @joephein are you able to try and use the newer AWS sdk and see if that works?

@youphyun
Copy link
Author

youphyun commented Jun 2, 2015

Just a simple upgrade using?

apt-get update
apt-get upgrade

I am quite sure I have been going through this already as part of the https://github.com/photo/frontend/blob/master/documentation/guides/InstallationUbuntuApache.sh

I am using the Amazon Ubuntu Server 14.04 LTS (HVM) image.
I just have been going through https://getcomposer.org/doc/00-intro.md but I am not sure if this is what is needed. Also is there an easy way to change the S3 bucket that I use from eu-west to e-central? I do not mind if loosing anything since I am still testing. Can I just change it in the mysql tables without the need to go though the setup again?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants