请选择 进入手机版 | 继续访问电脑版
返回列表 发布新帖

gitlab管理中心-通用设置保存失败

331 8
发表于 2024-6-25 11:41:26 | 显示全部楼层 阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册

×

本帖最后由 13006512929 于 2024-6-25 13:31 编辑

通用内的所有内容保存即报 500 错误,包括导入导出设置,超时时间设置等。修改完后保存等 30 秒左右页面报出 500 错误。通过浏览器f12抓请求id,去服务器内查找对应内容,发现请求超时。

request id为:01J16NB1QQA3JZ0ZBF999KTM8Q。相关的日志为:

lib/rack/urlmap.rb:74:in block in call'","rack (2.2.8.1) lib/rack/urlmap.rb:58:ineach'","rack (2.2.8.1) lib/rack/urlmap.rb:58:in call'","puma (6.4.0) lib/puma/configuration.rb:272:incall'","puma (6.4.0) lib/puma/request.rb💯in block in handle_request'","puma (6.4.0) lib/puma/thread_pool.rb:378:inwith_force_shutdown'","puma (6.4.0) lib/puma/request.rb:99:in handle_request'","puma (6.4.0) lib/puma/server.rb:443:inprocess_client'","puma (6.4.0) lib/puma/server.rb:241:in block in run'","puma (6.4.0) lib/puma/thread_pool.rb:155:inblock in spawn_thread'"],"exception.cause_class":"PG::ConnectionBad","exception.sql":"/application:web,correlation_id:01J16NB1QQA3JZ0ZBF999KTM8Q,endpoint_id:Admin::ApplicationSettingsController#general,db_config_name:main/ ROLLBACK","db_duration_s":0.39213,"view_duration_s":0.0,"duration_s":60.53017} ./puma/puma_stderr.log:source=rack-timeout id=01J16NB1QQA3JZ0ZBF999KTM8Q timeout=60000ms service=60000ms state=timed_out at=error ./gitlab-workhorse/current:{"content_type":"text/html; charset=utf-8","correlation_id":"01J16NB1QQA3JZ0ZBF999KTM8Q","duration_ms":60766,"host":"本机ip地址","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"http://本机ip地址/admin/application_settings/general","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"","status":500,"system":"http","time":"2024-06-25T03:00:29Z","ttfb_ms":60766,"uri":"/admin/application_settings/general","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","written_bytes":15191}

求各位大佬指点如何解决

回复

使用道具 举报

评论8

zookeeperLv.7 发表于 2024-6-25 15:30:24 | 显示全部楼层
没有前置信息,看报错和数据库相关,建议检查一下数据库相关配置和日志,如果是用的外部数据库需要看一下是不是有什么异常。
回复

使用道具 举报

13006512929楼主Lv.2 发表于 2024-6-25 16:26:31 | 显示全部楼层
zookeeper 发表于 2024-6-25 15:30
没有前置信息,看报错和数据库相关,建议检查一下数据库相关配置和日志,如果是用的外部数据库需要看一下是 ...

你好,之前查过数据库的报错日志:
ActiveRecord::StatementInvalid (PG::ConnectionBad: PQconsumeInput() FATAL: terminating connection due to idle-in-transaction timeout
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
看不出来是为什么连接异常,数据库状态都是正常的,而且没有修改过任何配置,数据库都是用gitlab自带的,不知道是哪个地方出问题了
回复

使用道具 举报

zookeeperLv.7 发表于 2024-7-3 11:40:28 | 显示全部楼层
检查一下磁盘读写是否有问题呢?
回复

使用道具 举报

13006512929楼主Lv.2 发表于 2024-7-3 16:51:40 | 显示全部楼层
zookeeper 发表于 2024-7-3 11:40
检查一下磁盘读写是否有问题呢?

那些都正常,如果磁盘读写有问题,新项目上传代码或用户都创建不了
回复

使用道具 举报

zookeeperLv.7 发表于 2024-7-4 10:24:29 | 显示全部楼层
触发500报错后重新通过request id过滤一下日志 ,最重要的第一条你没有发完整。把详细日志发送一下,我再看一下
回复

使用道具 举报

13006512929楼主Lv.2 发表于 4 天前 | 显示全部楼层
本帖最后由 13006512929 于 2024-7-8 13:44 编辑
zookeeper 发表于 2024-7-4 10:24
触发500报错后重新通过request id过滤一下日志 ,最重要的第一条你没有发完整。把详细日志发送一下,我再看 ...

./gitlab-rails/production_json.log:{"method":"PATCH","path":"/admin/application_settings/general","format":"html","controller":"Admin::ApplicationSettingsController","action":"general","status":500,"time":"2024-07-08T02:12:58.618Z","params":[{"key":"_method","value":"patch"},{"key":"authenticity_token","value":"[FILTERED]"},{"key":"application_setting","value":{"import_sources":["","gitlab_project"],"project_export_enabled":"1","bulk_import_enabled":"0","max_export_size":"0","max_import_size":"0","max_import_remote_file_size":"10240","bulk_import_max_download_file_size":"5120","max_decompressed_archive_size":"25600","decompress_archive_file_timeout":"210","concurrent_github_import_jobs_limit":"1000","concurrent_bitbucket_import_jobs_limit":"100","concurrent_bitbucket_server_import_jobs_limit":"100"}}],"correlation_id":"01J281SC7Q451PWJAQZAX40GGE","meta.caller_id":"Admin::ApplicationSettingsController#general","meta.remote_ip":"192.168.1.47","meta.feature_category":"not_owned","meta.user":"root","meta.user_id":1,"meta.client_id":"user/1","remote_ip":"192.168.1.47","user_id":1,"username":"root","ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","queue_duration_s":0.03319,"request_urgency":"default","target_duration_s":1,"redis_calls":29,"redis_allowed_cross_slot_calls":1,"redis_duration_s":0.004854,"redis_read_bytes":3857,"redis_write_bytes":2177,"redis_cache_calls":2,"redis_cache_duration_s":0.000314,"redis_cache_read_bytes":114,"redis_cache_write_bytes":50,"redis_db_load_balancing_calls":2,"redis_db_load_balancing_duration_s":0.000235,"redis_db_load_balancing_write_bytes":104,"redis_feature_flag_calls":21,"redis_feature_flag_duration_s":0.003219,"redis_feature_flag_read_bytes":3563,"redis_feature_flag_write_bytes":1412,"redis_sessions_calls":4,"redis_sessions_allowed_cross_slot_calls":1,"redis_sessions_duration_s":0.001086,"redis_sessions_read_bytes":180,"redis_sessions_write_bytes":611,"db_count":31,"db_write_count":0,"db_cached_count":23,"db_txn_count":0,"db_replica_txn_count":0,"db_primary_txn_count":0,"db_main_txn_count":0,"db_ci_txn_count":0,"db_main_replica_txn_count":0,"db_ci_replica_txn_count":0,"db_replica_count":0,"db_primary_count":31,"db_main_count":31,"db_ci_count":0,"db_main_replica_count":0,"db_ci_replica_count":0,"db_replica_cached_count":0,"db_primary_cached_count":23,"db_main_cached_count":23,"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_txn_max_duration_s":0.0,"db_primary_txn_max_duration_s":0.0,"db_main_txn_max_duration_s":0.0,"db_ci_txn_max_duration_s":0.0,"db_main_replica_txn_max_duration_s":0.0,"db_ci_replica_txn_max_duration_s":0.0,"db_replica_txn_duration_s":0.0,"db_primary_txn_duration_s":0.0,"db_main_txn_duration_s":0.0,"db_ci_txn_duration_s":0.0,"db_main_replica_txn_duration_s":0.0,"db_ci_replica_txn_duration_s":0.0,"db_replica_duration_s":0.0,"db_primary_duration_s":0.012,"db_main_duration_s":0.012,"db_ci_duration_s":0.0,"db_main_replica_duration_s":0.0,"db_ci_replica_duration_s":0.0,"cpu_s":4.172857,"mem_objects":214652,"mem_bytes":25010159,"mem_mallocs":105606,"mem_total_bytes":33596239,"pid":151860,"worker_id":"puma_2","rate_limiting_gates":[],"exception.class":"ActiveRecord::StatementInvalid","exception.message":"PG::ConnectionBad: PQconsumeInput() FATAL:  terminating connection due to idle-in-transaction timeout\nserver closed the connection unexpectedly\n\tThis probably means the server terminated abnormally\n\tbefore or while processing the request.\n","exception.backtrace":["activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `exec'","activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:48:in `block (2 levels) in execute'","activesupport (7.0.8.1) lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'","activesupport (7.0.8.1) lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'","activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:47:in `block in execute'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract_adapter.rb:752:in `block in log'","activesupport (7.0.8.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract_adapter.rb:743:in `log'","activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:46:in `execute'","marginalia (1.11.1) lib/marginalia.rb:71:in `execute_with_marginalia'","activerecord (7.0.8.1) lib/active_record/connection_adapters/postgresql/database_statements.rb:121:in `exec_rollback_db_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/database_statements.rb:374:in `rollback_db_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `rollback_db_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:214:in `rollback'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:311:in `block in rollback_transaction'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:309:in `rollback_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:325:in `rescue in block in within_new_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:322:in `block in within_new_transaction'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'","activesupport (7.0.8.1) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'","activerecord (7.0.8.1) lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'","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'","activerecord (7.0.8.1) lib/active_record/transactions.rb:350:in `with_transaction_returning_status'","activerecord (7.0.8.1) lib/active_record/transactions.rb:298:in `save'","activerecord (7.0.8.1) lib/active_record/suppressor.rb:50:in `save'","app/services/application_settings/update_service.rb:56:in `update_settings'","app/services/application_settings/update_service.rb:12:in `execute'","ee/app/services/ee/application_settings/update_service.rb:25:in `execute'","app/controllers/admin/application_settings_controller.rb:214:in `perform_update'","app/controllers/admin/application_settings_controller.rb:51:in `block (2 levels) in <class:ApplicationSettingsController>'","actionpack (7.0.8.1) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'","actionpack (7.0.8.1) lib/abstract_controller/base.rb:215:in `process_action'","actionpack (7.0.8.1) lib/action_controller/metal/rendering.rb:165:in `process_action'","actionpack (7.0.8.1) lib/abstract_controller/callbacks.rb:234:in `block in process_action'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:118:in `block in run_callbacks'","ee/lib/gitlab/ip_address_state.rb:10:in `with'","ee/app/controllers/ee/application_controller.rb:45:in `set_current_ip_address'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","app/controllers/application_controller.rb:468:in `set_current_admin'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","lib/gitlab/session.rb:11:in `with_session'","app/controllers/application_controller.rb:459:in `set_session_storage'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","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'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","marginalia (1.11.1) lib/marginalia.rb:109:in `record_query_comment'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","app/controllers/application_controller.rb:443:in `set_current_context'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","sentry-rails (5.17.3) lib/sentry/rails/controller_transaction.rb:28:in `block in sentry_around_action'","sentry-ruby (5.17.3) lib/sentry/hub.rb:102:in `with_child_span'","sentry-ruby (5.17.3) lib/sentry-ruby.rb:490:in `with_child_span'","sentry-rails (5.17.3) lib/sentry/rails/controller_transaction.rb:14:in `sentry_around_action'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:127:in `block in run_callbacks'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:138:in `run_callbacks'","actionpack (7.0.8.1) lib/abstract_controller/callbacks.rb:233:in `process_action'","actionpack (7.0.8.1) lib/action_controller/metal/rescue.rb:23:in `process_action'","actionpack (7.0.8.1) lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'","activesupport (7.0.8.1) lib/active_support/notifications.rb:206:in `block in instrument'","activesupport (7.0.8.1) lib/active_support/notifications/instrumenter.rb:24:in `instrument'","activesupport (7.0.8.1) lib/active_support/notifications.rb:206:in `instrument'","actionpack (7.0.8.1) lib/action_controller/metal/instrumentation.rb:66:in `process_action'","actionpack (7.0.8.1) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'","activerecord (7.0.8.1) lib/active_record/railties/controller_runtime.rb:27:in `process_action'","actionpack (7.0.8.1) lib/abstract_controller/base.rb:151:in `process'","actionview (7.0.8.1) lib/action_view/rendering.rb:39:in `process'","actionpack (7.0.8.1) lib/action_controller/metal.rb:188:in `dispatch'","actionpack (7.0.8.1) lib/action_controller/metal.rb:251:in `dispatch'","actionpack (7.0.8.1) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'","actionpack (7.0.8.1) lib/action_dispatch/routing/route_set.rb:32:in `serve'","actionpack (7.0.8.1) lib/action_dispatch/journey/router.rb:50:in `block in serve'","actionpack (7.0.8.1) lib/action_dispatch/journey/router.rb:32:in `each'","actionpack (7.0.8.1) lib/action_dispatch/journey/router.rb:32:in `serve'","actionpack (7.0.8.1) lib/action_dispatch/routing/route_set.rb:852:in `call'","gitlab-experiment (0.9.1) lib/gitlab/experiment/middleware.rb:19:in `call'","flipper (0.26.2) lib/flipper/middleware/memoizer.rb:72:in `memoized_call'","flipper (0.26.2) lib/flipper/middleware/memoizer.rb:37:in `call'","lib/gitlab/metrics/elasticsearch_rack_middleware.rb:16:in `call'","lib/gitlab/middleware/sidekiq_shard_awareness_validation.rb:20:in `block in call'","lib/gitlab/sidekiq_sharding/validator.rb:42:in `enabled'","lib/gitlab/middleware/sidekiq_shard_awareness_validation.rb:20: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:40:in `within'","lib/gitlab/middleware/query_analyzer.rb:11:in `call'","lib/gitlab/middleware/organizations/current.rb:20:in `call'","batch-loader (2.0.5) lib/batch_loader/middleware.rb:11:in `call'","rack-attack (6.7.0) lib/rack/attack.rb:103:in `call'","apollo_upload_server (2.1.5) lib/apollo_upload_server/middleware.rb:19:in `call'","lib/gitlab/middleware/multipart.rb:173:in `call'","rack-attack (6.7.0) lib/rack/attack.rb:127:in `call'","warden (1.2.9) lib/warden/manager.rb:36:in `block in call'","warden (1.2.9) lib/warden/manager.rb:34:in `catch'","warden (1.2.9) lib/warden/manager.rb:34:in `call'","rack-cors (2.0.1) lib/rack/cors.rb:102:in `call'","rack (2.2.8.1) lib/rack/tempfile_reaper.rb:15:in `call'","rack (2.2.8.1) lib/rack/etag.rb:27:in `call'","rack (2.2.8.1) lib/rack/conditional_get.rb:40:in `call'","rack (2.2.8.1) lib/rack/head.rb:12:in `call'","actionpack (7.0.8.1) lib/action_dispatch/http/permissions_policy.rb:38:in `call'","actionpack (7.0.8.1) lib/action_dispatch/http/content_security_policy.rb:36: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'","rack (2.2.8.1) lib/rack/session/abstract/id.rb:266:in `context'","rack (2.2.8.1) lib/rack/session/abstract/id.rb:260:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/cookies.rb:704:in `call'","lib/gitlab/middleware/same_site_cookies.rb:27:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'","activesupport (7.0.8.1) lib/active_support/callbacks.rb:99:in `run_callbacks'","actionpack (7.0.8.1) lib/action_dispatch/middleware/callbacks.rb:26:in `call'","sentry-rails (5.17.3) lib/sentry/rails/rescued_exception_interceptor.rb:12:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'","lib/gitlab/middleware/path_traversal_check.rb:35:in `call'","lib/gitlab/middleware/handle_malformed_strings.rb:21:in `call'","sentry-ruby (5.17.3) lib/sentry/rack/capture_exceptions.rb:29:in `block (2 levels) in call'","sentry-ruby (5.17.3) lib/sentry/hub.rb:251:in `with_session_tracking'","sentry-ruby (5.17.3) lib/sentry-ruby.rb:403:in `with_session_tracking'","sentry-ruby (5.17.3) lib/sentry/rack/capture_exceptions.rb:20:in `block in call'","sentry-ruby (5.17.3) lib/sentry/hub.rb:59:in `with_scope'","sentry-ruby (5.17.3) lib/sentry-ruby.rb:383:in `with_scope'","sentry-ruby (5.17.3) lib/sentry/rack/capture_exceptions.rb:19:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/show_exceptions.rb:29:in `call'","lib/gitlab/middleware/basic_health_check.rb:25:in `call'","lograge (0.11.2) lib/lograge/rails_ext/rack/logger.rb:15:in `call_app'","railties (7.0.8.1) lib/rails/rack/logger.rb:25:in `block in call'","activesupport (7.0.8.1) lib/active_support/tagged_logging.rb:99:in `block in tagged'","activesupport (7.0.8.1) lib/active_support/tagged_logging.rb:37:in `tagged'","activesupport (7.0.8.1) lib/active_support/tagged_logging.rb:99:in `tagged'","railties (7.0.8.1) lib/rails/rack/logger.rb:25:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/remote_ip.rb:93: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'","request_store (1.5.1) lib/request_store/middleware.rb:19:in `call'","rack (2.2.8.1) lib/rack/method_override.rb:24:in `call'","rack (2.2.8.1) lib/rack/runtime.rb:22:in `call'","rack-timeout (0.6.3) lib/rack/timeout/core.rb:148:in `block in call'","rack-timeout (0.6.3) lib/rack/timeout/support/timeout.rb:19:in `timeout'","rack-timeout (0.6.3) lib/rack/timeout/core.rb:147:in `call'","config/initializers/fix_local_cache_middleware.rb:11:in `call'","lib/gitlab/middleware/compressed_json.rb:44:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/executor.rb:14:in `call'","lib/gitlab/middleware/rack_multipart_tempfile_factory.rb:19:in `call'","rack (2.2.8.1) lib/rack/sendfile.rb:110:in `call'","lib/gitlab/middleware/sidekiq_web_static.rb:20:in `call'","lib/gitlab/metrics/requests_rack_middleware.rb:79:in `call'","gitlab-labkit (0.36.0) lib/labkit/middleware/rack.rb:22:in `block in call'","gitlab-labkit (0.36.0) lib/labkit/context.rb:35:in `with_context'","gitlab-labkit (0.36.0) lib/labkit/middleware/rack.rb:21:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/request_id.rb:26:in `call'","actionpack (7.0.8.1) lib/action_dispatch/middleware/host_authorization.rb:131:in `call'","railties (7.0.8.1) lib/rails/engine.rb:530:in `call'","railties (7.0.8.1) lib/rails/railtie.rb:226:in `public_send'","railties (7.0.8.1) lib/rails/railtie.rb:226:in `method_missing'","lib/gitlab/middleware/release_env.rb:13:in `call'","rack (2.2.8.1) lib/rack/urlmap.rb:74:in `block in call'","rack (2.2.8.1) lib/rack/urlmap.rb:58:in `each'","rack (2.2.8.1) lib/rack/urlmap.rb:58:in `call'","puma (6.4.0) lib/puma/configuration.rb:272:in `call'","puma (6.4.0) lib/puma/request.rb:100:in `block in handle_request'","puma (6.4.0) lib/puma/thread_pool.rb:378:in `with_force_shutdown'","puma (6.4.0) lib/puma/request.rb:99:in `handle_request'","puma (6.4.0) lib/puma/server.rb:443:in `process_client'","puma (6.4.0) lib/puma/server.rb:241:in `block in run'","puma (6.4.0) lib/puma/thread_pool.rb:155:in `block in spawn_thread'"],"exception.cause_class":"PG::ConnectionBad","exception.sql":"/*application:web,correlation_id:01J281SC7Q451PWJAQZAX40GGE,endpoint_id:Admin::ApplicationSettingsController#general,db_config_name:main*/ ROLLBACK","db_duration_s":0.37502,"view_duration_s":0.0,"duration_s":60.61378}
./puma/puma_stderr.log:source=rack-timeout id=01J281SC7Q451PWJAQZAX40GGE timeout=60000ms service=60000ms state=timed_out at=error
./gitlab-workhorse/current:{"content_type":"text/html; charset=utf-8","correlation_id":"01J281SC7Q451PWJAQZAX40GGE","duration_ms":60863,"host":"192.168.31.35","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"http://192.168.31.35/admin/application_settings/general","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"","status":500,"system":"http","time":"2024-07-08T02:12:58Z","ttfb_ms":60863,"uri":"/admin/application_settings/general","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36","written_bytes":15191}


您好这是完整日志,其中request_id是01J281SC7Q451PWJAQZAX40GGE

回复

使用道具 举报

13006512929楼主Lv.2 发表于 前天 10:29 | 显示全部楼层
大佬现身大佬现身大佬现身
回复

使用道具 举报

wangkaixuanLv.7 发表于 2 小时前 | 显示全部楼层
13006512929 发表于 2024-7-10 10:29
大佬现身大佬现身大佬现身

gitlab-rake gitlab:check 先检查下gitlab的服务吧
回复

使用道具 举报

意见建议

Email:forum@gitlab.cn
  • 关注公众号
  • 添加专业顾问
Copyright © 2001-2024 极狐GitLab论坛 版权所有 All Rights Reserved. 鄂ICP备2021008419号-1|鄂公网安备42018502006137号
关灯 快速发帖
扫一扫添加专业顾问
返回顶部
快速回复 返回顶部 返回列表