Details
-
Bug
-
Resolution: Fixed
-
Medium
-
2.8.0
Description
Symptom
Cloning a large repository (in this case > 4Gb) from Stash over SSH fails with the following error:
Receiving objects: 27% (98115/357420), 422.96 MiB | 3.73 MiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: recursion detected in die handler
The problem has been traced back to the SSH caching support that was added in the 1.2.x version of the scm-cache plugin.
Workaround
Disable the caching over SSH by:
curl -i -H "Content-Type: application/json" -X DELETE --user admin-user "http://my-stash.com/rest/scm-cache/latest/config/protocols/SSH"