502-Whoops, GitLab is taking too much time to respond with error":"badgateway: failed to receive response: context canceled"

I’ve been running my gitlab for more than 1 year and everything was fine, but today when I access the main webpage I got 502-Whoops, GitLab is taking too much time to respond.
I’v tried sudo gitlab-ctl reconfigure; sudo gitlab-ctl restart but it doesn’t help.
CPU and memory usage of my server has enough free space.

log in /var/log/gitlab/gitlab-workhorse/current is bellow.

{"content_type":"text/plain","correlation_id":"01HN9K0DT4CDGH756PHWDAK504","duration_ms":300001,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:13:05+08:00","ttfb_ms":300001,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9K5H97Z64815N0XB33EF87","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:15:52+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9K5H97Z64815N0XB33EF87","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:15:52+08:00","ttfb_ms":300001,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9KC2BRRAS6XYDQQ6EWV7X6","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:19:26+08:00","uri":"/users/sign_in"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KC2BRRAS6XYDQQ6EWV7X6","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:19:26+08:00","ttfb_ms":300001,"uri":"/users/sign_in","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0","written_bytes":2940}
{"correlation_id":"01HN9KEPDR12VD260S0W98YE5H","duration_ms":300003,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:20:52+08:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KEPDR12VD260S0W98YE5H","duration_ms":300004,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:20:52+08:00","ttfb_ms":300003,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9KEY08BMMGSBXP2ACXD7ZZ","duration_ms":300001,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:21:00+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KEY08BMMGSBXP2ACXD7ZZ","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:21:00+08:00","ttfb_ms":300001,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9KF5FVS8QJCY48ZA7HKV4B","duration_ms":299999,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:21:08+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9KF5FVS8QJCY48ZA7HKV4B","duration_ms":299999,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:21:08+08:00","ttfb_ms":299999,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9KV0HQ1542XC8HF5N21CB2","duration_ms":96156,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"GET","msg":"","time":"2024-01-29T11:24:12+08:00","uri":"/jd-warehouse/imu_check_view"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KV0HQ1542XC8HF5N21CB2","duration_ms":96157,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:24:12+08:00","ttfb_ms":96156,"uri":"/jd-warehouse/imu_check_view","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36","written_bytes":2940}
{"correlation_id":"01HN9KWMWFA8ZWC1JP5WSVQ9KE","duration_ms":59161,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"GET","msg":"","time":"2024-01-29T11:24:29+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KWMWFA8ZWC1JP5WSVQ9KE","duration_ms":59161,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:24:29+08:00","ttfb_ms":59161,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9KR3261XC9C97RF0ETPFX5","duration_ms":300001,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:26:00+08:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9KR3261XC9C97RF0ETPFX5","duration_ms":300003,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:26:00+08:00","ttfb_ms":300003,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"level":"info","msg":"shutdown initiated","shutdown_timeout_s":0,"signal":"terminated","time":"2024-01-29T11:26:26+08:00"}
{"level":"info","msg":"keywatcher: shutting down","time":"2024-01-29T11:26:26+08:00"}
{"error":"context deadline exceeded","level":"fatal","msg":"shutting down","time":"2024-01-29T11:26:26+08:00"}
{"build_time":"20210803.154008","level":"info","msg":"Starting","time":"2024-01-29T11:29:04+08:00","version":"v14.1.2"}
{"level":"info","msg":"keywatcher: starting process loop","time":"2024-01-29T11:29:04+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:04+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:04+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:04+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:04+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:04+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:04+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:04+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:04+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:05+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:05+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:05+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:05+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:08+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:08+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:08+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:08+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:10+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:10+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:13+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:13+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:29:28+08:00"}
{"error":"keywatcher: dial unix /var/opt/gitlab/redis/redis.socket: connect: no such file or directory","level":"error","msg":"","time":"2024-01-29T11:29:28+08:00"}
{"address":"/var/opt/gitlab/redis/redis.socket","level":"info","msg":"redis: dialing","network":"unix","time":"2024-01-29T11:30:21+08:00"}
{"correlation_id":"01HN9M70TAVWZ6A7MCZETT40ME","duration_ms":300003,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:34:09+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9M70TAVWZ6A7MCZETT40ME","duration_ms":300004,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:34:09+08:00","ttfb_ms":300004,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9M7KZZS8JCJJV4G9HWC167","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"POST","msg":"","time":"2024-01-29T11:34:29+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9M7KZZS8JCJJV4G9HWC167","duration_ms":300000,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:34:29+08:00","ttfb_ms":300000,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9M7Q3PXRQPPAGCRZ286TN6","duration_ms":299999,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:34:32+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9M7Q3PXRQPPAGCRZ286TN6","duration_ms":300000,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:34:32+08:00","ttfb_ms":300000,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9M82G6WZ688M6YDX4FDVRB","duration_ms":300001,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:34:44+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9M82G6WZ688M6YDX4FDVRB","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:34:44+08:00","ttfb_ms":300001,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9MH7R6A8SVPQEPKPK28YSR","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T11:39:44+08:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9MH7R6A8SVPQEPKPK28YSR","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T11:39:44+08:00","ttfb_ms":300001,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9MWJTK0EMW3MJGJQPHYE55","duration_ms":300003,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"POST","msg":"","time":"2024-01-29T11:45:56+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9MWJTK0EMW3MJGJQPHYE55","duration_ms":300010,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:45:56+08:00","ttfb_ms":300010,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9MX7W6AJ0QEYRRR28RGCJ6","duration_ms":299999,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:46:18+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9MX7W6AJ0QEYRRR28RGCJ6","duration_ms":300000,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:46:18+08:00","ttfb_ms":299999,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9MXHDCSH0J700A8FD08ESK","duration_ms":299999,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:46:27+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9MXHDCSH0J700A8FD08ESK","duration_ms":300000,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:46:27+08:00","ttfb_ms":300000,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9MXHE85FA8JSSAG5AHP33R","duration_ms":299999,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:46:27+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9MXHE85FA8JSSAG5AHP33R","duration_ms":300000,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:46:27+08:00","ttfb_ms":300000,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9NCCTP9GSPG95FBP0EYQ5P","duration_ms":300000,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T11:54:34+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9NCCTP9GSPG95FBP0EYQ5P","duration_ms":300009,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T11:54:34+08:00","ttfb_ms":300009,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}
{"correlation_id":"01HN9NQYHP8X5KTZEK4MFVBVK6","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T12:00:53+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9NQYHP8X5KTZEK4MFVBVK6","duration_ms":300008,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:00:53+08:00","ttfb_ms":300008,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9P13JTF56MK7679ZSNMJ5T","duration_ms":300001,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T12:05:53+08:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9P13JTF56MK7679ZSNMJ5T","duration_ms":300002,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:05:53+08:00","ttfb_ms":300002,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9Q2B4ZQ9XPBYD93KV4E2R4","duration_ms":1353,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"GET","msg":"","time":"2024-01-29T12:19:03+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9Q2B4ZQ9XPBYD93KV4E2R4","duration_ms":1355,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/users/sign_in","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:19:03+08:00","ttfb_ms":1355,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0","written_bytes":2940}
{"correlation_id":"01HN9Q2E6JQRX2MFH5DPGZC7JR","duration_ms":104943,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"GET","msg":"","time":"2024-01-29T12:20:50+08:00","uri":"/users/sign_in"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9Q2E6JQRX2MFH5DPGZC7JR","duration_ms":104946,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:20:50+08:00","ttfb_ms":104946,"uri":"/users/sign_in","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0","written_bytes":2940}
{"correlation_id":"01HN9Q5NJ8F07S8AGB204FPPFD","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T12:25:51+08:00","uri":"/users/sign_in"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9Q5NJ8F07S8AGB204FPPFD","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:25:51+08:00","ttfb_ms":300000,"uri":"/users/sign_in","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0","written_bytes":2940}
{"correlation_id":"01HN9RATDE8C6QJEB1333VMM6C","duration_ms":300002,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T12:46:08+08:00","uri":"/"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9RATDE8C6QJEB1333VMM6C","duration_ms":300010,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:46:08+08:00","ttfb_ms":300009,"uri":"/","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9RKZEXXZXP7Z2MEGA822AP","duration_ms":300000,"error":"badgateway: failed to receive response: net/http: timeout awaiting response headers","level":"error","method":"GET","msg":"","time":"2024-01-29T12:51:08+08:00","uri":"/favicon.ico"}
{"content_type":"text/html; charset=utf-8","correlation_id":"01HN9RKZEXXZXP7Z2MEGA822AP","duration_ms":300001,"host":"gitlab.qidi:8120","level":"info","method":"GET","msg":"access","proto":"HTTP/1.1","referrer":"http://gitlab.qidi:8120/","remote_addr":"202.105.108.147:0","remote_ip":"202.105.108.147","route":"","status":502,"system":"http","time":"2024-01-29T12:51:08+08:00","ttfb_ms":300001,"uri":"/favicon.ico","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 Edg/121.0.0.0","written_bytes":2940}
{"correlation_id":"01HN9VNS99F8S685M3C3DGKVVK","duration_ms":299998,"error":"badgateway: failed to receive response: context canceled","level":"error","method":"POST","msg":"","time":"2024-01-29T13:44:33+08:00","uri":"/api/v4/internal/allowed"}
{"content_type":"text/plain","correlation_id":"01HN9VNS99F8S685M3C3DGKVVK","duration_ms":299999,"host":"unix","level":"info","method":"POST","msg":"access","proto":"HTTP/1.1","referrer":"","remote_addr":"127.0.0.1:0","remote_ip":"127.0.0.1","route":"^/api/","status":502,"system":"http","time":"2024-01-29T13:44:33+08:00","ttfb_ms":299999,"uri":"/api/v4/internal/allowed","user_agent":"GitLab-Shell","written_bytes":24}

Feel free to notify me if more information need. Thanks.

Reboot my server solved this issue, weird.