I have 2 internet connections (let's call them Con1, Con2), I'm trying to push my commits to the origin over Con1, but the git push is not successful. It works just fine over Con2. Git pull, fetch work fine over both, it's just git push that fails. I'm using Git over SSH. I get the below error-
Enumerating objects: 16, done.
Delta compression using up to 4 threads
Total 9 (delta 6), reused 0 (delta 0)
POST git-receive-pack (2157 bytes)
Error encountered while pushing to the remote repository: Git failed with a fatal error.
the remote end hung up unexpectedly
the remote end hung up unexpectedly
RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
Everything up-to-date
Speed/Bandwidth is not an issue, as Con1 on which git push fails is a higher speed network whereas the git push is successful over the lower speed network (Con2). I tried setting the http.postBuffer but no luck.
git config --global http.postBuffer 1048576000
What could be the issue?