Page MenuHomePhabricator

fatal: the remote end hung up unexpectedly
Closed, DuplicatePublic

Description

For some reason, I can't clone repositories or do something else with Gerrit.

I use WSL with Debian 10.

kizule@LAPTOP-SFJA64B3:~/development$ git clone "ssh://zoranzoki21@gerrit.wikimedia.org:29418/mediawiki/extensions/EditUser" && scp -p -P 29418 zoranzoki21@gerrit.wikimedia.org:hooks/commit-msg "EditUser/.git/hooks/"
Cloning into 'EditUser'...
Connection to gerrit.wikimedia.org closed by remote host.iB/s   
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

Debugging shows nothing:

kizule@LAPTOP-SFJA64B3:~/development$ GIT_CURL_VERBOSE=1 GIT_TRACE=1 git clone "ssh://zoranzoki21@gerrit.wikimedia.org:29418/mediawiki/extensions/EditUser" && scp -p -P 29418 zoranzoki21@gerrit.wikimedia.org:hooks/commit-msg "EditUser/.git/hooks/"
21:03:12.024617 git.c:418               trace: built-in: git clone ssh://zoranzoki21@gerrit.wikimedia.org:29418/mediawiki/extensions/EditUser
Cloning into 'EditUser'...
21:03:12.027615 run-command.c:643       trace: run_command: unset GIT_DIR; ssh -p 29418 zoranzoki21@gerrit.wikimedia.org 'git-upload-pack '\''/mediawiki/extensions/EditUser'\'''
21:03:14.593320 run-command.c:643       trace: run_command: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 413 on LAPTOP-SFJA64B3' --check-self-contained-and-connected
21:03:14.594561 git.c:418               trace: built-in: git index-pack --stdin -v --fix-thin '--keep=fetch-pack 413 on LAPTOP-SFJA64B3' --check-self-contained-and-connected
Connection to gerrit.wikimedia.org closed by remote host.iB/s   
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

I tried with reinstalling git and git-review too.