Rhodecode returns 400 Bad request on huge mercurial repos
We have a big repository with size over 8500 commits.
First we started to get 400 Bad request on cloning in command cmd=getbundle. I've fixed it with enabling httppostargs as supposed here https://bugzilla.mozilla.org/show_bug.cgi?id=1350285 This changed queries from GET to POST and allowed to clone repo.
Next when Jenkins tried to pull pull-request's repo it continued to fail with the same error on GET query.
I've tried to raise gunicorn limits but it doesn't help also I didn't found where gunicorn writes error log so I could understand why it return 400.
limit_request_line=8190 limit_request_fields=32768 limit_request_field_size=0