public
Created

Log Error

  • Download Gist
log
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
2012-09-26T13:50:21+00:00 app[web.1]: Started GET "/users/auth/facebook/callback?state=546f565165770bbd04a20a5e1a0fb2771fd3ac707d864bfd&code=AQD5F1ZbJJpnoA7FrnWTf1r3CmOXnvYgUHszrrLI94D1O7aOCz1TKi4INyTz4lfml891a2FX3HrWjB6mGJqsG2RzElXuZK5SxLPa0ds6gobW0bmr8R0fcnVlcdE4YJ9wrn1hPIGYfsykc30oCurbT20vbzInIxruKXG3a9cTaX7PO19rMXfLcgvVPLB6EY3MhMdv9hrN32koQQXM5c8WMeXh" for 201.22.227.49 at 2012-09-26 10:50:21 -0300
2012-09-26T13:50:21+00:00 app[web.1]: (facebook) Callback phase initiated.
2012-09-26T13:50:21+00:00 app[web.1]: (facebook) Authentication failure! invalid_credentials: OmniAuth::Strategies::OAuth2::CallbackError, OmniAuth::Strategies::OAuth2::CallbackError
2012-09-26T13:50:21+00:00 app[web.1]:
2012-09-26T13:50:21+00:00 app[web.1]: NameError (uninitialized constant Managers::OmniauthCallbacksController):
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:230:in `block in constantize'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `each'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/inflector/methods.rb:229:in `constantize'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/devise-2.1.2/lib/devise/omniauth.rb:19:in `block in <top (required)>'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:457:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:457:in `fail!'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-oauth2-1.1.0/lib/omniauth/strategies/oauth2.rb:80:in `rescue in callback_phase'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-oauth2-1.1.0/lib/omniauth/strategies/oauth2.rb:68:in `callback_phase'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:219:in `callback_call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:175:in `call!'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/omniauth-1.1.0/lib/omniauth/strategy.rb:157:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/rack/browser_monitoring.rb:12:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:35:in `block in call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `catch'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/warden-1.2.1/lib/warden/manager.rb:34:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/head.rb:14:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/flash.rb:242:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/cookies.rb:339:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/query_cache.rb:64:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:473:in `call'
2012-09-26T13:50:21+00:00 heroku[router]: GET www.gruboo.com/users/auth/facebook/callback?state=546f565165770bbd04a20a5e1a0fb2771fd3ac707d864bfd&code=AQD5F1ZbJJpnoA7FrnWTf1r3CmOXnvYgUHszrrLI94D1O7aOCz1TKi4INyTz4lfml891a2FX3HrWjB6mGJqsG2RzElXuZK5SxLPa0ds6gobW0bmr8R0fcnVlcdE4YJ9wrn1hPIGYfsykc30oCurbT20vbzInIxruKXG3a9cTaX7PO19rMXfLcgvVPLB6EY3MhMdv9hrN32koQQXM5c8WMeXh dyno=web.1 queue=0 wait=0ms service=32ms status=500 bytes=643
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `_run__2591770126372096195__call__1501601535982263095__callbacks'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:405:in `__run_callback'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/callbacks.rb:81:in `run_callbacks'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/sendfile.rb:102:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/rack/logger.rb:26:in `call_app'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/rack/logger.rb:16:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.8/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.8/lib/action_dispatch/middleware/static.rb:62:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/engine.rb:479:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/application.rb:223:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/railties-3.2.8/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531:in `process_client'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606:in `worker_loop'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:17:in `call'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.4.1/lib/new_relic/agent/instrumentation/unicorn_instrumentation.rb:17:in `block (4 levels) in <top (required)>'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487:in `spawn_missing_workers'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:137:in `start'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/gems/unicorn-4.3.1/bin/unicorn:121:in `<top (required)>'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/unicorn:23:in `load'
2012-09-26T13:50:21+00:00 app[web.1]: vendor/bundle/ruby/1.9.1/bin/unicorn:23:in `<main>'
2012-09-26T13:50:21+00:00 app[web.1]:
2012-09-26T13:50:21+00:00 app[web.1]:
routes.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# Start Manager
scope module: :managers, constraints: {subdomain: "manager"} do
#Devise
devise_for :managers,
:path => '/',
:path_names => { :sign_in => 'login', :sign_out => 'logout', :sign_up => 'register' },
:skip => [ :registrations ]
 
devise_scope :manager do
post 'register' => 'registrations#create', :as => :manager_registration
get 'register' => 'registrations#new', :as => :new_manager_registration
get 'edit' => 'registrations#edit', :as => :edit_manager_registration
put 'register' => 'registrations#update'
end
end
 
devise_for :users,
:path_names => { :sign_in => 'login', :sign_out => 'logout', :sign_up => 'register' },
:controllers => { :omniauth_callbacks => "users/omniauth_callbacks" },
:skip => [ :registrations ]
 
devise_scope :user do
post 'users/register' => 'devise/registrations#create', :as => :user_registration
get 'users/register' => 'devise/registrations#new', :as => :new_user_registration
get 'users/edit' => 'devise/registrations#edit', :as => :edit_user_registration
put 'users/register' => 'devise/registrations#update'
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.