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

Photo Upload Error on Heroku but not development mode #44

Closed
ghost opened this issue Apr 22, 2017 · 5 comments
Closed

Photo Upload Error on Heroku but not development mode #44

ghost opened this issue Apr 22, 2017 · 5 comments

Comments

@ghost
Copy link

ghost commented Apr 22, 2017

hello, i get an error when trying to upload a photo to a status

We're sorry, but something went wrong.

If you are the application owner check the logs for more information.

@scaffeinate
Copy link
Owner

@jrenna100 Something messed up the database on heroku. Reset the whole app. Should work fine now. Everything is getting moved to Amazon EC2 pretty soon once v2.0 is released.

@ghost
Copy link
Author

ghost commented Apr 22, 2017

i get this error

Expected(200) <=> Actual(403 Forbidden) excon.error.response :body => "\nAccessDeniedAccess Denied52FBE8EAC6C855E6Qh96EIXbKw0ARLlB3kQ/KGByEiarcWFTIRZYArWUV3BXSdvx9MV+2Pv8Mg2bGEaUbE3vY48Az10=" :cookies => [ ] :headers => { "Connection" => "close" "Content-Type" => "application/xml" "Date" => "Sat, 22 Apr 2017 19:02:15 GMT" "Server" => "AmazonS3" "x-amz-id-2" => "Qh96EIXbKw0ARLlB3kQ/KGByEiarcWFTIRZYArWUV3BXSdvx9MV+2Pv8Mg2bGEaUbE3vY48Az10=" "x-amz-request-id" => "52FBE8EAC6C855E6" } :host => "socify.s3.amazonaws.com" :local_address => "172.17.220.62" :local_port => 41094 :path => "/uploads/post/attachment/3/3J2Q9e.jpg" :port => 443 :reason_phrase => "Forbidden" :remote_ip => "52.216.32.96" :status => 403 :status_line => "HTTP/1.1 403 Forbidden\r\n"

@scaffeinate
Copy link
Owner

@jrenna100 You need to setup S3 credentials. I can see you didn't change the bucket name so it's trying to upload to my bucket. I added the instructions in the Readme. Please refer and close this issue.
img_2513

@ghost
Copy link
Author

ghost commented Apr 22, 2017

sounds good thanks man!

@ghost ghost closed this as completed Apr 22, 2017
@scaffeinate
Copy link
Owner

@jrenna100 👍

This issue was closed.
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