Foreman 3.1 Stable - Mail::AddressList can not parse |(null)|

hi,

we have a little authentication problem.

our foreman-server is using external authenticaion via FreeIPA (LDAP).
If we try to login the following issue appears in the logfile - production.log

could you please help us to analyze the issue ?

2022-01-21T16:44:51 [I|app|78870a9c] Started GET "/users/login" for <IP> at 2022-01-21 16:44:51 +0100
2022-01-21T16:44:51 [D|app|78870a9c] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:51 [I|app|78870a9c] Processing by UsersController#login as HTML
2022-01-21T16:44:51 [D|app|78870a9c] Cache read: failed_login_10.116.12.151
2022-01-21T16:44:51 [D|app|78870a9c] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:51 [I|app|78870a9c] Rendering users/login.html.erb within layouts/login
2022-01-21T16:44:51 [I|app|78870a9c] Rendered common/_login.html.erb (Duration: 5.0ms | Allocations: 6531)
2022-01-21T16:44:51 [I|app|78870a9c] Rendered users/login.html.erb within layouts/login (Duration: 11.5ms | Allocations: 13082)
2022-01-21T16:44:51 [I|app|78870a9c] Rendering layouts/base.html.erb
2022-01-21T16:44:51 [I|app|78870a9c] Rendered layouts/base.html.erb (Duration: 9.1ms | Allocations: 9190)
2022-01-21T16:44:51 [I|app|78870a9c] Completed 200 OK in 31ms (Views: 26.6ms | ActiveRecord: 1.4ms | Allocations: 30120)
2022-01-21T16:44:51 [D|app|78870a9c] Cache write: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43 ({:expires_in=>86400})
2022-01-21T16:44:59 [I|app|629b7057] Started GET "/notification_recipients" for 10.116.12.174 at 2022-01-21 16:44:59 +0100
2022-01-21T16:44:59 [D|app|629b7057] Cache read: _session_id:2::a7df4d66545307ff06d1fc565ef52d36af24866cae34a578ce2510e20249ed58
2022-01-21T16:44:59 [I|app|629b7057] Processing by NotificationRecipientsController#index as JSON
2022-01-21T16:44:59 [D|app|629b7057] Cache delete: views/tabs_and_title_records-6
2022-01-21T16:44:59 [D|tax|629b7057] Current location set to none
2022-01-21T16:44:59 [D|tax|629b7057] Current organization set to none
2022-01-21T16:44:59 [D|app|629b7057] Cache read: notification-6
2022-01-21T16:44:59 [D|not|629b7057] Cache Hit: notification, reading cache for notification-6
2022-01-21T16:44:59 [D|app|629b7057] Body: {"notifications":[]}
2022-01-21T16:44:59 [I|app|629b7057] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.4ms | Allocations: 2406)
2022-01-21T16:44:59 [D|app|629b7057] Cache write: _session_id:2::a7df4d66545307ff06d1fc565ef52d36af24866cae34a578ce2510e20249ed58 ({:expires_in=>86400})
2022-01-21T16:44:59 [I|app|60111443] Started POST "/users/login" for <IP> at 2022-01-21 16:44:59 +0100
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [I|app|60111443] Processing by UsersController#login as HTML
2022-01-21T16:44:59 [I|app|60111443] Parameters: {"login"=>{"login"=>"<username>", "password"=>"[FILTERED]"}, "authenticity_token"=>"lVqBta6ZUgcBlRgPvl7n5RISKwyDEUMq9HthmJIZFteCAVGJ1ESJCm4ckH8AEBcKXwRtDlTjH4vQEgiAC+A0Yw=="}
2022-01-21T16:44:59 [D|app|60111443] Cache read: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache delete: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [D|app|60111443] Cache delete: _session_id:acaba8ba2a4c2706bd6e4f62613a57f5
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:acaba8ba2a4c2706bd6e4f62613a57f5
2022-01-21T16:44:59 [W|app|60111443] Email address is invalid
2022-01-21T16:44:59 [I|app|60111443] Backtrace for 'Email address is invalid' error (Mail::Field::IncompleteParseError): Mail::AddressList can not parse |(null)|: Only able to parse up to "(null)"
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:33230:in `parse'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/elements/address.rb:192:in `parse'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/elements/address.rb:30:in `initialize'
60111443 | /usr/share/foreman/app/validators/email_validator.rb:8:in `new'
60111443 | /usr/share/foreman/app/validators/email_validator.rb:8:in `validate_each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:152:in `block in validate'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:149:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:149:in `validate'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:428:in `block in make_lambda'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:200:in `block (2 levels) in halting'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:605:in `block (2 levels) in default_terminator'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in `catch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in `block in default_terminator'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:201:in `block in halting'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `block in invoke_before'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `invoke_before'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:134:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in `_run_validate_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations.rb:406:in `run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations/callbacks.rb:117:in `block in run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:135:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in `_run_validation_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations/callbacks.rb:117:in `run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations.rb:337:in `valid?'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:68:in `valid?'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:84:in `perform_validations'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:47:in `save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in `block in save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in `transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in `save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/suppressor.rb:44:in `save'
60111443 | /usr/share/foreman/app/models/user.rb:345:in `block in find_or_create_external_user'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
60111443 | /usr/share/foreman/app/models/user.rb:342:in `find_or_create_external_user'
60111443 | /usr/share/foreman/app/services/sso/apache.rb:39:in `authenticated?'
60111443 | /usr/share/foreman/app/services/sso/apache.rb:39:in `authenticated?'
60111443 | /usr/share/foreman/app/controllers/users_controller.rb:124:in `login'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:195:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:30:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:139:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:41:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:22:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:254:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:33:in `serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:49:in `block in serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:834:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-dsl-2.4.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/static_dispatcher.rb:66:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/extractor/recorder.rb:137:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/cookies.rb:648:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:37:in `call_app'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:28:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/request_id.rb:27:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/executor.rb:14:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/engine.rb:527:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `public_send'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `method_missing'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in `block in call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/configuration.rb:249:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/request.rb:77:in `block in handle_request'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/request.rb:76:in `handle_request'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/server.rb:447:in `process_client'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [I|app|60111443] Failed to create external User '(null)': Email address is invalid, Username is invalid
2022-01-21T16:44:59 [D|app|60111443] Attempting to log into an auth source as <username> for account auto-creation
2022-01-21T16:44:59 [I|app|60111443] invalid user
2022-01-21T16:44:59 [W|app|60111443] Failed login attempt from <IP> with username '<username>'
2022-01-21T16:44:59 [D|app|60111443] Cache read: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache write: failed_login_<IP> ({:expires_in=>5 minutes})
2022-01-21T16:44:59 [I|app|60111443] Redirected to https://<node>/users/login
2022-01-21T16:44:59 [I|app|60111443] Completed 302 Found in 30ms (ActiveRecord: 8.1ms | Allocations: 6659)
2022-01-21T16:44:59 [D|app|60111443] Cache write: _session_id:2::b1e27402995391afd9696b998db23e629fc8602102b29eea8ae95e49e7a8d4a1 ({:expires_in=>86400})
2022-01-21T16:44:59 [I|app|a22970f1] Started GET "/users/login" for <IP> at 2022-01-21 16:44:59 +0100
2022-01-21T16:44:59 [D|app|a22970f1] Cache read: _session_id:2::b1e27402995391afd9696b998db23e629fc8602102b29eea8ae95e49e7a8d4a1
2022-01-21T16:44:59 [I|app|a22970f1] Processing by UsersController#login as HTML
2022-01-21T16:44:59 [D|app|a22970f1] Cache read: failed_login_<IP>
2022-01-21T16:44:59 [D|app|a22970f1] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:59 [I|app|a22970f1] Rendering users/login.html.erb within layouts/login
2022-01-21T16:44:59 [I|app|a22970f1] Rendered common/_login.html.erb (Duration: 4.8ms | Allocations: 6529)
2022-01-21T16:44:59 [I|app|a22970f1] Rendered users/login.html.erb within layouts/login (Duration: 10.9ms | Allocations: 13077)
2022-01-21T16:44:59 [I|app|a22970f1] Rendering layouts/base.html.erb
2022-01-21T16:44:59 [I|app|a22970f1] Rendered layouts/base.html.erb (Duration: 7.6ms | Allocations: 9029)
2022-01-21T16:44:59 [I|app|a22970f1] Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 1.4ms | Allocations: 29792)
2022-01-21T16:44:51 [I|app|78870a9c] Started GET "/users/login" for <IP> at 2022-01-21 16:44:51 +0100
2022-01-21T16:44:51 [D|app|78870a9c] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:51 [I|app|78870a9c] Processing by UsersController#login as HTML
2022-01-21T16:44:51 [D|app|78870a9c] Cache read: failed_login_<IP>
2022-01-21T16:44:51 [D|app|78870a9c] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:51 [I|app|78870a9c] Rendering users/login.html.erb within layouts/login
2022-01-21T16:44:51 [I|app|78870a9c] Rendered common/_login.html.erb (Duration: 5.0ms | Allocations: 6531)
2022-01-21T16:44:51 [I|app|78870a9c] Rendered users/login.html.erb within layouts/login (Duration: 11.5ms | Allocations: 13082)
2022-01-21T16:44:51 [I|app|78870a9c] Rendering layouts/base.html.erb
2022-01-21T16:44:51 [I|app|78870a9c] Rendered layouts/base.html.erb (Duration: 9.1ms | Allocations: 9190)
2022-01-21T16:44:51 [I|app|78870a9c] Completed 200 OK in 31ms (Views: 26.6ms | ActiveRecord: 1.4ms | Allocations: 30120)
2022-01-21T16:44:51 [D|app|78870a9c] Cache write: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43 ({:expires_in=>86400})
2022-01-21T16:44:59 [I|app|629b7057] Started GET "/notification_recipients" for 10.116.12.174 at 2022-01-21 16:44:59 +0100
2022-01-21T16:44:59 [D|app|629b7057] Cache read: _session_id:2::a7df4d66545307ff06d1fc565ef52d36af24866cae34a578ce2510e20249ed58
2022-01-21T16:44:59 [I|app|629b7057] Processing by NotificationRecipientsController#index as JSON
2022-01-21T16:44:59 [D|app|629b7057] Cache delete: views/tabs_and_title_records-6
2022-01-21T16:44:59 [D|tax|629b7057] Current location set to none
2022-01-21T16:44:59 [D|tax|629b7057] Current organization set to none
2022-01-21T16:44:59 [D|app|629b7057] Cache read: notification-6
2022-01-21T16:44:59 [D|not|629b7057] Cache Hit: notification, reading cache for notification-6
2022-01-21T16:44:59 [D|app|629b7057] Body: {"notifications":[]}
2022-01-21T16:44:59 [I|app|629b7057] Completed 200 OK in 14ms (Views: 0.2ms | ActiveRecord: 3.4ms | Allocations: 2406)
2022-01-21T16:44:59 [D|app|629b7057] Cache write: _session_id:2::a7df4d66545307ff06d1fc565ef52d36af24866cae34a578ce2510e20249ed58 ({:expires_in=>86400})
2022-01-21T16:44:59 [I|app|60111443] Started POST "/users/login" for <IP> at 2022-01-21 16:44:59 +0100
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [I|app|60111443] Processing by UsersController#login as HTML
2022-01-21T16:44:59 [I|app|60111443] Parameters: {"login"=>{"login"=>"<username>", "password"=>"[FILTERED]"}, "authenticity_token"=>"lVqBta6ZUgcBlRgPvl7n5RISKwyDEUMq9HthmJIZFteCAVGJ1ESJCm4ckH8AEBcKXwRtDlTjH4vQEgiAC+A0Yw=="}
2022-01-21T16:44:59 [D|app|60111443] Cache read: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:59 [D|app|60111443] Cache delete: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [D|app|60111443] Cache delete: _session_id:acaba8ba2a4c2706bd6e4f62613a57f5
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:2::b956f02cf8b684afed9e3ee77d8ceba66cc10dbe7e511e71f64530e9aeb0bf43
2022-01-21T16:44:59 [D|app|60111443] Cache read: _session_id:acaba8ba2a4c2706bd6e4f62613a57f5
2022-01-21T16:44:59 [W|app|60111443] Email address is invalid
2022-01-21T16:44:59 [I|app|60111443] Backtrace for 'Email address is invalid' error (Mail::Field::IncompleteParseError): Mail::AddressList can not parse |(null)|: Only able to parse up to "(null)"
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb:33230:in `parse'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/elements/address.rb:192:in `parse'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/mail-2.7.1/lib/mail/elements/address.rb:30:in `initialize'
60111443 | /usr/share/foreman/app/validators/email_validator.rb:8:in `new'
60111443 | /usr/share/foreman/app/validators/email_validator.rb:8:in `validate_each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:152:in `block in validate'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:149:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validator.rb:149:in `validate'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:428:in `block in make_lambda'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:200:in `block (2 levels) in halting'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:605:in `block (2 levels) in default_terminator'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in `catch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:604:in `block in default_terminator'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:201:in `block in halting'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `block in invoke_before'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:513:in `invoke_before'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:134:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in `_run_validate_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations.rb:406:in `run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations/callbacks.rb:117:in `block in run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:135:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:825:in `_run_validation_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations/callbacks.rb:117:in `run_validations!'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activemodel-6.0.3.7/lib/active_model/validations.rb:337:in `valid?'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:68:in `valid?'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:84:in `perform_validations'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/validations.rb:47:in `save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in `block in save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:212:in `transaction'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/transactions.rb:314:in `save'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/suppressor.rb:44:in `save'
60111443 | /usr/share/foreman/app/models/user.rb:345:in `block in find_or_create_external_user'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:108:in `as'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:114:in `as_anonymous_admin'
60111443 | /usr/share/foreman/app/models/user.rb:342:in `find_or_create_external_user'
60111443 | /usr/share/foreman/app/services/sso/apache.rb:39:in `authenticated?'
60111443 | /usr/share/foreman/app/services/sso/apache.rb:39:in `authenticated?'
60111443 | /usr/share/foreman/app/controllers/users_controller.rb:124:in `login'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:195:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rendering.rb:30:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:42:in `block in process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:112:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /usr/share/foreman/app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/audited-4.9.0/lib/audited/sweeper.rb:14:in `around'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:121:in `block in run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:139:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/callbacks.rb:41:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/rescue.rb:22:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:33:in `block in process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `block in instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications/instrumenter.rb:24:in `instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/notifications.rb:180:in `instrument'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/instrumentation.rb:32:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activerecord-6.0.3.7/lib/active_record/railties/controller_runtime.rb:27:in `process_action'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/abstract_controller/base.rb:136:in `process'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionview-6.0.3.7/lib/action_view/rendering.rb:39:in `process'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:190:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_controller/metal.rb:254:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:50:in `dispatch'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:33:in `serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:49:in `block in serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/journey/router.rb:32:in `serve'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/routing/route_set.rb:834:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-dsl-2.4.0/lib/apipie_dsl/static_dispatcher.rb:67:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/static_dispatcher.rb:66:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/extractor/recorder.rb:137:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/libvirt_connection_cleaner.rb:9:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/telemetry.rb:10:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.5.17/lib/apipie/middleware/checksum_in_headers.rb:27:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/tempfile_reaper.rb:15:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/etag.rb:27:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/conditional_get.rb:40:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/head.rb:12:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/http/content_security_policy.rb:18:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/logging_context_session.rb:22:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:266:in `context'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/session/abstract/id.rb:260:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/cookies.rb:648:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/callbacks.rb:101:in `run_callbacks'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/callbacks.rb:26:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/actionable_exceptions.rb:18:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/debug_exceptions.rb:32:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:37:in `call_app'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/rack/logger.rb:28:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/sprockets-rails-3.2.1/lib/sprockets/rails/quiet_assets.rb:13:in `call'
60111443 | /usr/share/foreman/lib/foreman/middleware/logging_context_request.rb:11:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/remote_ip.rb:81:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/request_id.rb:27:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/method_override.rb:24:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/runtime.rb:22:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/activesupport-6.0.3.7/lib/active_support/cache/strategy/local_cache_middleware.rb:29:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/executor.rb:14:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/static.rb:126:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/sendfile.rb:110:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/actionpack-6.0.3.7/lib/action_dispatch/middleware/host_authorization.rb:76:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-cors-1.0.2/lib/rack/cors.rb:97:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/secure_headers-6.3.0/lib/secure_headers/middleware.rb:11:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/engine.rb:527:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `public_send'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/railties-6.0.3.7/lib/rails/railtie.rb:190:in `method_missing'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:74:in `block in call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `each'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/rack-2.2.3/lib/rack/urlmap.rb:58:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/configuration.rb:249:in `call'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/request.rb:77:in `block in handle_request'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/thread_pool.rb:340:in `with_force_shutdown'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/request.rb:76:in `handle_request'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/server.rb:447:in `process_client'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/puma-5.5.0/lib/puma/thread_pool.rb:147:in `block in spawn_thread'
60111443 | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-2.3.0/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/organizations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache read: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
2022-01-21T16:44:59 [D|app|60111443] Cache fetch_hit: user//taxonomy_and_child_ids/locations ({:expires_in=>2 minutes})
session_id:2::b1e27402995391afd9696b998db23e629fc8602102b29eea8ae95e49e7a8d4a1
2022-01-21T16:44:59 [I|app|a22970f1] Processing by UsersController#login as HTML
2022-01-21T16:44:59 [D|app|a22970f1] Cache read: failed_login_<IP>
2022-01-21T16:44:59 [D|app|a22970f1] Cache fetch_hit: failed_login_<IP>
2022-01-21T16:44:59 [I|app|a22970f1] Rendering users/login.html.erb within layouts/login
2022-01-21T16:44:59 [I|app|a22970f1] Rendered common/_login.html.erb (Duration: 4.8ms | Allocations: 6529)
2022-01-21T16:44:59 [I|app|a22970f1] Rendered users/login.html.erb within layouts/login (Duration: 10.9ms | Allocations: 13077)
2022-01-21T16:44:59 [I|app|a22970f1] Rendering layouts/base.html.erb
2022-01-21T16:44:59 [I|app|a22970f1] Rendered layouts/base.html.erb (Duration: 7.6ms | Allocations: 9029)
2022-01-21T16:44:59 [I|app|a22970f1] Completed 200 OK in 27ms (Views: 23.4ms | ActiveRecord: 1.4ms | Allocations: 29792)

