twinslash / redmine_omniauth_google

This plugin is used to authenticate in redmine through Google.
http://www.redmine.org/plugins/redmine_omniauth_google
96 stars 103 forks source link

no Signout possible #2

Closed viegelinsch closed 11 years ago

viegelinsch commented 11 years ago

Hi,

great plugin. But after installation I cannot signout anymore.

Error message as follows.

System is an Ubuntu 12.10 with inofficial ppa redmine install

kind regards -viegelinsch

Started POST "/redmine/logout" for CLIENTIP at Sat Mar 30 22:15:55 +0100 2013 Processing by AccountController#logout as HTML Parameters: {"authenticity_token"=>"..."} Current user: MEUSER (id=5) Redirected to https://HOST/redmine/ Completed 302 Found in 8ms (ActiveRecord: 1.0ms)

NoMethodError (undefined method options' for {}:Hash): rack (1.5.2) lib/rack/session/abstract/id.rb:329:incommit_session' rack (1.5.2) lib/rack/session/abstract/id.rb:226:in context' rack (1.5.2) lib/rack/session/abstract/id.rb:220:incall' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/cookies.rb:341:in call' /usr/lib/ruby/vendor_ruby/active_record/query_cache.rb:64:incall' /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/abstract/connection_pool.rb:479:in call' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:28:incall' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in _run__1096852384__call__4__callbacks' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:insend' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:405:in __run_callback' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:385:in_run_call_callbacks' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:in send' /usr/lib/ruby/vendor_ruby/active_support/callbacks.rb:81:inrun_callbacks' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/callbacks.rb:27:in call' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/remote_ip.rb:31:incall' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/debug_exceptions.rb:16:in call' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/show_exceptions.rb:56:incall' /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:32:in call_app' /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:16:incall' /usr/lib/ruby/vendor_ruby/active_support/tagged_logging.rb:22:in tagged' /usr/lib/ruby/vendor_ruby/rails/rack/logger.rb:16:incall' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/request_id.rb:22:in call' rack (1.5.2) lib/rack/methodoverride.rb:21:incall' rack (1.5.2) lib/rack/runtime.rb:17:in call' /usr/lib/ruby/vendor_ruby/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.5.2) lib/rack/lock.rb:17:in call' /usr/lib/ruby/vendor_ruby/action_dispatch/middleware/static.rb:63:incall' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:136:in forward' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:143:inpass' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:155:in invalidate' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:71:incall!' /usr/lib/ruby/vendor_ruby/rack/cache/context.rb:51:in call' /usr/lib/ruby/vendor_ruby/rails/engine.rb:479:incall' /usr/lib/ruby/vendor_ruby/rails/application.rb:223:in call' /usr/lib/ruby/vendor_ruby/rails/railtie/configurable.rb:30:insend' /usr/lib/ruby/vendor_ruby/rails/railtie/configurable.rb:30:in method_missing' /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/request_handler.rb:96:inprocess_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:516:in accept_and_process_next_request' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_request_handler.rb:274:inmain_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:321:in start_request_handler' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:275:insend' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:275:in handle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/utils.rb:479:insafe_fork' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:270:in handle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:insend' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in server_main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:instart_synchronously' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:180:in start' /usr/lib/ruby/vendor_ruby/phusion_passenger/classic_rails/application_spawner.rb:149:instart' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:219:in spawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:132:inlookup_or_add' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:214:in spawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:82:insynchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server_collection.rb:79:in synchronize' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:213:inspawn_rails_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:132:in spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/spawn_manager.rb:275:inhandle_spawn_application' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:in __send__' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:357:inserver_main_loop' /usr/lib/ruby/vendor_ruby/phusion_passenger/abstract_server.rb:206:in `start_synchronously' /usr/share/phusion-passenger/helper-scripts/passenger-spawn-server:99

gotva commented 11 years ago

it is strange. The plugin is not presented in backtrace output. And code in the plugin does not change redmine core logic. Could you try to temporarily remove the plugin, restart Redmine and try again to login/sign_out. Is the exception there?

gotva commented 11 years ago

It seems that the problem is not connected with our plugin. If after removing the plugin the problem will disappear fill free to reopen the issue