lfs and apache proxy error
Updated to 8.2 and attempting to use lfs to upload a file. Pushing gives me this in the apache log:
[Mon Nov 23 10:33:38.205918 2015] [proxy:error] [pid 18560] (32)Broken pipe: [client X.X.X.X:61107] AH01084: pass request body failed to 127.0.0.1:8080 (127.0.0.1)
[Mon Nov 23 10:33:38.206042 2015] [proxy_http:error] [pid 18560] [client X.X.X.X:61107] AH01097: pass request body failed to 127.0.0.1:8080 (127.0.0.1) from X.X.X.X ()
git push attempts to re-upload the file but stalls. I have to cancel:
ttys001 44 $ git push
Username for 'https://gitlab.myserver.org': me
Password for 'https://sund@gitlab.myserver.org':
(1 of 1 files) 54.33 MB / 54.33 MB U
(1 of 1 files) 54.33 MB / 54.33 MB
^CKilled by signal 2.
Exiting because of "interrupt" signal.
I have followed the recipes for apache and other than lfs, its working fine.
The relevant stanzas for the proxypass:
<Location />
# New authorization commands for apache 2.4 and up
# http://httpd.apache.org/docs/2.4/upgrading.html#access
Require all granted
#Allow forwarding to gitlab-workhorse
ProxyPassReverse http://127.0.0.1:8181
#Allow forwarding to GitLab Rails app (Unicorn)
ProxyPassReverse http://127.0.0.1:8080
ProxyPassReverse http://gitlab.myserver.org/
</Location>
Production log shows some activity:
Started POST "/api/v3/internal/allowed" for 127.0.0.1 at 2015-11-23 10:46:39 -0500
Started POST "/api/v3/internal/allowed" for 127.0.0.1 at 2015-11-23 10:46:41 -0500
Started POST "/me/lfs.git/info/lfs/objects/batch" for X.X.X.X at 2015-11-23 10:46:51 -0500
Started PUT "/me/lfs.git/gitlab-lfs/objects/efda89745af8cb01238b23a82a8269dfedcc671793cf7598643693f070a33337/56969861" for X.X.X.X at 2015-11-23 10:46:51 -0500
I found one solution via google to increase the unicorn timeout but that didn't help -- especially as the upload takes <4 seconds. This seems to be an issue with apache proxy. Any ideas on why the proxy is erroring out?