.

Expected outcome:

Outcome should be that authentication is working again.

Foreman and Proxy plugin versions:
foreman 3.1
foreman-proxy
foreman-openscap / scap-client
foreman_proxy::tftp
foreman_proxy::bmc
foreman_proxy::realm
foreman-proxy-discovery
foreman-proxy templates
foreman-proxy registration
foreman-proxy-dynflow (disabled)

foreman-debug-3.1.0-1.el7.noarch
foreman-dynflow-sidekiq-3.1.0-1.el7.noarch
foreman-libvirt-3.1.0-1.el7.noarch
foreman-openstack-3.1.0-1.el7.noarch
foreman-postgresql-3.1.0-1.el7.noarch
foreman-proxy-3.1.0-1.el7.noarch
foreman-selinux-3.1.0-1.el7.noarch
foreman-service-3.1.0-1.el7.noarch
puppet-agent-6.25.1-1.el7.x86_64
puppet-agent-oauth-0.5.5-1.el7.noarch
tfm-rubygem-actioncable-6.0.3.7-1.el7.noarch
tfm-rubygem-actionmailbox-6.0.3.7-1.el7.noarch
tfm-rubygem-actionmailer-6.0.3.7-1.el7.noarch
tfm-rubygem-actionpack-6.0.3.7-1.el7.noarch
tfm-rubygem-actiontext-6.0.3.7-1.el7.noarch
tfm-rubygem-actionview-6.0.3.7-1.el7.noarch
tfm-rubygem-activejob-6.0.3.7-1.el7.noarch
tfm-rubygem-activemodel-6.0.3.7-1.el7.noarch
tfm-rubygem-activerecord-6.0.3.7-1.el7.noarch
tfm-rubygem-activerecord-session_store-2.0.0-1.el7.noarch
tfm-rubygem-activestorage-6.0.3.7-1.el7.noarch
tfm-rubygem-activesupport-6.0.3.7-1.el7.noarch
tfm-rubygem-addressable-2.8.0-1.el7.noarch
tfm-rubygem-algebrick-0.7.3-8.el7.noarch
tfm-rubygem-ancestry-3.0.7-2.el7.noarch
tfm-rubygem-apipie-dsl-2.4.0-1.el7.noarch
tfm-rubygem-apipie-params-0.0.5-5.el7.noarch
tfm-rubygem-apipie-rails-0.5.17-4.el7.noarch
tfm-rubygem-audited-4.9.0-4.el7.noarch
tfm-rubygem-bcrypt-3.1.12-4.el7.x86_64
tfm-rubygem-builder-3.2.4-2.el7.noarch
tfm-rubygem-bundler_ext-0.4.1-6.el7.noarch
tfm-rubygem-colorize-0.8.1-2.el7.noarch
tfm-rubygem-concurrent-ruby-1.1.6-3.el7.noarch
tfm-rubygem-concurrent-ruby-edge-0.6.0-3.fm2_5.el7.noarch
tfm-rubygem-connection_pool-2.2.2-3.el7.noarch
tfm-rubygem-crass-1.0.6-2.el7.noarch
tfm-rubygem-css_parser-1.4.7-5.el7.noarch
tfm-rubygem-daemons-1.2.3-7.el7.noarch
tfm-rubygem-dalli-2.7.6-3.el7.noarch
tfm-rubygem-deacon-1.0.0-5.el7.noarch
tfm-rubygem-deep_cloneable-3.0.0-4.el7.noarch
tfm-rubygem-deface-1.5.3-3.el7.noarch
tfm-rubygem-diffy-3.0.1-6.el7.noarch
tfm-rubygem-domain_name-0.5.20160310-5.el7.noarch
tfm-rubygem-dynflow-1.6.2-1.fm3_1.el7.noarch
tfm-rubygem-erubi-1.9.0-2.el7.noarch
tfm-rubygem-excon-0.76.0-2.el7.noarch
tfm-rubygem-facter-4.0.51-2.el7.x86_64
tfm-rubygem-fast_gettext-1.4.1-5.el7.noarch
tfm-rubygem-ffi-1.12.2-2.el7.x86_64
tfm-rubygem-fog-core-2.1.0-4.el7.noarch
tfm-rubygem-fog-json-1.2.0-4.el7.noarch
tfm-rubygem-fog-libvirt-0.9.0-1.el7.noarch
tfm-rubygem-fog-openstack-1.0.8-4.el7.noarch
tfm-rubygem-fog-xml-0.1.2-9.el7.noarch
tfm-rubygem-foreman_bootdisk-18.0.0-1.fm3_1.el7.noarch
tfm-rubygem-foreman_dhcp_browser-0.0.8-5.fm2_5.el7.noarch
tfm-rubygem-foreman_discovery-19.0.1-1.fm3_1.el7.noarch
tfm-rubygem-foreman_expire_hosts-7.0.4-2.fm2_5.el7.noarch
tfm-rubygem-foreman_hooks-0.3.17-2.fm2_5.el7.noarch
tfm-rubygem-foreman_host_extra_validator-0.1.0-4.fm2_5.el7.noarch
tfm-rubygem-foreman_memcache-0.1.1-4.fm2_5.el7.noarch
tfm-rubygem-foreman_monitoring-2.1.0-2.fm2_5.el7.noarch
tfm-rubygem-foreman_openscap-5.1.0-1.fm3_1.el7.noarch
tfm-rubygem-foreman_puppet-2.0.0-1.fm3_1.el7.noarch
tfm-rubygem-foreman-tasks-5.2.0-1.fm3_1.el7.noarch
tfm-rubygem-foreman-tasks-core-0.3.6-1.fm2_5.el7.noarch
tfm-rubygem-foreman_templates-9.1.0-1.fm2_6.el7.noarch
tfm-rubygem-formatador-0.2.1-13.el7.noarch
tfm-rubygem-friendly_id-5.3.0-2.el7.noarch
tfm-rubygem-get_process_mem-0.2.7-2.el7.noarch
tfm-rubygem-gettext_i18n_rails-1.8.0-3.el7.noarch
tfm-rubygem-git-1.5.0-2.el7.noarch
tfm-rubygem-gitlab-sidekiq-fetcher-0.6.0-2.el7.noarch
tfm-rubygem-globalid-0.4.2-2.el7.noarch
tfm-rubygem-graphql-1.8.14-3.el7.noarch
tfm-rubygem-graphql-batch-0.3.10-3.el7.noarch
tfm-rubygem-gssapi-1.2.0-8.el7.noarch
tfm-rubygem-highline-2.0.3-2.el7.noarch
tfm-rubygem-hocon-1.3.1-2.el7.noarch
tfm-rubygem-http-cookie-1.0.2-5.el7.noarch
tfm-rubygem-i18n-1.8.2-2.el7.noarch
tfm-rubygem-ipaddress-0.8.0-13.el7.noarch
tfm-rubygem-jwt-2.2.2-2.el7.noarch
tfm-rubygem-ldap_fluff-0.6.0-1.el7.noarch
tfm-rubygem-little-plugger-1.1.4-3.el7.noarch
tfm-rubygem-logging-2.3.0-2.el7.noarch
tfm-rubygem-loofah-2.4.0-2.el7.noarch
tfm-rubygem-mail-2.7.1-2.el7.noarch
tfm-rubygem-marcel-1.0.1-1.el7.noarch
tfm-rubygem-method_source-0.9.2-3.el7.noarch
tfm-rubygem-mime-types-3.3.1-2.el7.noarch
tfm-rubygem-mime-types-data-3.2018.0812-5.el7.noarch
tfm-rubygem-mini_mime-1.0.2-2.el7.noarch
tfm-rubygem-mini_portile2-2.5.1-1.el7.noarch
tfm-rubygem-msgpack-1.3.3-2.el7.x86_64
tfm-rubygem-multi_json-1.14.1-3.el7.noarch
tfm-rubygem-mustermann-1.1.1-1.el7.noarch
tfm-rubygem-net_http_unix-0.2.2-2.el7.noarch
tfm-rubygem-net-ldap-0.17.0-2.el7.noarch
tfm-rubygem-net-ping-2.0.1-5.el7.noarch
tfm-rubygem-netrc-0.11.0-6.el7.noarch
tfm-rubygem-net-scp-1.2.1-5.el7.noarch
tfm-rubygem-net-ssh-4.2.0-3.el7.noarch
tfm-rubygem-nio4r-2.5.4-2.el7.x86_64
tfm-rubygem-nokogiri-1.11.3-2.el7.x86_64
tfm-rubygem-oauth-0.5.4-5.el7.noarch
tfm-rubygem-openscap-0.4.9-6.el7.noarch
tfm-rubygem-openscap_parser-1.0.2-2.el7.noarch
tfm-rubygem-parallel-1.19.1-2.el7.noarch
tfm-rubygem-parse-cron-0.1.4-5.fm2_5.el7.noarch
tfm-rubygem-pg-1.1.4-4.el7.x86_64
tfm-rubygem-polyglot-0.3.5-3.el7.noarch
tfm-rubygem-promise.rb-0.7.4-3.el7.noarch
tfm-rubygem-public_suffix-3.0.3-3.el7.noarch
tfm-rubygem-puma-5.5.0-1.el7.x86_64
tfm-rubygem-puma-status-1.3-1.el7.noarch
tfm-rubygem-puppetdb_foreman-5.0.0-3.fm2_5.el7.noarch
tfm-rubygem-rabl-0.14.3-2.el7.noarch
tfm-rubygem-racc-1.5.2-1.el7.x86_64
tfm-rubygem-rack-2.2.3-2.el7.noarch
tfm-rubygem-rack-cors-1.0.2-3.el7.noarch
tfm-rubygem-rack-jsonp-1.3.1-10.el7.noarch
tfm-rubygem-rack-protection-2.1.0-2.el7.noarch
tfm-rubygem-rack-test-1.1.0-5.el7.noarch
tfm-rubygem-rails-6.0.3.7-1.el7.noarch
tfm-rubygem-rails-dom-testing-2.0.3-7.el7.noarch
tfm-rubygem-rails-html-sanitizer-1.3.0-2.el7.noarch
tfm-rubygem-rails-i18n-6.0.0-3.el7.noarch
tfm-rubygem-railties-6.0.3.7-1.el7.noarch
tfm-rubygem-rainbow-2.2.2-1.el7.noarch
tfm-rubygem-rb-inotify-0.9.7-6.el7.noarch
tfm-rubygem-record_tag_helper-1.0.1-4.el7.noarch
tfm-rubygem-redfish_client-0.5.2-2.el7.noarch
tfm-rubygem-redis-4.1.2-3.el7.noarch
tfm-rubygem-responders-3.0.0-4.el7.noarch
tfm-rubygem-rest-client-2.0.2-4.el7.noarch
tfm-rubygem-rkerberos-0.1.5-20.el7.x86_64
tfm-rubygem-roadie-3.4.0-4.el7.noarch
tfm-rubygem-roadie-rails-2.1.1-3.el7.noarch
tfm-rubygem-rsec-0.4.3-5.el7.noarch
tfm-rubygem-ruby2_keywords-0.0.4-1.el7.noarch
tfm-rubygem-ruby2ruby-2.4.2-4.el7.noarch
tfm-rubygem-rubyipmi-0.11.0-1.el7.noarch
tfm-rubygem-ruby-libvirt-0.7.1-2.el7.x86_64
tfm-rubygem-ruby_parser-3.10.1-4.el7.noarch
tfm-rubygem-safemode-1.3.6-2.el7.noarch
tfm-rubygem-scoped_search-4.1.9-2.el7.noarch
tfm-rubygem-sd_notify-0.1.0-2.el7.noarch
tfm-rubygem-secure_headers-6.3.0-3.el7.noarch
tfm-rubygem-sequel-5.42.0-2.el7.noarch
tfm-rubygem-server_sent_events-0.1.2-2.el7.noarch
tfm-rubygem-sexp_processor-4.10.0-7.el7.noarch
tfm-rubygem-sidekiq-5.2.7-4.el7.noarch
tfm-rubygem-sinatra-2.1.0-2.el7.noarch
tfm-rubygem-smart_proxy_discovery-1.0.5-7.fm2_5.el7.noarch
tfm-rubygem-smart_proxy_monitoring-0.1.2-7.fm2_5.el7.noarch
tfm-rubygem-smart_proxy_openscap-0.9.1-1.fm2_6.el7.noarch
tfm-rubygem-sprockets-4.0.2-2.el7.noarch
tfm-rubygem-sprockets-rails-3.2.1-7.el7.noarch
tfm-rubygem-sshkey-1.9.0-5.el7.noarch
tfm-rubygem-statsd-instrument-2.1.4-4.el7.noarch
tfm-rubygem-thor-1.0.1-3.el7.noarch
tfm-rubygem-thread_safe-0.3.6-6.el7.noarch
tfm-rubygem-tilt-2.0.8-5.el7.noarch
tfm-rubygem-tzinfo-1.2.6-2.el7.noarch
tfm-rubygem-unf-0.1.3-9.el7.noarch
tfm-rubygem-unf_ext-0.0.7.2-4.el7.x86_64
tfm-rubygem-validates_lengths_from_database-0.5.0-8.el7.noarch
tfm-rubygem-webpack-rails-0.9.8-6.el7.noarch
tfm-rubygem-websocket-driver-0.7.1-2.el7.x86_64
tfm-rubygem-websocket-extensions-0.1.5-2.el7.noarch
tfm-rubygem-will_paginate-3.1.7-4.el7.noarch
tfm-rubygem-xmlrpc-0.3.0-3.el7.noarch
tfm-rubygem-zeitwerk-2.2.2-2.el7.noarch
tfm-runtime-7.0-4.el7.x86_64

