My setup was working fine until I switched from RVM to CHRuby.
When I restarted the server and loaded the local page, I got a dialog box that looked like this.
I clicked 'Deny', but went back and enabled the firewall settings for ruby. https://i.stack.imgur.com/5ExwV.jpg
I have checked my IAM security credentials and everything matches what is in the carrierwave initializer.
After some other testing I found that:
When I use other carrierwave uploaders within in the app, the images updates fine. This leads me to believe my AWS security settings are fine.
A new photo saves just fine when excluding :image in params hash
@photo = Photo.new(photo_params.except("image"))
Could this be a datatabe issue within Postgres. I just switched from SQlite to Postgres
My setup is
gem 'fog'
gem 'mini_magick'
gem 'carrierwave'
While trying to save a new record I now get the following error
Completed 500 Internal Server Error in 8522ms
Excon::Errors::SocketError - Bad address (Errno::EFAULT):
excon (0.44.4) lib/excon/errors.rb:17:in initialize'
excon (0.44.4) lib/excon/connection.rb:175:in
rescue in request_call'
excon (0.44.4) lib/excon/connection.rb:101:in request_call'
excon (0.44.4) lib/excon/middlewares/mock.rb:47:in
request_call'
excon (0.44.4) lib/excon/middlewares/instrumentor.rb:22:in request_call'
excon (0.44.4) lib/excon/middlewares/base.rb:15:in
request_call'
excon (0.44.4) lib/excon/middlewares/base.rb:15:in request_call'
excon (0.44.4) lib/excon/middlewares/base.rb:15:in
request_call'
excon (0.44.4) lib/excon/connection.rb:233:in request'
excon (0.44.4) lib/excon/middlewares/idempotent.rb:26:in
error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in
error_call'
excon (0.44.4) lib/excon/connection.rb:256:in rescue in request'
excon (0.44.4) lib/excon/connection.rb:204:in
request'
excon (0.44.4) lib/excon/middlewares/idempotent.rb:26:in error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in
error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in error_call'
excon (0.44.4) lib/excon/connection.rb:256:in
rescue in request'
excon (0.44.4) lib/excon/connection.rb:204:in request'
excon (0.44.4) lib/excon/middlewares/idempotent.rb:26:in
error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in error_call'
excon (0.44.4) lib/excon/middlewares/base.rb:10:in
error_call'
excon (0.44.4) lib/excon/connection.rb:256:in rescue in request'
excon (0.44.4) lib/excon/connection.rb:204:in
request'
fog-core (1.29.0) lib/fog/core/connection.rb:81:in request'
fog-xml (0.1.1) lib/fog/xml/connection.rb:9:in
request'
fog-aws (0.1.1) lib/fog/aws/storage.rb:587:in `_request'
and so on...