Logstash view (private) for SSH_MSG_CHANNEL_WINDOW_ADJUST errors: https://logstash.wikimedia.org/goto/fa9a106798206f16ca48ccb3ca47f34b
If you encounter this issue, please try again with more verbosity:
GIT_SSH_COMMAND='ssh -vv' git fetch
That would give more information about what is happening with ssh on the client side.
Upstream informations
- Issue 11491: git clone\fetch\pull over SSH in high-latency network ends with error since 2.16
- Issue 11572: SSH: Track and detect client protocol misbehavior
From a thread in April 2020 at https://groups.google.com/g/repo-discuss/c/UUvDYv2qWqY
It's this issue: SSHD-942, that was fixed in: https://gerrit-review.googlesource.com/c/gerrit/+/238384 . The fix is included since gerrit 3.1.0, so that I actually surprised you still see it on gerrit 3.3.0.
I receive this error message every time when trying to pull the mediawiki/core repo. Other repos seem fine.
I've seen the issue yesterday for the first time, but it worked after retrying. Today it no longer works.
C:\mediawiki\core>git pull remote: Counting objects: 23789, done remote: Finding sources: 100% (976/976) remote: Getting sizes: 100% (282/282) remote: Compressing objects: 100% (4740744/4740744) client_loop: send disconnect: Connection reset by peer KiB/s fatal: the remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed warning: unable to unlink '(NULL)': Invalid argument
My Git version is:
C:\mediawiki\core>git --version git version 2.28.0.windows.1
(and yes, I'm on Windows)