Clones over SSH fail for large repositories

XMLWordPrintable

      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"
      

            Assignee:
            Michael Heemskerk (Inactive)
            Reporter:
            Michael Heemskerk (Inactive)
            Votes:
            13 Vote for this issue
            Watchers:
            31 Start watching this issue

              Created:
              Updated:
              Resolved: