OpenSSL Cipher Recaptcha error on login page
Recently with 12.5.5 (and 12.5.7) I started getting the following error when I try to load the login page:
root@gitlab:/# tail -f /var/log/gitlab/gitlab-rails/production.log
Parameters: {"namespace_id"=>"open-source", "project_id"=>"SentientHome", "id"=>"0fa5c9d6a50e3b821df79b0bbeed3270c3369266"}
Completed 200 OK in 822ms (Views: 501.8ms | ActiveRecord: 55.0ms | Elasticsearch: 0.0ms)
Started GET "/-/metrics" for 127.0.0.1 at 2020-01-18 23:56:13 +0000
Processing by MetricsController#index as HTML
Completed 200 OK in 76ms (Views: 8.0ms | ActiveRecord: 1.0ms | Elasticsearch: 0.0ms)
Started GET "/metrics" for 10.1.0.24 at 2020-01-18 23:56:20 +0000
Processing by ApplicationController#route_not_found as HTML
Parameters: {"unmatched_route"=>"metrics"}
Redirected to https://10.1.0.95:80/users/sign_in
Completed 302 Found in 406ms (ActiveRecord: 1.2ms | Elasticsearch: 0.0ms)
Started GET "/-/metrics" for 127.0.0.1 at 2020-01-18 23:56:28 +0000
Processing by MetricsController#index as HTML
Completed 200 OK in 66ms (Views: 1.7ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms)
Started GET "/users/sign_in" for 181.224.154.163 at 2020-01-18 23:56:30 +0000
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms | Elasticsearch: 0.0ms)
OpenSSL::Cipher::CipherError ():
lib/gitlab/current_settings.rb:20:in `method_missing'
lib/gitlab/recaptcha.rb:8:in `block in load_configurations!'
lib/gitlab/recaptcha.rb:7:in `load_configurations!'
app/controllers/sessions_controller.rb:269:in `load_recaptcha'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:450:in `set_session_storage'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:444:in `set_locale'
lib/gitlab/middleware/rails_queue_duration.rb:27:in `call'
lib/gitlab/metrics/rack_middleware.rb:17:in `block in call'
lib/gitlab/metrics/transaction.rb:62:in `run'
lib/gitlab/metrics/rack_middleware.rb:17:in `call'
lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/correlation_id.rb:16:in `block in call'
lib/gitlab/middleware/correlation_id.rb:15:in `call'
lib/gitlab/middleware/multipart.rb:117:in `call'
lib/gitlab/middleware/read_only/controller.rb:48:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/request_context.rb:32:in `call'
config/initializers/fix_local_cache_middleware.rb:9:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:49:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'
Started GET "/favicon.ico" for 172.68.141.248 at 2020-01-18 23:56:31 +0000
Started GET "/-/metrics" for 127.0.0.1 at 2020-01-18 23:56:43 +0000
Processing by MetricsController#index as HTML
Completed 200 OK in 75ms (Views: 8.0ms | ActiveRecord: 1.0ms | Elasticsearch: 0.0ms)
It seems to specifically be this:
Started GET "/users/sign_in" for 181.224.154.163 at 2020-01-18 23:56:30 +0000
Processing by SessionsController#new as HTML
Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.9ms | Elasticsearch: 0.0ms)
OpenSSL::Cipher::CipherError ():
lib/gitlab/current_settings.rb:20:in `method_missing'
lib/gitlab/recaptcha.rb:8:in `block in load_configurations!'
lib/gitlab/recaptcha.rb:7:in `load_configurations!'
app/controllers/sessions_controller.rb:269:in `load_recaptcha'
lib/gitlab/session.rb:11:in `with_session'
app/controllers/application_controller.rb:450:in `set_session_storage'
lib/gitlab/i18n.rb:55:in `with_locale'
lib/gitlab/i18n.rb:61:in `with_user_locale'
app/controllers/application_controller.rb:444:in `set_locale'
Nothing changed in my system, I'm running gitlab in K8s, with minimal configuration:
- name: GITLAB_OMNIBUS_CONFIG
value: "external_url 'https://gitlab.host.com'; registry_external_url 'https://registry.host.com'; letsencrypt['enable'] = false; nginx['listen_port'] = 80; nginx['listen_https'] = false; gitlab_rails['gitlab_shell_ssh_port'] = 31222; gitlab_rails['registry_path'] = '/opt/gitlab-registry'; gitlab_rails['backup_upload_connection'] = { :provider => 'Local', :local_root => '/mnt/backups' }; gitlab_rails['backup_upload_remote_directory'] = '.'; gitlab_rails['backup_keep_time'] = 2592000;"
I searched for this error, but only thing that comes up is posts about cipher keys, or deleting runner secrets, nothing about login page.
Thanks