Large artifacts fail to upload
I was having issues with large artifact upload (2.2G) to my Gitlab 8.2 Omnibus installation:
gitlab_error.log:2015/12/02 16:16:11 [error] 32176#0: *56547 client intended to send too large body: 2332559878 bytes, client: 10.76.176.108, server: git.storage, request: "POST /ci/api/v1/builds/26/artifacts HTTP/1.1", host: "git.storage"
So I went ahead and added these lines to /etc/gitlab/gitlab.rb
nginx['client_max_body_size'] = '5g' ci_nginx['enable'] = true ci_nginx['client_max_body_size'] = '5g'
The reconfigured gitlab using gitlabctl.
Now instead of an Nginx 413 error I get an access log error:
10.76.176.108 - - [02/Dec/2015:17:02:47 -0500] "POST /ci/api/v1/builds/28/artifacts HTTP/1.1" 500 65 "-" "curl/7.29.0" 10.76.176.108 - - [02/Dec/2015:17:02:56 -0500] "PUT /ci/api/v1/builds/28.json HTTP/1.1" 200 4 "-" "Go 1.1 package http" 10.76.176.108 - - [02/Dec/2015:17:03:18 -0500] "POST /ci/api/v1/builds/28/artifacts HTTP/1.1" 500 65 "-" "curl/7.29.0" 10.76.176.108 - - [02/Dec/2015:17:03:27 -0500] "PUT /ci/api/v1/builds/28.json HTTP/1.1" 200 4 "-" "Go 1.1 package http" 10.76.176.108 - - [02/Dec/2015:17:03:45 -0500] "POST /ci/api/v1/builds/28/artifacts HTTP/1.1" 500 65 "-" "curl/7.29.0" 10.76.176.108 - - [02/Dec/2015:17:03:57 -0500] "PUT /ci/api/v1/builds/28.json HTTP/1.1" 200 4 "-" "Go 1.1 package http" 10.76.176.108 - - [02/Dec/2015:17:04:20 -0500] "POST /ci/api/v1/builds/28/artifacts HTTP/1.1" 500 65 "-" "curl/7.29.0" 10.76.176.108 - - [02/Dec/2015:17:04:21 -0500] "PUT /ci/api/v1/builds/28.json HTTP/1.1" 200 4 "-" "Go 1.1 package http"
Still fails to upload artifacts.