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

Can't upload to Amazon s3 Error executing "CreateBucket" #128

Open
Punksolid opened this issue Sep 1, 2017 · 2 comments
Open

Can't upload to Amazon s3 Error executing "CreateBucket" #128

Punksolid opened this issue Sep 1, 2017 · 2 comments

Comments

@Punksolid
Copy link

I have it working on my localhost but in production even if I have the same configurations with exactly the same API_KEY and SECRET_KEY doesn't work. I tried putting a bucket that I created manually and another that doesn't exists, none of them worked. I think it is maybe a bug with aws-sdk-php but I don't have any idea what could be wrong.

Then, the response sends this message:

""" Error executing "CreateBucket" on "http://rsbucketalphad4.s3-us-west-2.amazonaws.com/"; AWS HTTP error: Client error: PUT http://rsbucketalphad4.s3-us-west-2.amazonaws.com/` resulted in a 403 Forbidden response:\n

\n

AccessDeniedAccess DeniedDCBF25 (truncated...)\n
AccessDenied (client): Access Denied - \n
AccessDeniedAccess DeniedDCBF25BF8A4D35B8J/1zgLRO/1jSux0U2yyEW3eH24dYFJvgqD29w7maVlWzY7z5H0h7GQRThcUjCCSvTQY2PN4AxCI=
"""`

@Punksolid
Copy link
Author

Don't know what's the error though, but I found that actually both request were pointing to different controllers, as I see there I have the same code in both. So now I'm pointing to the endpoint that works.

@Punksolid
Copy link
Author

Punksolid commented Sep 1, 2017

The error persists, it wasn't the endpoint. It is exactly the same code that I have in localhost where it works. Sorry for posting too many messages.

@Punksolid Punksolid reopened this Sep 1, 2017
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

1 participant