Distribution and version:

  • CentOS - 7.9.2009 (x86_64)

Other relevant data:
foreman and foreman-proxy installed via puppet-modules from puppetforge

@ekohl we would really appreciate that if you could support us again :slight_smile:

can anyone support ? @ezr-ondrej @tbrisker ?

Foreman require users to have an e-mail address, but IPA does not, so I believe the issue is that the user you’re trying to login with does not have an email address filled out.

We’ve changed the integration a bit, so it can be an issue on our side. Could you verify the user you’re trying to login with has an e-mail address and that you did not change the way you integrate with FreeIPA please?

If nothing has changed on your side and the user has an email address, I’ll try to dig deeper what could have caused it :slight_smile:

1 Like

Hi @ezr-ondrej,
from our side every ipa-user has an e-mail-address set and as i can see the external user login was possible a while ago. but my user is able to login, because it creates after external authentication a year ago the local user. I don´t know when it broke, but we updated in the last year foreman from stable release to stabile release and with the help of your great support we was everytime able to solve most of the issues appearing :slight_smile:

The question for me is, we have on the other side in our dev-environment also an IPA-Server with a connected Foreman and there it works that external user authentication is possible.

The problem is both systems (dev / prod) are configured exactly the same way and they also have the same foreman (3.1 stable) and FreeIPA (LDAP)- version(4.6.8-5).I don´t get why the behaviour is so different.

