Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-4005

Clones over SSH fail for large repositories

    XMLWordPrintable

Details

    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"
      

      Attachments

        Issue Links

          Activity

            People

              mheemskerk Michael Heemskerk (Inactive)
              mheemskerk Michael Heemskerk (Inactive)
              Votes:
              13 Vote for this issue
              Watchers:
              30 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: