The page loads very slowly after the merge request, and various errors are reported when clicking on the merge request details
Summary
The page loads very slowly after the merge request, and various errors are reported when clicking on the merge request details
Steps to reproduce
Every time it merges, it is very slow. Check the log output as follows, and there is no error message.
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/diffs_metadata.json?diff_head=true&view=inline" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/discussions.json" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/widget.json" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/cached_widget.json" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54.json?serializer=sidebar_extras" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Projects::MergeRequests::DiffsController#diffs_metadata as JSON
Parameters: {"diff_head"=>"true", "view"=>"inline", "namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequestsController#show as JSON
Parameters: {"serializer"=>"sidebar_extras", "namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequests::ContentController#cached_widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequestsController#discussions as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequests::ContentController#widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 58ms (Views: 0.4ms | ActiveRecord: 6.9ms | Elasticsearch: 0.0ms | Allocations: 19394)
Completed 200 OK in 73ms (Views: 0.3ms | ActiveRecord: 18.2ms | Elasticsearch: 0.0ms | Allocations: 20715)
Completed 200 OK in 138ms (Views: 3.7ms | ActiveRecord: 9.7ms | Elasticsearch: 0.0ms | Allocations: 48458)
Completed 200 OK in 202ms (Views: 0.8ms | ActiveRecord: 63.8ms | Elasticsearch: 0.0ms | Allocations: 41524)
Started GET "/uploads/-/system/user/avatar/4/avatar.png?width=24" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by UploadsController#show as HTML
Parameters: {"width"=>"24", "model"=>"user", "mounted_as"=>"avatar", "id"=>"4", "filename"=>"avatar.png"}
Completed 200 OK in 12ms (ActiveRecord: 2.2ms | Elasticsearch: 0.0ms | Allocations: 3560)
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 2ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 234)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 271)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Completed 200 OK in 682ms (Views: 2.5ms | ActiveRecord: 68.9ms | Elasticsearch: 0.0ms | Allocations: 247469)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/drafts" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Started POST "/api/v4/usage_data/increment_unique_users" for 192.168.11.210 at 2021-07-06 09:19:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 1ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 227)
Processing by Projects::MergeRequests::DraftsController#index as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "merge_request_id"=>"54"}
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 102)
Completed 200 OK in 33ms (Views: 0.2ms | ActiveRecord: 4.4ms | Elasticsearch: 0.0ms | Allocations: 11634)
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:19:30 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"mergeRequestSidebarDetails", "variables"=>"[FILTERED]", "query"=>"query mergeRequestSidebarDetails($fullPath: ID!, $iid: String!) {\n project(fullPath: $fullPath) {\n mergeRequest(iid: $iid) {\n iid\n __typename\n }\n __typename\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"mergeRequestSidebarDetails", "variables"=>"[FILTERED]", "query"=>"query mergeRequestSidebarDetails($fullPath: ID!, $iid: String!) {\n project(fullPath: $fullPath) {\n mergeRequest(iid: $iid) {\n iid\n __typename\n }\n __typename\n }\n}\n"}]}}
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:19:30 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"mergeRequestReference", "variables"=>"[FILTERED]", "query"=>"query mergeRequestReference($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n reference(full: true)\n }\n }\n}\n"}, {"operationName"=>"getMrParticipants", "variables"=>"[FILTERED]", "query"=>"query getMrParticipants($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n issuable: mergeRequest(iid: $iid) {\n id\n participants {\n nodes {\n ...User\n ...UserAvailability\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n\nfragment User on User {\n id\n avatarUrl\n name\n username\n webUrl\n __typename\n}\n\nfragment UserAvailability on User {\n status {\n availability\n __typename\n }\n __typename\n}\n"}, {"operationName"=>"mergeRequestSubscribed", "variables"=>"[FILTERED]", "query"=>"query mergeRequestSubscribed($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n subscribed\n }\n }\n}\n"}, {"operationName"=>"mergeRequestTimeTracking", "variables"=>"[FILTERED]", "query"=>"query mergeRequestTimeTracking($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n humanTimeEstimate\n humanTotalTimeSpent\n timeEstimate\n totalTimeSpent\n }\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"mergeRequestReference", "variables"=>"[FILTERED]", "query"=>"query mergeRequestReference($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n reference(full: true)\n }\n }\n}\n"}, {"operationName"=>"getMrParticipants", "variables"=>"[FILTERED]", "query"=>"query getMrParticipants($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n issuable: mergeRequest(iid: $iid) {\n id\n participants {\n nodes {\n ...User\n ...UserAvailability\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n\nfragment User on User {\n id\n avatarUrl\n name\n username\n webUrl\n __typename\n}\n\nfragment UserAvailability on User {\n status {\n availability\n __typename\n }\n __typename\n}\n"}, {"operationName"=>"mergeRequestSubscribed", "variables"=>"[FILTERED]", "query"=>"query mergeRequestSubscribed($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n subscribed\n }\n }\n}\n"}, {"operationName"=>"mergeRequestTimeTracking", "variables"=>"[FILTERED]", "query"=>"query mergeRequestTimeTracking($fullPath: ID!, $iid: String!) {\n workspace: project(fullPath: $fullPath) {\n __typename\n issuable: mergeRequest(iid: $iid) {\n __typename\n id\n humanTimeEstimate\n humanTotalTimeSpent\n timeEstimate\n totalTimeSpent\n }\n }\n}\n"}]}}
Completed 200 OK in 38ms (Views: 0.3ms | ActiveRecord: 4.1ms | Elasticsearch: 0.0ms | Allocations: 13237)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/ci_environments_status" for 192.168.11.210 at 2021-07-06 09:19:30 +0800
Processing by Projects::MergeRequestsController#ci_environments_status as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 29ms (Views: 0.2ms | ActiveRecord: 3.0ms | Elasticsearch: 0.0ms | Allocations: 9772)
Completed 200 OK in 108ms (Views: 0.6ms | ActiveRecord: 15.1ms | Elasticsearch: 0.0ms | Allocations: 33061)
Started GET "/api/v4/projects/230/merge_requests/54/award_emoji?per_page=100&page=1" for 192.168.11.210 at 2021-07-06 09:19:30 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 85)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:19:32 +0800
Processing by Projects::NotesController#index as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "target_type"=>"merge_request", "target_id"=>"2651"}
Completed 200 OK in 98ms (Views: 0.4ms | ActiveRecord: 8.1ms | Elasticsearch: 0.0ms | Allocations: 13679)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:19:38 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 67ms (Views: 0.5ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1757)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:19:38 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:19:44 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:19:50 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:19:53 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 64ms (Views: 0.7ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1758)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:19:56 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:02 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:20:08 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 71ms (Views: 0.6ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1757)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:08 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:15 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:21 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:20:23 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 64ms (Views: 0.5ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1758)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:27 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/widget.json" for 192.168.11.210 at 2021-07-06 09:20:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/cached_widget.json" for 192.168.11.210 at 2021-07-06 09:20:29 +0800
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:20:29 +0800
Processing by Projects::MergeRequests::ContentController#widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}]}}
Processing by Projects::MergeRequests::ContentController#cached_widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 59ms (Views: 0.5ms | ActiveRecord: 5.8ms | Elasticsearch: 0.0ms | Allocations: 17257)
Completed 200 OK in 100ms (Views: 2.4ms | ActiveRecord: 7.3ms | Elasticsearch: 0.0ms | Allocations: 35026)
Started GET "/api/v4/projects/230/merge_requests/54/approvals" for 192.168.11.210 at 2021-07-06 09:20:29 +0800
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 85)
Completed 200 OK in 469ms (Views: 0.6ms | ActiveRecord: 54.9ms | Elasticsearch: 0.0ms | Allocations: 71852)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:33 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:20:38 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 71ms (Views: 1.1ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1756)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:39 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:45 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:51 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:20:53 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 69ms (Views: 0.7ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1757)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:20:57 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started POST "/api/v4/jobs/request" for 122.144.133.101 at 2021-07-06 09:21:02 +0800
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:03 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:21:08 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 63ms (Views: 0.4ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1756)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:09 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:15 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:21 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:21:23 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 72ms (Views: 0.5ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1756)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:27 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:21:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/widget.json" for 192.168.11.210 at 2021-07-06 09:21:29 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/cached_widget.json" for 192.168.11.210 at 2021-07-06 09:21:29 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}]}}
Processing by Projects::MergeRequests::ContentController#widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequests::ContentController#cached_widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 61ms (Views: 0.4ms | ActiveRecord: 6.3ms | Elasticsearch: 0.0ms | Allocations: 19254)
Completed 200 OK in 92ms (Views: 1.0ms | ActiveRecord: 13.7ms | Elasticsearch: 0.0ms | Allocations: 25304)
Completed 200 OK in 152ms (Views: 2.0ms | ActiveRecord: 27.1ms | Elasticsearch: 0.0ms | Allocations: 41084)
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:21:29 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"readyToMergeQuery", "variables"=>"[FILTERED]", "query"=>"query readyToMergeQuery($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n ...ReadyToMerge\n __typename\n }\n}\n\nfragment ReadyToMerge on Project {\n onlyAllowMergeIfPipelineSucceeds\n mergeRequestsFfOnlyEnabled\n squashReadOnly\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n shouldRemoveSourceBranch\n forceRemoveSourceBranch\n defaultMergeCommitMessage\n defaultMergeCommitMessageWithDescription\n defaultSquashCommitMessage\n squash\n squashOnMerge\n availableAutoMergeStrategies\n hasCi\n mergeable\n mergeWhenPipelineSucceeds\n commitCount\n diffHeadSha\n userPermissions {\n removeSourceBranch\n __typename\n }\n targetBranch\n mergeError\n commitsWithoutMergeCommits {\n nodes {\n sha\n shortId\n title\n message\n __typename\n }\n __typename\n }\n headPipeline {\n id\n status\n path\n active\n __typename\n }\n __typename\n }\n __typename\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"readyToMergeQuery", "variables"=>"[FILTERED]", "query"=>"query readyToMergeQuery($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n ...ReadyToMerge\n __typename\n }\n}\n\nfragment ReadyToMerge on Project {\n onlyAllowMergeIfPipelineSucceeds\n mergeRequestsFfOnlyEnabled\n squashReadOnly\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n shouldRemoveSourceBranch\n forceRemoveSourceBranch\n defaultMergeCommitMessage\n defaultMergeCommitMessageWithDescription\n defaultSquashCommitMessage\n squash\n squashOnMerge\n availableAutoMergeStrategies\n hasCi\n mergeable\n mergeWhenPipelineSucceeds\n commitCount\n diffHeadSha\n userPermissions {\n removeSourceBranch\n __typename\n }\n targetBranch\n mergeError\n commitsWithoutMergeCommits {\n nodes {\n sha\n shortId\n title\n message\n __typename\n }\n __typename\n }\n headPipeline {\n id\n status\n path\n active\n __typename\n }\n __typename\n }\n __typename\n}\n"}]}}
Completed 200 OK in 185ms (Views: 3.2ms | ActiveRecord: 13.6ms | Elasticsearch: 0.0ms | Allocations: 76648)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:33 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started GET "/-/metrics" for 127.0.0.1 at 2021-07-06 09:21:38 +0800
Processing by MetricsController#index as HTML
Completed 200 OK in 70ms (Views: 1.0ms | ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 1757)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:40 +0800
Completed 304 Not Modified in 0ms (Allocations: 5)
Started POST "/Jlishop/jlimanage-vue/-/merge_requests/54/merge" for 192.168.11.210 at 2021-07-06 09:21:42 +0800
Processing by Projects::MergeRequestsController#merge as JSON
Parameters: {"sha"=>"ba66b04db3c2bb27b2b33605027dd2aca33db280", "commit_message"=>"Merge branch 'dev' into 'stable'\n\nDev\n\nSee merge request Jlishop/jlimanage-vue!54", "should_remove_source_branch"=>false, "squash"=>false, "squash_commit_message"=>"Dev", "namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54", "merge_request"=>{"squash"=>false}}
Completed 200 OK in 74ms (Views: 0.3ms | ActiveRecord: 10.5ms | Elasticsearch: 0.0ms | Allocations: 24356)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54.json?serializer=basic" for 192.168.11.210 at 2021-07-06 09:21:42 +0800
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:21:42 +0800
Processing by Projects::MergeRequestsController#show as JSON
Parameters: {"serializer"=>"basic", "namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"readyToMergeQuery", "variables"=>"[FILTERED]", "query"=>"query readyToMergeQuery($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n ...ReadyToMerge\n __typename\n }\n}\n\nfragment ReadyToMerge on Project {\n onlyAllowMergeIfPipelineSucceeds\n mergeRequestsFfOnlyEnabled\n squashReadOnly\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n shouldRemoveSourceBranch\n forceRemoveSourceBranch\n defaultMergeCommitMessage\n defaultMergeCommitMessageWithDescription\n defaultSquashCommitMessage\n squash\n squashOnMerge\n availableAutoMergeStrategies\n hasCi\n mergeable\n mergeWhenPipelineSucceeds\n commitCount\n diffHeadSha\n userPermissions {\n removeSourceBranch\n __typename\n }\n targetBranch\n mergeError\n commitsWithoutMergeCommits {\n nodes {\n sha\n shortId\n title\n message\n __typename\n }\n __typename\n }\n headPipeline {\n id\n status\n path\n active\n __typename\n }\n __typename\n }\n __typename\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"readyToMergeQuery", "variables"=>"[FILTERED]", "query"=>"query readyToMergeQuery($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n ...ReadyToMerge\n __typename\n }\n}\n\nfragment ReadyToMerge on Project {\n onlyAllowMergeIfPipelineSucceeds\n mergeRequestsFfOnlyEnabled\n squashReadOnly\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n shouldRemoveSourceBranch\n forceRemoveSourceBranch\n defaultMergeCommitMessage\n defaultMergeCommitMessageWithDescription\n defaultSquashCommitMessage\n squash\n squashOnMerge\n availableAutoMergeStrategies\n hasCi\n mergeable\n mergeWhenPipelineSucceeds\n commitCount\n diffHeadSha\n userPermissions {\n removeSourceBranch\n __typename\n }\n targetBranch\n mergeError\n commitsWithoutMergeCommits {\n nodes {\n sha\n shortId\n title\n message\n __typename\n }\n __typename\n }\n headPipeline {\n id\n status\n path\n active\n __typename\n }\n __typename\n }\n __typename\n}\n"}]}}
Completed 200 OK in 59ms (Views: 0.4ms | ActiveRecord: 8.4ms | Elasticsearch: 0.0ms | Allocations: 19422)
Started POST "/api/v4/internal/allowed" for 127.0.0.1 at 2021-07-06 09:21:42 +0800
Started POST "/api/v4/internal/pre_receive" for 127.0.0.1 at 2021-07-06 09:21:42 +0800
Started POST "/api/v4/internal/post_receive" for 127.0.0.1 at 2021-07-06 09:21:42 +0800
Completed 200 OK in 178ms (Views: 3.0ms | ActiveRecord: 11.1ms | Elasticsearch: 0.0ms | Allocations: 59961)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54.json?serializer=basic" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Processing by Projects::MergeRequestsController#show as JSON
Parameters: {"serializer"=>"basic", "namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 86ms (Views: 0.5ms | ActiveRecord: 29.6ms | Elasticsearch: 0.0ms | Allocations: 21463)
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/commit_change_content" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/cached_widget.json" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Started GET "/api/v4/user_counts" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Started GET "/Jlishop/jlimanage-vue/-/merge_requests/54/widget.json" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"getState", "variables"=>"[FILTERED]", "query"=>"query getState($projectPath: ID!, $iid: String!) {\n project(fullPath: $projectPath) {\n archived\n onlyAllowMergeIfPipelineSucceeds\n mergeRequest(iid: $iid) {\n autoMergeEnabled\n commitCount\n conflicts\n diffHeadSha\n mergeError\n mergeStatus\n mergeableDiscussionsState\n headPipeline {\n id\n status\n warnings\n __typename\n }\n shouldBeRebased\n sourceBranchExists\n state\n targetBranchExists\n userPermissions {\n canMerge\n __typename\n }\n workInProgress\n __typename\n }\n __typename\n }\n}\n"}]}}
Processing by Gitlab::RequestForgeryProtection::Controller#index as HTML
Completed 200 OK in 0ms (ActiveRecord: 0.0ms | Elasticsearch: 0.0ms | Allocations: 85)
Processing by Projects::MergeRequestsController#commit_change_content as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequests::ContentController#cached_widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Processing by Projects::MergeRequests::ContentController#widget as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "id"=>"54"}
Completed 200 OK in 62ms (Views: 0.3ms | ActiveRecord: 6.1ms | Elasticsearch: 0.0ms | Allocations: 16779)
Completed 200 OK in 103ms (Views: 2.3ms | ActiveRecord: 7.3ms | Elasticsearch: 0.0ms | Allocations: 35314)
Started POST "/api/graphql" for 192.168.11.210 at 2021-07-06 09:21:44 +0800
Processing by GraphqlController#execute as */*
Parameters: {"_json"=>[{"operationName"=>"getMergeRequestState", "variables"=>"[FILTERED]", "query"=>"query getMergeRequestState($projectPath: ID!, $iid: String!) {\n workspace: project(fullPath: $projectPath) {\n issuable: mergeRequest(iid: $iid) {\n state\n __typename\n }\n __typename\n }\n}\n"}], "graphql"=>{"_json"=>[{"operationName"=>"getMergeRequestState", "variables"=>"[FILTERED]", "query"=>"query getMergeRequestState($projectPath: ID!, $iid: String!) {\n workspace: project(fullPath: $projectPath) {\n issuable: mergeRequest(iid: $iid) {\n state\n __typename\n }\n __typename\n }\n}\n"}]}}
Completed 200 OK in 190ms (Views: 133.4ms | ActiveRecord: 32.7ms | Elasticsearch: 0.0ms | Allocations: 56911)
Completed 200 OK in 94ms (Views: 0.3ms | ActiveRecord: 5.6ms | Elasticsearch: 0.0ms | Allocations: 13646)
Started GET "/Jlishop/jlimanage-vue/refs" for 192.168.11.210 at 2021-07-06 09:21:45 +0800
Started GET "/Jlishop/jlimanage-vue/-/branches" for 192.168.11.210 at 2021-07-06 09:21:45 +0800
Processing by ProjectsController#refs as JSON
Parameters: {"namespace_id"=>"Jlishop", "id"=>"jlimanage-vue"}
Processing by Projects::BranchesController#index as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue"}
Completed 200 OK in 27ms (Views: 0.2ms | ActiveRecord: 1.1ms | Elasticsearch: 0.0ms | Allocations: 9286)
Completed 200 OK in 28ms (Views: 0.2ms | ActiveRecord: 1.0ms | Elasticsearch: 0.0ms | Allocations: 9356)
Completed 200 OK in 1202ms (Views: 1.9ms | ActiveRecord: 97.0ms | Elasticsearch: 0.0ms | Allocations: 316701)
Started GET "/Jlishop/jlimanage-vue/noteable/merge_request/2651/notes" for 192.168.11.210 at 2021-07-06 09:21:46 +0800
Processing by Projects::NotesController#index as JSON
Parameters: {"namespace_id"=>"Jlishop", "project_id"=>"jlimanage-vue", "target_type"=>"merge_request", "target_id"=>"2651"}
Started GET "/uploads/-/system/user/avatar/4/avatar.png" for 192.168.11.210 at 2021-07-06 09:21:46 +0800
Processing by UploadsController#show as HTML
Parameters: {"model"=>"user", "mounted_as"=>"avatar", "id"=>"4", "filename"=>"avatar.png"}
Sent file /opt/gitlab/embedded/service/gitlab-rails/public/uploads/-/system/user/avatar/4/avatar.png (0.2ms)
Completed 200 OK in 19ms (ActiveRecord: 2.4ms | Elasticsearch: 0.0ms | Allocations: 3660)
Completed 200 OK in 373ms (Views: 1.4ms | ActiveRecord: 87.1ms | Elasticsearch: 0.0ms | Allocations: 70578)
Started POST "/api/v4/jobs/request" for 192.168.11.210 at 2021-07-06 09:21:47 +0800
Started POST "/api/v4/jobs/request" for 192.168.11.210 at 2021-07-06 09:21:47 +0800
Started GET "/Jlishop/jlimanage-vue.git/info/refs?service=git-upload-pack" for 192.168.11.170 at 2021-07-06 09:21:47 +0800
Processing by Repositories::GitHttpController#info_refs as */*
Parameters: {"service"=>"git-upload-pack", "repository_path"=>"Jlishop/jlimanage-vue.git"}
Filter chain halted as :authenticate_user rendered or redirected
Completed 401 Unauthorized in 9ms (Views: 0.5ms | ActiveRecord: 1.4ms | Elasticsearch: 0.0ms | Allocations: 2473)
Started GET "/Jlishop/jlimanage-vue.git/info/refs?service=git-upload-pack" for 192.168.11.170 at 2021-07-06 09:21:47 +0800
Processing by Repositories::GitHttpController#info_refs as */*
Parameters: {"service"=>"git-upload-pack", "repository_path"=>"Jlishop/jlimanage-vue.git"}
Completed 200 OK in 39ms (Views: 0.4ms | ActiveRecord: 5.9ms | Elasticsearch: 0.0ms | Allocations: 11661)
Started POST "/Jlishop/jlimanage-vue.git/git-upload-pack" for 192.168.11.170 at 2021-07-06 09:21:47 +0800
Processing by Repositories::GitHttpController#git_upload_pack as */*
Parameters: {"repository_path"=>"Jlishop/jlimanage-vue.git"}
Completed 200 OK in 207ms (Views: 0.4ms | ActiveRecord: 31.8ms | Elasticsearch: 0.0ms | Allocations: 72673)
Started POST "/Jlishop/jlimanage-vue.git/git-upload-pack" for 192.168.11.170 at 2021-07-06 09:21:48 +0800
Processing by Repositories::GitHttpController#git_upload_pack as */*
Parameters: {"repository_path"=>"Jlishop/jlimanage-vue.git"}
Completed 200 OK in 74ms (Views: 0.8ms | ActiveRecord: 13.0ms | Elasticsearch: 0.0ms | Allocations: 14493)
Started POST "/Jlishop/jlimanage-vue.git/git-upload-pack" for 192.168.11.170 at 2021-07-06 09:21:48 +0800
Processing by Repositories::GitHttpController#git_upload_pack as */*
Parameters: {"repository_path"=>"Jlishop/jlimanage-vue.git"}
Completed 200 OK in 42ms (Views: 0.5ms | ActiveRecord: 6.8ms | Elasticsearch: 0.0ms | Allocations: 10820)
Every time I click on the option of the merge request, various errors are reported::
1.Unable to obtain security report information. Please reload the page or try again later.
2.There was an error getting the environment for this merge request. Please try again later.
I executed the following command and returned as follows:
# sudo gitlab-rails c
--------------------------------------------------------------------------------
Ruby: ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux]
GitLab: 14.0.2 (bac4ee4a9e2) FOSS
GitLab Shell: 13.19.0
PostgreSQL: 12.6
--------------------------------------------------------------------------------
Loading production environment (Rails 6.1.3.2)
=> {:host=>"gitlab.xxxxxx.com", :protocol=>"https", :script_name=>"", :port=>4443}
irb(main):002:0>
What is the current bug behavior?
Only the page reports an error!
Unable to obtain security report information. Please reload the page or try again later.
There was an error getting the environment for this merge request. Please try again later.
Results of GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)
# sudo gitlab-rake gitlab:env:info
System information
System:
Current User: git
Using RVM: no
Ruby Version: 2.7.2p137
Gem Version: 3.1.4
Bundler Version:2.1.4
Rake Version: 13.0.3
Redis Version: 6.0.14
Git Version: 2.32.0
Sidekiq Version:5.2.9
Go Version: unknown
GitLab information
Version: 14.0.2
Revision: bac4ee4a9e2
Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: PostgreSQL
DB Version: 12.6
URL: https://gitlab.xxxxxx.com:4443
HTTP Clone URL: https://gitlab.xxxxxx.com:4443/some-group/some-project.git
SSH Clone URL: git@gitlab.xxxxxx.com:some-group/some-project.git
Using LDAP: no
Using Omniauth: yes
Omniauth Providers:
GitLab Shell
Version: 13.19.0
Repository storage paths:
- default: /var/opt/gitlab/git-data/repositories
GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
Git: /opt/gitlab/embedded/bin/git
Possible fixes
Edited by SoHuDrgon