Pages Artifact viewing Client.Timeout exceeded while awaiting headers
Summary
Customer on 15.4 reporting that when browsing artifacts from a job, they are unable to open them via the Pages link provided by the UI.
Pages is behind an SSL load balancer and rails and pages servers are same. client ip preservation is turned on.
Error in pages logs:
Click to expand
{"correlation_id":"01H50DWHPX371XM46VQ5W4ETKT","error":"Get \"https://cce-gitlab.REDACTED.com/api/v4/projects/mtsg%2Finternal%2Fprojects%2Ftbs%2Fnr%2Fcsim/jobs/502883/artifacts/sims/e2e/run/regression/post_commit/scenarios/test_vectors/testvector_report/ws_scenarios_DL_COMBO_FR1_fail_DL_COMBO_test0005.txt\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","host":"mtsg.cce-gitlab-pages.REDACTED.com","level":"error","msg":"failed to request the artifact","path":"/-/internal/projects/tbs/nr/csim/-/jobs/502883/artifacts/sims/e2e/run/regression/post_commit/scenarios/test_vectors/testvector_report/ws_scenarios_DL_COMBO_FR1_fail_DL_COMBO_test0005.txt","time":"2023-07-10T10:34:26-07:00"}
Pages Settings:
pages_external_url "https://xxx-gitlab-pages.xxx.com/"
pages_nginx['enable'] = false
nginx['listen_addresses'] = ['xx.xx.xx.xx'] # The primary IP of the GitLab instance
gitlab_pages['external_http'] = ['xx.xx.xx.xx:80']
gitlab_pages['external_https'] = ['xx.xx.xx.xx:443']
gitlab_pages['redirect_http'] = true
gitlab_pages['cert'] = "/etc/gitlab/ssl/pages.crt"
gitlab_pages['cert_key'] = "/etc/gitlab/ssl/pages.key"
gitlab_pages['internal_gitlab_server'] = 'http://localhost:8080'
gitlab_pages['access_control'] = true
Steps to reproduce
Been unable to reproduce thus far
What is the current bug behavior?
After a long pause will receive a 502 error and no file
What is the expected correct behavior?
file is displayed or downloaded
Relevant logs and/or screenshots
Click to expand
{"correlation_id":"01H50DWHPX371XM46VQ5W4ETKT","error":"Get \"https://cce-gitlab.REDACTED.com/api/v4/projects/mtsg%2Finternal%2Fprojects%2Ftbs%2Fnr%2Fcsim/jobs/502883/artifacts/sims/e2e/run/regression/post_commit/scenarios/test_vectors/testvector_report/ws_scenarios_DL_COMBO_FR1_fail_DL_COMBO_test0005.txt\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)","host":"mtsg.cce-gitlab-pages.REDACTED.com","level":"error","msg":"failed to request the artifact","path":"/-/internal/projects/tbs/nr/csim/-/jobs/502883/artifacts/sims/e2e/run/regression/post_commit/scenarios/test_vectors/testvector_report/ws_scenarios_DL_COMBO_FR1_fail_DL_COMBO_test0005.txt","time":"2023-07-10T10:34:26-07:00"}