16.6.21 UPDATE
I Found the cause of this problem. It was my VPN Client (CISCO Anyconnect). There were some Packet Filters installed with the Client and therefore not all Packages were sent properly to the server.
QUESTIONE
I already searched google for hours to find a solution for my problem, but none of the written solutions helped me.
Last Friday, I did a complete fresh install of Mac OS Big Sur on my Mac Mini (2020). I was setting up my development environment to my needs and it looked like it was working really good until yesterday.
Yesterday was trying to push some commits to our GitLab server... while pushing a error came up
client_loop: send disconnect: Broken pipe
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
I tried to fix the error by setting several arguments in my ./ssh/config file, like:
Host *
ServerAliveInterval 60
ServerAliveCountMax 5
IPQoS=throughput
and many more.
3 hours later I was really annoyed and pushed the commits via https not via ssh anymore.
A bit later I had to push a local WordPress installation to our staging environment. Suddenly nearly the same error occurred again
rsync: [sender] write error: Broken pipe (32)
rsync error: unexplained error (code 255) at io.c(823) [sender=3.2.3]
The strange thing is:
While downloading via git clone or rsync (both via ssh) everything works well. Also connecting via ssh to the server works really well BUT! when I begin to upload a larger amount of files I'm getting those errors (also tried with a plain rsync
command).
Could this be caused by different OpenSSH versions on our servers (OpenSSH_7.2p2 Ubuntu-4ubuntu2.10, OpenSSL 1.0.2g 1 Mar 2016) and my machine (OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021)?
Anyone has any advices for me?