-
-
Save sud0n1m/6e19440df97882ca0242 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==> /web/discourse/shared/log/production.log <== | |
Started POST "/uploads" for 207.239.107.3 at 2013-05-21 23:52:13 +0000 | |
Processing by UploadsController#create as JSON | |
Parameters: {"topic_id"=>"1234", "files"=>[#<ActionDispatch::Http::UploadedFile:0x00000007cfc748 @original_filename="f355569bfae15731714951f7b52154c2.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"f355569bfae15731714951f7b52154c2.png\"\r\nContent-Type: image/png\r\n", @tempfile=#<File:/tmp/RackMultipart20130521-10375-tn117a>>]} | |
==> /web/discourse/shared/log/thin.3.log <== | |
[WARNING] fog: the specified s3 bucket name(betteremails-uploads/uploads/b/f) is not a valid dns name, which will negatively impact performance. For details see: http://docs.amazonwebservices.com/AmazonS3/latest/dev/BucketRestrictions.html | |
==> /web/discourse/shared/log/production.log <== | |
Completed 500 Internal Server Error in 1123ms | |
==> /web/discourse/shared/log/production_errors.log <== | |
<hash> | |
<date type="datetime">2013-05-21T23:52:14+00:00</date> | |
<guid>805d045f-53df-4ea4-bfd4-6307fed8590e</guid> | |
<user-id type="integer">1</user-id> | |
<request>{"topic_id"=>"1234", "files"=>[#<ActionDispatch::Http::UploadedFile:0x00000007cfc748 @original_filename="f355569bfae15731714951f7b52154c2.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"files[]\"; filename=\"f355569bfae15731714951f7b52154c2.png\"\r\nContent-Type: image/png\r\n", @tempfile=#<File:/tmp/RackMultipart20130521-10375-tn117a>>], "action"=>"create", "controller"=>"uploads"}</request> | |
<action>create</action> | |
<controller>uploads</controller> | |
<backtrace>/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/expects.rb:10:in `response_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:355:in `response' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:249:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/idempotent.rb:12:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/base.rb:10:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:262:in `rescue in request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:222:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/idempotent.rb:12:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/base.rb:10:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:262:in `rescue in request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:222:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/idempotent.rb:12:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/middlewares/base.rb:10:in `error_call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:262:in `rescue in request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/excon-0.22.1/lib/excon/connection.rb:222:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/fog-1.11.1/lib/fog/core/connection.rb:21:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/fog-1.11.1/lib/fog/aws/storage.rb:506:in `request' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/fog-1.11.1/lib/fog/aws/requests/storage/put_bucket.rb:36:in `put_bucket' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/fog-1.11.1/lib/fog/aws/models/storage/directory.rb:104:in `save' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/fog-1.11.1/lib/fog/core/collection.rb:52:in `create' | |
[RAILS_ROOT]/app/models/upload.rb:53:in `create_on_s3' | |
[RAILS_ROOT]/app/models/upload.rb:15:in `create_for' | |
[RAILS_ROOT]/app/controllers/uploads_controller.rb:9:in `create' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:167:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rendering.rb:10:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:513:in `_run__1165151956114350516__process_action__2552660280459315865__callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/callbacks.rb:17:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rescue.rb:29:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `block in instrument' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/notifications.rb:123:in `instrument' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/instrumentation.rb:29:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/base.rb:121:in `process' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/abstract_controller/rendering.rb:45:in `process' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal.rb:203:in `dispatch' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_controller/metal.rb:246:in `block in action' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:36:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/routing/route_set.rb:601:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:401:in `call_app!' | |
/web/discourse/shared/bundle/ruby/1.9.1/bundler/gems/omniauth-browserid-af62d667626c/lib/omniauth/strategies/browser_id.rb:19:in `other_phase' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:183:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:184:in `call!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/strategy.rb:164:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/omniauth-1.1.4/lib/omniauth/builder.rb:49:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/bundler/gems/message_bus-031a107bbe6e/lib/message_bus/rack/middleware.rb:42:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/conditionalget.rb:35:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/head.rb:14:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/params_parser.rb:21:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/flash.rb:242:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/cookies.rb:341:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/query_cache.rb:64:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `_run__3466777072090179364__call__2286760247337520786__callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:405:in `__run_callback' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/callbacks.rb:81:in `run_callbacks' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:32:in `call_app' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `block in call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/activesupport-3.2.12/lib/active_support/tagged_logging.rb:22:in `tagged' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/rack/logger.rb:16:in `call' | |
[RAILS_ROOT]/config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets' | |
[RAILS_ROOT]/config/initializers/silence_logger.rb:19:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/actionpack-3.2.12/lib/action_dispatch/middleware/request_id.rb:22:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/engine.rb:479:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/application.rb:223:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/railties-3.2.12/lib/rails/railtie/configurable.rb:30:in `method_missing' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:81:in `block in pre_process' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `catch' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:79:in `pre_process' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:54:in `process' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/connection.rb:39:in `receive_data' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/backends/base.rb:63:in `start' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/server.rb:159:in `start' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/controllers/controller.rb:86:in `start' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:187:in `run_command' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/lib/thin/runner.rb:152:in `run!' | |
/web/discourse/shared/bundle/ruby/1.9.1/gems/thin-1.5.1/bin/thin:6:in `<top (required)>' | |
/web/discourse/shared/bundle/ruby/1.9.1/bin/thin:23:in `load' | |
/web/discourse/shared/bundle/ruby/1.9.1/bin/thin:23:in `<main>'</backtrace> | |
<message>Expected(200) <=> Actual(403 Forbidden)</message> | |
<url>http://betteremails.org/uploads</url> | |
<exception-class>Excon::Errors::Forbidden</exception-class> | |
</hash> | |
==> /web/discourse/shared/log/production.log <== | |
Excon::Errors::Forbidden (Expected(200) <=> Actual(403 Forbidden)): | |
app/models/upload.rb:53:in `create_on_s3' | |
app/models/upload.rb:15:in `create_for' | |
app/controllers/uploads_controller.rb:9:in `create' | |
config/initializers/quiet_logger.rb:10:in `call_with_quiet_assets' | |
config/initializers/silence_logger.rb:19:in `call' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment