Created
June 12, 2014 04:05
-
-
Save jrgns/acc16946ec73102c6dbe to your computer and use it in GitHub Desktop.
OAuth2 Auth Error
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
Started GET "/search" for 127.0.0.1 at 2014-06-11 19:20:08 +0000 | |
ActiveRecord::SchemaMigration Load (5.5ms) SELECT "schema_migrations".* FROM "schema_migrations" | |
AccessToken Load (2.6ms) SELECT "access_tokens".* FROM "access_tokens" WHERE "access_tokens"."token" = 'O2_A6iGept7Ibgxd80rWUIV7g5txf_E9h90YNUFmb9BSujoIXQPAS24fLMAGIjHBTBgefcIv21GsokkTGCdfyA' LIMIT 1 | |
Client Load (1.9ms) SELECT "clients".* FROM "clients" WHERE "clients"."id" = $1 LIMIT 1 [["id", 1]] | |
AccessToken Exists (2.0ms) SELECT 1 AS one FROM "access_tokens" WHERE ("access_tokens"."token" = 'O2_A6iGept7Ibgxd80rWUIV7g5txf_E9h90YNUFmb9BSujoIXQPAS24fLMAGIjHBTBgefcIv21GsokkTGCdfyA' AND "access_tokens"."id" != 4) LIMIT 1 | |
Processing by SearchController#index as */* | |
AccessToken Load (5.4ms) SELECT "access_tokens".* FROM "access_tokens" WHERE "access_tokens"."token" = 4 LIMIT 1 | |
PG::UndefinedFunction: ERROR: operator does not exist: character varying = integer | |
LINE 1: ...OM "access_tokens" WHERE "access_tokens"."token" = 4 LIMIT ... | |
^ | |
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | |
: SELECT "access_tokens".* FROM "access_tokens" WHERE "access_tokens"."token" = 4 LIMIT 1 | |
Completed 500 Internal Server Error in 71ms | |
PG::UndefinedFunction - ERROR: operator does not exist: character varying = integer | |
LINE 1: ...OM "access_tokens" WHERE "access_tokens"."token" = 4 LIMIT ... | |
^ | |
HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts. | |
: | |
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:815:in `block in exec_no_cache' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract_adapter.rb:373:in `block in log' | |
activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract_adapter.rb:367:in `log' | |
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:815:in `exec_no_cache' | |
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:137:in `exec_query' | |
activerecord (4.1.1) lib/active_record/connection_adapters/postgresql_adapter.rb:947:in `select' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/database_statements.rb:31:in `select_all' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/query_cache.rb:67:in `block in select_all' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/query_cache.rb:82:in `cache_sql' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/query_cache.rb:67:in `select_all' | |
activerecord (4.1.1) lib/active_record/querying.rb:39:in `find_by_sql' | |
activerecord (4.1.1) lib/active_record/relation.rb:603:in `exec_queries' | |
activerecord (4.1.1) lib/active_record/relation.rb:487:in `load' | |
activerecord (4.1.1) lib/active_record/relation.rb:231:in `to_a' | |
activerecord (4.1.1) lib/active_record/relation/finder_methods.rb:451:in `find_take' | |
activerecord (4.1.1) lib/active_record/relation/finder_methods.rb:98:in `take' | |
activerecord (4.1.1) lib/active_record/relation/finder_methods.rb:81:in `find_by' | |
activerecord (4.1.1) lib/active_record/querying.rb:7:in `find_by' | |
activerecord (4.1.1) lib/active_record/dynamic_matchers.rb:70:in `find_by_token' | |
activerecord (4.1.1) lib/active_record/dynamic_matchers.rb:24:in `method_missing' | |
() vagrant/app/controllers/concerns/client_authentication.rb:11:in `require_oauth_token' | |
() vagrant/app/controllers/concerns/client_authentication.rb:22:in `require_oauth_client_token' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:424:in `block in make_lambda' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:160:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:229:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:166:in `block in halting' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:86:in `run_callbacks' | |
actionpack (4.1.1) lib/abstract_controller/callbacks.rb:19:in `process_action' | |
actionpack (4.1.1) lib/action_controller/metal/rescue.rb:29:in `process_action' | |
actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action' | |
activesupport (4.1.1) lib/active_support/notifications.rb:159:in `block in instrument' | |
activesupport (4.1.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument' | |
activesupport (4.1.1) lib/active_support/notifications.rb:159:in `instrument' | |
actionpack (4.1.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action' | |
actionpack (4.1.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action' | |
activerecord (4.1.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action' | |
actionpack (4.1.1) lib/abstract_controller/base.rb:136:in `process' | |
actionview (4.1.1) lib/action_view/rendering.rb:30:in `process' | |
actionpack (4.1.1) lib/action_controller/metal.rb:195:in `dispatch' | |
actionpack (4.1.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch' | |
actionpack (4.1.1) lib/action_controller/metal.rb:231:in `block in action' | |
actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch' | |
actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:48:in `call' | |
actionpack (4.1.1) lib/action_dispatch/journey/router.rb:71:in `block in call' | |
actionpack (4.1.1) lib/action_dispatch/journey/router.rb:59:in `call' | |
actionpack (4.1.1) lib/action_dispatch/routing/route_set.rb:676:in `call' | |
rack-oauth2 (1.0.8) lib/rack/oauth2/server/resource.rb:20:in `call' | |
rack-oauth2 (1.0.8) lib/rack/oauth2/server/resource/bearer.rb:8:in `call' | |
warden (1.2.3) lib/warden/manager.rb:35:in `block in call' | |
warden (1.2.3) lib/warden/manager.rb:34:in `call' | |
rack (1.5.2) lib/rack/etag.rb:23:in `call' | |
rack (1.5.2) lib/rack/conditionalget.rb:25:in `call' | |
rack (1.5.2) lib/rack/head.rb:11:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/flash.rb:254:in `call' | |
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context' | |
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/cookies.rb:560:in `call' | |
activerecord (4.1.1) lib/active_record/query_cache.rb:36:in `call' | |
activerecord (4.1.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:621:in `call' | |
activerecord (4.1.1) lib/active_record/migration.rb:380:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call' | |
activesupport (4.1.1) lib/active_support/callbacks.rb:82:in `run_callbacks' | |
actionpack (4.1.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/reloader.rb:73:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call' | |
better_errors (1.1.0) lib/better_errors/middleware.rb:84:in `protected_app_call' | |
better_errors (1.1.0) lib/better_errors/middleware.rb:79:in `better_errors_call' | |
better_errors (1.1.0) lib/better_errors/middleware.rb:56:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call' | |
railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app' | |
railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call' | |
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged' | |
activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged' | |
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged' | |
railties (4.1.1) lib/rails/rack/logger.rb:20:in `call' | |
quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets' | |
actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call' | |
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call' | |
rack (1.5.2) lib/rack/runtime.rb:17:in `call' | |
activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call' | |
rack (1.5.2) lib/rack/lock.rb:17:in `call' | |
actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call' | |
rack (1.5.2) lib/rack/sendfile.rb:112:in `call' | |
railties (4.1.1) lib/rails/engine.rb:514:in `call' | |
railties (4.1.1) lib/rails/application.rb:144:in `call' | |
rack (1.5.2) lib/rack/content_length.rb:14:in `call' | |
puma (2.8.1) lib/puma/server.rb:490:in `handle_request' | |
puma (2.8.1) lib/puma/server.rb:361:in `process_client' | |
puma (2.8.1) lib/puma/server.rb:254:in `block in run' | |
puma (2.8.1) lib/puma/thread_pool.rb:92:in `block in spawn_thread' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment