Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

User connexion problem #187

@JeremiePilette

Description

@JeremiePilette

Hi,
I have just finished to install CASInoApp-Master on the server.
I made a configuration to connect to my LDAP serveur.
When I login by using username and password of the user in my LDAP, I have this message "We're sorry, but something went wrong."

And my Apche2 logs :
App 2674 stderr: Started POST "/login" for 81.80.108.129 at 2017-06-23 17:38:58 +0200
App 2674 stderr: Processing by CASino::SessionsController#create as HTML
App 2674 stderr: Parameters: {"utf8"=>"✓", "authenticity_token"=>"bW02JxCbswRs8xWVNFe//hllj3MIhOcNeVS1k84mdFG9Jo/gOOiRmoanh338ZizefAVMUW+eIP36l8cdDml1FQ==", "lt"=>"LT-14982323281996-tcK023OSifmKniOCyZSgLKDjLAoKeyqPzqnyHACd", "username"=>"rpilette", "password"=>"[FILTERED]", "button"=>""}
App 2674 stderr: Completed 500 Internal Server Error in 45ms (ActiveRecord: 42.6ms)
App 2674 stderr:
App 2674 stderr: NoMethodError (undefined method each' for nil:NilClass): App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/casino-4.0.3/app/processors/casino/authentication_processor.rb:32:in block in authenticators'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/casino-4.0.3/app/processors/casino/authentication_processor.rb:31:in tap' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/casino-4.0.3/app/processors/casino/authentication_processor.rb:31:in authenticators'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/casino-4.0.3/app/processors/casino/authentication_processor.rb:8:in validate_login_credentials' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/casino-4.0.3/app/controllers/casino/sessions_controller.rb:23:in create'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/implicit_render.rb:4:in send_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:198:in process_action'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rendering.rb:10:in process_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:20:in block in process_action'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:117:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:555:in block (2 levels) in compile' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:505:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:92:in run_callbacks'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in _run_process_action_callbacks' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in run_callbacks'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/callbacks.rb:19:in process_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rescue.rb:29:in process_action'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:32:in block in process_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in block in instrument'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications/instrumenter.rb:20:in instrument' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/notifications.rb:164:in instrument'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/instrumentation.rb:30:in process_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/params_wrapper.rb:250:in process_action'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/railties/controller_runtime.rb:18:in process_action' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/abstract_controller/base.rb:137:in process'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionview-4.2.5.1/lib/action_view/rendering.rb:30:in process' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:196:in dispatch'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal/rack_delegation.rb:13:in dispatch' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_controller/metal.rb:237:in block in action'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:74:in dispatch'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:43:in serve' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in block in serve'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in each' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in serve'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/engine.rb:518:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in public_send' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in method_missing'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/mapper.rb:51:in serve' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:43:in block in serve'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in each' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/journey/router.rb:30:in serve'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/routing/route_set.rb:815:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/http_accept_language-2.0.5/lib/http_accept_language/middleware.rb:14:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:38:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/head.rb:13:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/params_parser.rb:27:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/flash.rb:260:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in context'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/cookies.rb:560:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/query_cache.rb:36:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.5.1/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:29:in block in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:88:in run_callbacks'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:778:in _run_call_callbacks' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/callbacks.rb:81:in run_callbacks'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/callbacks.rb:27:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/remote_ip.rb:78:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/debug_exceptions.rb:17:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/show_exceptions.rb:30:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:38:in call_app' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in block in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in block in tagged' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:26:in tagged'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/tagged_logging.rb:68:in tagged' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/rack/logger.rb:20:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/actionpack-4.2.5.1/lib/action_dispatch/middleware/request_id.rb:21:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.5.1/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2. App 2674 stderr: 5.1/lib/rails/engine.rb:518:in call'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/application.rb:165:in call' App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in public_send'
App 2674 stderr: vendor/bundle/ruby/2.1.0/gems/railties-4.2.5.1/lib/rails/railtie.rb:194:in method_missing' App 2674 stderr: /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:74:in process_request'
App 2674 stderr: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:141:in accept_and_process_next_request' App 2674 stderr: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:109:in main_loop'
App 2674 stderr: /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:455:in `block (3 levels) in start_threads'
App 2674 stderr:
App 2674 stderr:
Do you have an idea?
Thanks a lot
Jérémie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions