On Wed, Apr 14, 2021 at 10:12:44AM +0000, Simon, Martin (Digiteq Automotive) wrote: > Actual result (when failed): > Cloning into 'local-repo-name'... > remote: Enumerating objects: 237, done. > remote: Counting objects: 100% (237/237), done. > remote: Compressing objects: 100% (129/129), done. > fetch-pack: unexpected disconnect while reading sideband packet > fatal: early EOF > fatal: fetch-pack: invalid index-pack output This could be many things. A bug or race on the client side is possible, but it could also be that the network session really _is_ being disconnected. This could be something in the network stack itself terminating the connection, or it could be a bug or other error on the server. Some things to consider/try: - you can run with GIT_TRACE_PACKET=1 set in the environment, which will dump the protocol messages that Git sees (this may not be enlightening since the problem case seems to be a hangup, but perhaps the moment it happens will be relevant) - you didn't say which protocol you're using. If it's http, try setting GIT_TRACE_CURL, too, and it will dump debugging data about the http session - if possible, try a different protocol (like ssh) and see if the problem continues to show up - look at server-side logs to see how the server perceives the sessions. Does it report any errors that might cause it to hang up? Does it see a client-side hangup (which might be indicative of something flaky in the network)? -Peff