Skip to content

Instantly share code, notes, and snippets.

@r3ap3r2004
Created May 28, 2012 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r3ap3r2004/2821603 to your computer and use it in GitHub Desktop.
Save r3ap3r2004/2821603 to your computer and use it in GitHub Desktop.
Doorkeeper Error
Started GET "/oauth/authorize?client_id=aa957fb21e60fe301126c5abe244db5e965d23ea3a71d178834e9cda18a4ad9a&response_type=code&redirect_uri=http%3A%2F%2Fmydomain.com%3A4000%2Fauth%2Fmydomainmethod%2Fcallback&scope=" for 127.0.0.1 at 2012-05-28 23:02:04 +0000
Processing by Doorkeeper::AuthorizationsController#new as HTML
Parameters: {"client_id"=>"aa957fb21e60fe301126c5abe244db5e965d23ea3a71d178834e9cda18a4ad9a", "response_type"=>"code", "redirect_uri"=>"http://mydomain.com:4000/auth/mydomainmethod/callback", "scope"=>""}
Redirected to http://mydomain.com:4000/auth/mydomainmethod/callback?code=8e3aa21259fda1336c5a6fb8d042207755161b231b794c676b4d1595133cb6ad
Completed 302 Found in 35ms (ActiveRecord: 14.7ms)
Started POST "/oauth/token?client_id=aa957fb21e60fe301126c5abe244db5e965d23ea3a71d178834e9cda18a4ad9a&redirect_uri=http%3A%2F%2Fmydomain.com%3A4000%2Fauth%2Fmydomainmethod%2Fcallback&code=8e3aa21259fda1336c5a6fb8d042207755161b231b794c676b4d1595133cb6ad&client_secret=0a410804646338927aca5f0d0bc0551247d7b6544959aeacf7040d0c18d0e36d&grant_type=authorization_code" for 127.0.0.1 at 2012-05-28 23:02:04 +0000
Processing by Doorkeeper::TokensController#create as */*
Parameters: {"client_id"=>"aa957fb21e60fe301126c5abe244db5e965d23ea3a71d178834e9cda18a4ad9a", "redirect_uri"=>"http://mydomain.com:4000/auth/mydomainmethod/callback", "code"=>"8e3aa21259fda1336c5a6fb8d042207755161b231b794c676b4d1595133cb6ad", "client_secret"=>"0a410804646338927aca5f0d0bc0551247d7b6544959aeacf7040d0c18d0e36d", "grant_type"=>"authorization_code"}
Completed 200 OK in 40ms (Views: 0.8ms | ActiveRecord: 14.4ms)
Started GET "/api/users/1.json?access_token=85e506c709489b33449f3610403d275095061b9baa26ef4b72d03dd6df52bcb7" for 127.0.0.1 at 2012-05-28 23:02:05 +0000
ActionView::MissingTemplate (Missing template myapp/api/v1/users/show, myapp/api/v1/base/show with {:locale=>[:en], :formats=>[:json], :handlers=>[:erb, :builder, :coffee, :rabl]}. Searched in:
* "/extensions/myapp_master/api/app/views"
* "/vagrant/app/views"
):
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/path_set.rb:58:in `find'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/lookup_context.rb:109:in `find'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/renderer/abstract_renderer.rb:3:in `find_template'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:34:in `determine_template'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/renderer/template_renderer.rb:10:in `render'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/renderer/renderer.rb:36:in `render_template'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_view/renderer/renderer.rb:17:in `render'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:110:in `_render_template'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:103:in `render_to_body'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:88:in `render'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:16:in `render'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:167:in `process_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:436:in `_run__2734616020642096352__process_action__1168874813743391485__callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/callbacks.rb:17:in `process_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal/rescue.rb:29:in `process_action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/base.rb:121:in `process'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/abstract_controller/rendering.rb:45:in `process'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal.rb:203:in `dispatch'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_controller/metal.rb:246:in `block in action'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:36:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600:in `call'
/extensions/myapp_master/core/lib/myapp/core/middleware/redirect_legacy_product_url.rb:13:in `call'
/extensions/myapp_master/core/lib/myapp/core/middleware/seo_assist.rb:27:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:479:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
/home.rvm/gems/ruby-1.9.3-p194/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/routing/route_set.rb:600:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/mongoid-2.4.10/lib/rack/mongoid/middleware/identity_map.rb:33:in `block in call'
/home.rvm/gems/ruby-1.9.3-p194/gems/mongoid-2.4.10/lib/mongoid.rb:133:in `unit_of_work'
/home.rvm/gems/ruby-1.9.3-p194/gems/mongoid-2.4.10/lib/rack/mongoid/middleware/identity_map.rb:33:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/client_side_validations-3.1.4/lib/client_side_validations/middleware.rb:18:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/warden-1.1.1/lib/warden/manager.rb:35:in `block in call'
/home.rvm/gems/ruby-1.9.3-p194/gems/warden-1.1.1/lib/warden/manager.rb:34:in `catch'
/home.rvm/gems/ruby-1.9.3-p194/gems/warden-1.1.1/lib/warden/manager.rb:34:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/head.rb:14:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/flash.rb:242:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/cookies.rb:338:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/query_cache.rb:64:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/activerecord-3.2.3/lib/active_record/connection_adapters/abstract/connection_pool.rb:467:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `_run__832507928436229969__call__3808678868120900398__callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:405:in `__run_callback'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/callbacks.rb:81:in `run_callbacks'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/rack/logger.rb:26:in `call_app'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/rack/logger.rb:16:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/request_id.rb:22:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/activesupport-3.2.3/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in `forward'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in `fetch'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in `lookup'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in `call!'
/home.rvm/gems/ruby-1.9.3-p194/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/engine.rb:479:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/application.rb:220:in `call'
/home.rvm/gems/ruby-1.9.3-p194/gems/railties-3.2.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
/home.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:531:in `process_client'
/home.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:606:in `worker_loop'
/home.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:487:in `spawn_missing_workers'
/home.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/lib/unicorn/http_server.rb:137:in `start'
/home.rvm/gems/ruby-1.9.3-p194/gems/unicorn-4.3.1/bin/unicorn:121:in `<top (required)>'
bin/unicorn:16:in `load'
bin/unicorn:16:in `<main>'
Rendered /home.rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.3/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (1.5ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment