{"action":"created","issue":{"url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/66","repository_url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer","labels_url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/66/comments","events_url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/66/events","html_url":"https://github.com/antek-drzewiecki/wine_bouncer/issues/66","id":179736549,"number":66,"title":"*** Exception NoMethodError in Rack application ob ject (undefined method `options' for nil:NilClass) ","user":{"login":"soonya","id":19407463,"avatar_url":"https://avatars.githubusercontent.com/u/19407463?v=3","gravatar_id":"","url":"https://api.github.com/users/soonya","html_url":"https://github.com/soonya","followers_url":"https://api.github.com/users/soonya/followers","following_url":"https://api.github.com/users/soonya/following{/other_user}","gists_url":"https://api.github.com/users/soonya/gists{/gist_id}","starred_url":"https://api.github.com/users/soonya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soonya/subscriptions","organizations_url":"https://api.github.com/users/soonya/orgs","repos_url":"https://api.github.com/users/soonya/repos","events_url":"https://api.github.com/users/soonya/events{/privacy}","received_events_url":"https://api.github.com/users/soonya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-28T10:32:32Z","updated_at":"2016-09-28T12:28:06Z","closed_at":null,"body":"Application uses \r\nrails-4.2\r\ngrape (0.17.0)\r\ndoorkeeper (2.1.4)\r\nwine_bouncer (1.0.1)\r\ngrape (0.17.0)\r\ndevise (4.2.0)\r\nomniauth (1.3.1)\r\nwarden (1.2.6)\r\nruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]\r\n4.4.0-38-generic #57-Ubuntu SMP Tue Sep 6 15:42:33 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\nI am getting this exception below while trying to sign_in with https://hostname/users/sign_in\r\n\r\nApp 15836 stderr: I, [2016-09-28T15:39:16.856433 #15924]  INFO -- : Started GET \"/users/sign_in\" for 127.0.0.1 at 2016-09-28 15:39:16 +0530\r\nApp 15836 stderr: \r\nApp 15836 stderr: NoMethodError: undefined method `options' for nil:NilClass\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/wine_bouncer-1.0.1/lib/wine_bouncer/auth_strategies/default.rb:23:in `endpoint_authorizations'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/wine_bouncer-1.0.1/lib/wine_bouncer/auth_strategies/default.rb:7:in `endpoint_protected?'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/wine_bouncer-1.0.1/lib/wine_bouncer/oauth2.rb:46:in `endpoint_protected?'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/wine_bouncer-1.0.1/lib/wine_bouncer/oauth2.rb:88:in `before'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/grape-0.17.0/lib/grape/middleware/base.rb:28:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/grape-0.17.0/lib/grape/middleware/base.rb:23:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:74:in `dispatch'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:43:in `serve'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/routing/mapper.rb:49:in `serve'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:43:in `block in serve'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `each'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/journey/router.rb:30:in `serve'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/routing/route_set.rb:819:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:186:in `call!'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/omniauth-1.3.1/lib/omniauth/strategy.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/config.rb:17:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/warden-1.2.6/lib/warden/manager.rb:35:in `block in call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/warden-1.2.6/lib/warden/manager.rb:34:in `catch'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/warden-1.2.6/lib/warden/manager.rb:34:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/params_parser.rb:27:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/flash.rb:260:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/cookies.rb:560:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/activerecord-4.2.1/lib/active_record/query_cache.rb:36:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/activerecord-4.2.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:88:in `_run_callbacks'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:776:in `_run_call_callbacks'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/activesupport-4.2.1/lib/active_support/callbacks.rb:81:in `run_callbacks'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/callbacks.rb:27:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/web-console-2.3.0/lib/web_console/middleware.rb:28:in `block in call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `catch'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/web-console-2.3.0/lib/web_console/middleware.rb:18:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/railties-4.2.1/lib/rails/rack/logger.rb:38:in `call_app'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/railties-4.2.1/lib/rails/rack/logger.rb:22:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/request_id.rb:21:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/static.rb:113:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/actionpack-4.2.1/lib/action_dispatch/middleware/ssl.rb:24:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/railties-4.2.1/lib/rails/engine.rb:518:in `call'\r\nApp 15836 stderr: \tfrom /home/soonya/.rvm/gems/ruby-2.3.1@rails-4.2/gems/railties-4.2.1/lib/rails/application.rb:164:in `call'\r\nApp 15836 stderr: \tfrom /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:97:in `process_request'\r\nApp 15836 stderr: \tfrom /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:152:in `accept_and_process_next_request'\r\nApp 15836 stderr: \tfrom /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:113:in `main_loop'\r\nApp 15836 stderr: \tfrom /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:416:in `block (3 levels) in start_threads'\r\nApp 15836 stderr: \tfrom /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:113:in `block in create_thread_and_abort_on_exception'"},"comment":{"url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/comments/250152432","html_url":"https://github.com/antek-drzewiecki/wine_bouncer/issues/66#issuecomment-250152432","issue_url":"https://api.github.com/repos/antek-drzewiecki/wine_bouncer/issues/66","id":250152432,"user":{"login":"texpert","id":2990033,"avatar_url":"https://avatars.githubusercontent.com/u/2990033?v=3","gravatar_id":"","url":"https://api.github.com/users/texpert","html_url":"https://github.com/texpert","followers_url":"https://api.github.com/users/texpert/followers","following_url":"https://api.github.com/users/texpert/following{/other_user}","gists_url":"https://api.github.com/users/texpert/gists{/gist_id}","starred_url":"https://api.github.com/users/texpert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/texpert/subscriptions","organizations_url":"https://api.github.com/users/texpert/orgs","repos_url":"https://api.github.com/users/texpert/repos","events_url":"https://api.github.com/users/texpert/events{/privacy}","received_events_url":"https://api.github.com/users/texpert/received_events","type":"User","site_admin":false},"created_at":"2016-09-28T12:28:06Z","updated_at":"2016-09-28T12:28:06Z","body":"Could you be more specific, please?!\r\nHow the sign_in is implemented (Rails or Grape controller)? What's the authentication workflow? "}}
{"actor":{"display_login":"texpert"}}