git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Git clone fails with fatal: the remote end hung up unexpectedly

From
OOOwen Ofiesh <oofiesh@maxlinear.com>
Date
Dec 11, 2018, 00:48 UTC
Message-ID
<CY4PR19MB1526704FC790724C2DC68465ADA60@CY4PR19MB1526.namprd19.prod.outlook.com>
We are seeing an issue where git clone in Linux Ubuntu 14.04.5 LTS fails with the following error using the HTTP protocol.
The error on the client is:
   fatal: the remote end hung up unexpectedly
   fatal: early EOF
   fatal: index-pack failed
The client is writing to an NFS volume.
The HTTP POST error on the server is:
   c.a.s.i.w.filters.StreamGuardFilter The remote client has aborted the connection
   c.a.s.i.w.filters.StreamGuardFilter Failed to flush buffer; the remote client aborted the connection
Our git repositories are managed by Atlassian's bitbucket server v5.5.1.
We see this with the Linux git client SW v1.9.1 and v2.19.2 (doesn't seem to matter the client SW version).
The Linux git server is SW v2.9.5.
Per discussions about this we've tried the following:
1. We increased the GIT_HTTP_MAX_REQUEST_BUFFER setting on the server to 100MBs.
2. We set the http.postBuffer client value to 100MBs.
Neither of these helped.
Any thoughts about this please?
Note: 
For reasons I will not enter into, we cannot use SSH for this.
Thank you.
end
Regards,
Owen Ofiesh, SCM, Software Test and Development Manager
MaxLinear, Inc.  |  www.maxlinear.com 
5966 La Place Court Suite 100 Carlsbad, CA 92008
Phone: 760-517-1109
Cell: 858-335-1690
oofiesh@maxlinear.com 
Next: Bryan Turner
Message 1 of 4 in “Git clone fails with fatal: the remote end hung up unexpectedly”
  1. Owen OfieshDec 11, 2018
  2. Bryan TurnerDec 11, 2018
  3. Owen OfieshDec 11, 2018
  4. Jeff KingDec 11, 2018

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.