500 We're sorry. Something went wrong on our end

Hi…I have installed gitlab-ce 16.8.1 version…In Admin Area setting, ‘save changes’ button leads to 500 error page so i am unable to edit any settings in admin area page…please help me to solve this

I want to set reCAPTCHA for my site so i go to Admin Area/Reporting/ Spam and Anti-bot Protection…here save changes buttons ends with 500 error page…i have posted my log here /var/log/gitlab/gitlab-rails/production_json.log…please help me to solve this issue

{“method”:“PATCH”,“path”:“/admin/application_settings/reporting”,“format”:“html”,“controller”:“Admin::ApplicationSettingsController”,“action”:“reporting”,“status”:500,“time”:“2024-02-15T11:24:08.198Z”,“params”:[{“key”:“_method”,“value”:“patch”},{“key”:“authenticity_token”,“value”:“[FILTERED]”},{“key”:“application_setting”,“value”:{“recaptcha_enabled”:“0”,“login_recaptcha_protection_enabled”:“0”,“recaptcha_site_key”:“[FILTERED]”,“recaptcha_private_key”:“[FILTERED]”,“invisible_captcha_enabled”:“0”,“akismet_enabled”:“0”,“allow_possible_spam”:“0”,“akismet_api_key”:“[FILTERED]”,“unique_ips_limit_enabled”:“0”,“unique_ips_limit_per_user”:“10”,“unique_ips_limit_time_window”:“3600”,“spam_check_endpoint_enabled”:“0”,“spam_check_endpoint_url”:“”,“spam_check_api_key”:“[FILTERED]”}}],“correlation_id”:“01HPP84Y27Y44E7QB3SGMTH7DK”,“meta.caller_id”:“Admin::ApplicationSettingsController#reporting”,“meta.remote_ip”:“122.178.36.136”,“meta.feature_category”:“not_owned”,“meta.user”:“root”,“meta.user_id”:1,“meta.client_id”:“user/1”,“remote_ip”:“122.178.36.136”,“user_id”:1,“username”:“root”,“ua”:“Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36”,“queue_duration_s”:0.00496,“request_urgency”:“default”,“target_duration_s”:1,“redis_calls”:5,“redis_allowed_cross_slot_calls”:1,“redis_duration_s”:0.000593,“redis_read_bytes”:242,“redis_write_bytes”:700,“redis_sessions_calls”:1,“redis_sessions_duration_s”:0.000204,“redis_sessions_read_bytes”:239,“redis_sessions_write_bytes”:85,“redis_shared_state_calls”:4,“redis_shared_state_allowed_cross_slot_calls”:1,“redis_shared_state_duration_s”:0.000389,“redis_shared_state_read_bytes”:3,“redis_shared_state_write_bytes”:615,“db_count”:3,“db_write_count”:0,“db_cached_count”:0,“db_replica_count”:0,“db_primary_count”:3,“db_main_count”:3,“db_ci_count”:0,“db_main_replica_count”:0,“db_ci_replica_count”:0,“db_replica_cached_count”:0,“db_primary_cached_count”:0,“db_main_cached_count”:0,“db_ci_cached_count”:0,“db_main_replica_cached_count”:0,“db_ci_replica_cached_count”:0,“db_replica_wal_count”:0,“db_primary_wal_count”:0,“db_main_wal_count”:0,“db_ci_wal_count”:0,“db_main_replica_wal_count”:0,“db_ci_replica_wal_count”:0,“db_replica_wal_cached_count”:0,“db_primary_wal_cached_count”:0,“db_main_wal_cached_count”:0,“db_ci_wal_cached_count”:0,“db_main_replica_wal_cached_count”:0,“db_ci_replica_wal_cached_count”:0,“db_replica_duration_s”:0.0,“db_primary_duration_s”:0.004,“db_main_duration_s”:0.004,“db_ci_duration_s”:0.0,“db_main_replica_duration_s”:0.0,“db_ci_replica_duration_s”:0.0,“cpu_s”:0.027294,“mem_objects”:19014,“mem_bytes”:3498095,“mem_mallocs”:5579,“mem_total_bytes”:4258655,“pid”:1572,“worker_id”:“puma_master”,“rate_limiting_gates”:,“exception.class”:“OpenSSL::Cipher::CipherError”,“exception.message”:“”,“exception.backtrace”:[“lib/gitlab/database/load_balancing/connection_proxy.rb:127:in public_send'","lib/gitlab/database/load_balancing/connection_proxy.rb:127:in block in write_using_load_balancer’”,“lib/gitlab/database/load_balancing/load_balancer.rb:141:in block in read_write'","lib/gitlab/database/load_balancing/load_balancer.rb:228:in retry_with_backoff’”,“lib/gitlab/database/load_balancing/load_balancer.rb:130:in read_write'","lib/gitlab/database/load_balancing/connection_proxy.rb:126:in write_using_load_balancer’”,“lib/gitlab/database/load_balancing/connection_proxy.rb:78:in transaction'","app/services/application_settings/update_service.rb:51:in update_settings’”,“app/services/application_settings/update_service.rb:12:in execute'","app/controllers/admin/application_settings_controller.rb:207:in perform_update’”,“app/controllers/admin/application_settings_controller.rb:50:in block (2 levels) in <class:ApplicationSettingsController>'","app/controllers/application_controller.rb:468:in set_current_admin’”,“lib/gitlab/session.rb:11:in with_session'","app/controllers/application_controller.rb:459:in set_session_storage’”,“lib/gitlab/i18n.rb:114:in with_locale'","lib/gitlab/i18n.rb:120:in with_user_locale’”,“app/controllers/application_controller.rb:450:in set_locale'","app/controllers/application_controller.rb:443:in set_current_context’”,“lib/gitlab/metrics/elasticsearch_rack_middleware.rb:16:in call'","lib/gitlab/middleware/memory_report.rb:13:in call’”,“lib/gitlab/middleware/speedscope.rb:13:in call'","lib/gitlab/database/load_balancing/rack_middleware.rb:23:in call’”,“lib/gitlab/middleware/rails_queue_duration.rb:33:in call'","lib/gitlab/etag_caching/middleware.rb:21:in call’”,“lib/gitlab/metrics/rack_middleware.rb:16:in block in call'","lib/gitlab/metrics/web_transaction.rb:46:in run’”,“lib/gitlab/metrics/rack_middleware.rb:16:in call'","lib/gitlab/middleware/go.rb:20:in call’”,“lib/gitlab/middleware/query_analyzer.rb:11:in block in call'","lib/gitlab/database/query_analyzer.rb:37:in within’”,“lib/gitlab/middleware/query_analyzer.rb:11:in call'","lib/gitlab/middleware/multipart.rb:173:in call’”,“lib/gitlab/middleware/read_only/controller.rb:50:in call'","lib/gitlab/middleware/read_only.rb:18:in call’”,“lib/gitlab/middleware/unauthenticated_session_expiry.rb:18:in call'","lib/gitlab/middleware/same_site_cookies.rb:27:in call’”,“lib/gitlab/middleware/path_traversal_check.rb:35:in call'","lib/gitlab/middleware/handle_malformed_strings.rb:21:in call’”,“lib/gitlab/middleware/basic_health_check.rb:25:in call'","lib/gitlab/middleware/handle_ip_spoof_attack_error.rb:25:in call’”,“lib/gitlab/middleware/request_context.rb:15:in call'","lib/gitlab/middleware/webhook_recursion_detection.rb:15:in call’”,“config/initializers/fix_local_cache_middleware.rb:11:in call'","lib/gitlab/middleware/compressed_json.rb:44:in call’”,“lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in call'","lib/gitlab/middleware/sidekiq_web_static.rb:20:in call’”,“lib/gitlab/metrics/requests_rack_middleware.rb:79:in call'","lib/gitlab/middleware/release_env.rb:13:in call’”],“db_duration_s”:0.00291,“view_duration_s”:0.0,“duration_s”:0.05346}