Uploading to Google reports a 500 error when artifact is too large
As @ggeorgiev_ saw in https://gitlab.com/gitlab-org/gitlab-runner/-/jobs/869334194, the upload to object store reports a 500 error instead of 413:
handleFileUploads: extract files from multipart: persisting multipart file: PUT request "https://storage.googleapis.com/gitlab-gprd-artifacts/tmp/uploads/1606223584-29958-0454-7933-3b862b6ebdcd26253122cc5a34d4a5bd?GoogleAccessId=gitlab-object-storage-prd@gitlab-production.iam.gserviceaccount.com&Signature=[FILTERED]&Expires=1606238884": Put "https://storage.googleapis.com/gitlab-gprd-artifacts/tmp/uploads/1606223584-29958-0454-7933-3b862b6ebdcd26253122cc5a34d4a5bd?GoogleAccessId=gitlab-object-storage-prd@gitlab-production.iam.gserviceaccount.com&Signature=wWqvj8cfefoGR40G8gZADvekJwUpoE6L%2FGJQz0KHFr2XTgtdh%2FNVQQkg4z53%0AcQP1KgqRv%2BX61Eo0ZSKQKdiUzrLBNWjWHyzQriYSGocHGaDKh6VewlFLI8z6%0ACZowH2AAUYVaaelQW5oaGJ9J05iYYjn2r43UfuEwPMO5jQeuqS4RNBI18HyM%0ATOLDvSN3a%2FH09wo9VjDlugB0MBbMOd2JIY3QOakwI%2F1zocam0F3fk%2FNX%2FzRO%0Aq97pR4%2BLuyecfN8RtU7%2BhXf4BDJ6AS31pVBmBOclAh7QW1Ph%2Bbh%2FX13vk1WR%0A3oCrFLfprKSsMaBy50z8%2F0%2BY9tvT6Df93XvGvTVApQ%3D%3D&Expires=1606238884": entity is too large
This is similar to an issue that was fixed with AWS: !655 (merged).