Beberapa waktu lalu pernah mengalami hal ini, yaitu ketika membuat project baru kemudian push request.
0 1 2 3 4 |
error: RPC failed; result=55, HTTP code = 200 fatal: The remote end hung up unexpectedly Writing objects: 100% (54/54), 13.45 MiB | 35.00 KiB/s, done. Total 54 (delta 2), reused 0 (delta 0) fatal: The remote end hung up unexpectedly |
Rupanya penyebabnya adalah berikut ini
The “Smart HTTP” protocol in Git uses “Transfer-Encoding: chunked” in POST requests when it contains packed objects greater than 1MB in size.
Some proxy servers, like Nginx, do not support this transfer encoding by default, and the requests will be rejected before they get to Stash. Because of this, the Stash logs will not show any extra information.
Sehingga kita harus mengubah ukuran http.postBuffer-nya
0 |
git config --global http.postBuffer 157286400 |