"Timeout awaiting response headers" when uploading build artifacts to coordinator
On our selfhosted Gitlab instance, there is a problem when uploading build artifacts when running the CI pipeline on one specific project. The difference with that project is that the build artifacts are comparatively large, they can be 10-15GB. I presume that that is the reason for the timeout.
Here is an excerpt of the pipeline log:
Uploading artifacts...
Runtime platform arch=amd64 os=windows pid=9876 revision=003fe500 version=12.7.1
deploy: found 3 matching files
WARNING: Failed to load system CertPool: crypto/x509: system root pool is not available on Windows
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: Post https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: net/http: timeout awaiting response headers id=26513 token=xxxxxxx
WARNING: Retrying... error=invalid argument
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: Post https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: net/http: timeout awaiting response headers id=26513 token=xxxxxxx
WARNING: Retrying... error=invalid argument
ERROR: Uploading artifacts to coordinator... error error=couldn't execute POST against https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: Post https://git.example.com/api/v4/jobs/26513/artifacts?artifact_format=zip&artifact_type=archive&expire_in=10+hours: net/http: timeout awaiting response headers id=26513 token=xxxxxxx
FATAL: invalid argument
ERROR: Job failed: exit status 1
What can I do to fix this? Thank you!
Edited by Marvin