Gitea: RPC failed: curl 56 Recv failed: Connection was aborted

Created on 3 Jan 2018  路  7Comments  路  Source: go-gitea/gitea

  • Gitea version (or commit ref): 1.3.0
  • Git version: 2.13.2.windows.1
  • Operating system: Windows 10
  • Database (use [x]):

    • [ ] PostgreSQL

    • [ ] MySQL

    • [ ] MSSQL

    • [x] SQLite

  • Can you reproduce the bug at https://try.gitea.io:

    • [ ] Yes (provide example URL)

    • [ ] No

    • [x] Not relevant

Description

I'm getting the following error while trying to push to a newly created repo:

git push -u origin master
Counting objects: 1016, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (951/951), done.
error: RPC failed; curl 56 Recv failure: Connection was aborted
fatal: The remote end hung up unexpectedly
Writing objects: 100% (1016/1016), 8.75 MiB | 4.70 MiB/s, done.
Total 1016 (delta 159), reused 0 (delta 0)
fatal: The remote end hung up unexpectedly
Everything **up-to-date**

The repo I'm pushing up is only 51.2MB

Gitea is installed on a server on our local network. Other repositories are pushing up just fine

Most helpful comment

Figured it out after some StackOverflowing.

I had a an .exe file which was 15.5MB in the repo, therefor I needed to set my global http.postBuffer setting

From git bash ran:

git config --global http.postBuffer 157286400

Then everything worked fine!

Hope that help someone else

All 7 comments

Do you see any errors in stdout, gitea.log or serv.log?

Nope. The logs are pretty bare. Only output what's enabled.

I'm just currently checking our proxy settings. The curl 56 Recv failure could be a proxy issue...

No it's not the proxy. I can curl directly using the same proxy address as in git config --global http.proxy

Figured it out after some StackOverflowing.

I had a an .exe file which was 15.5MB in the repo, therefor I needed to set my global http.postBuffer setting

From git bash ran:

git config --global http.postBuffer 157286400

Then everything worked fine!

Hope that help someone else

help

i have a same problem but dont anderstend how to run this git config --global http.postBuffer 157286400

@Tchikadzegiorgi Run it in Git Bash

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thehowl picture thehowl  路  3Comments

Fastidious picture Fastidious  路  3Comments

lunny picture lunny  路  3Comments

BRMateus2 picture BRMateus2  路  3Comments

flozz picture flozz  路  3Comments