The problem for me is now, how could we begin to analyze the issue deeper, because same configured systems with different behaviour is hard to analyze.

And thank you for your answer :slight_smile:

@ezr-ondrej, @ekohl, any updates ?

It looks like it’s trying to create the remote user. If you used the installer, the email is passed in via the REMOTE_USER_EMAIL variable. It looks like that is (null) instead of some value. I’d take a look at the Apache configuration and if it can properly retrieve the email address.

@ekohl, could you advise me a little bit.
maybe we compare it a little bit.

could also be a misconfiguration on our side :slight_smile:

@ekohl … could you advice ? :slight_smile:

@ezr-ondrej / @ekohl issue still persists with foreman 3.2 stable

Hi all,
I had the same issue with foreman 3.2 stable and as ezr-ondrej explained the issue was with the user in freeipa with email field not set.

@rizvaughan, i don´t understand.
how can i set that ?

question is for me what i have to do to solve this issue. Is that deeper inside LDAP or can it solved over the FreeIPA-GUI ?

thx for your help :slight_smile:

Hi @cooler22 ,
You can do it from the GUI actually. On the user page, you can find “Contact Settings” on the right bottom of the page. If it’s empty, then this is the issue. You need to give it an email and don’t forget to save(happens to me…) the settings. I am attaching a screesnhot as well.

BR

thx for your help :slight_smile:

issue still persists, i guess i have to compare with our LDAP expert out DEV-FreeIPA and or PROD-FreeIPA. in the DEV-FreeIPA it works everything fine. so i guess we have to compare this two LDAPs. could be that some entry or relation is missing for the emails, because in the GUI field is filled, as the issue told us it is still “null”.

Hi @cooler22 ,
I am sorry it didn’t help.
You can search the user in via cli with ipa user-find $username(and more details with ipa user-find --all --raw --login $username) and check if the you see email address there as well. Also notice if you have duplicate users(If the commands return more than one entry).
Best of luck