Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9860

Unable to pull or clone hg repo over SSH (BB-10939)

      Hi!

      When trying to pull changes over SSH from one of my private repos. From one of my computers I'm unable to do so from another computer it's fine.

      When issueing the pull request the reuqest sometimes hangs in the beginning of the reuqest resulting in:

      #!
      
      running ssh -C hg@bitbucket.org &#x27;hg -R <REPO> serve --stdio&#x27;
      sending hello command
      sending between command
      remote: 145
      remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
      remote: 1
      pulling from <SSH-URL>
      preparing listkeys for "bookmarks"
      sending listkeys command
      remote: Connection to bitbucket.org closed by remote host.
      
      

      But more frequent is that the request does to execute, with the following output:

      #!
      
      running ssh -C hg@bitbucket.org &#x27;hg -R <REPO> serve --stdio&#x27;
      sending hello command
      sending between command
      remote: 145
      remote: capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
      remote: 1
      pulling from <SSH-URL>
      preparing listkeys for "bookmarks"
      sending listkeys command
      query 1; heads
      sending batch command
      searching for changes
      all local heads known remotely
      sending getbundle command
      adding changesets
      changesets: 1 chunks
      add changeset fd65f92b852f
      changesets: 2 chunks
      add changeset 4243c2f5de18
      changesets: 3 chunks
      add changeset dafb8bab2631
      changesets: 4 chunks
      add changeset 15df5733cdd5
      changesets: 5 chunks
      add changeset b08ebc57ffe9
      changesets: 6 chunks
      add changeset f9878ac0a66b
      changesets: 7 chunks
      add changeset 83322c6b0422
      changesets: 8 chunks
      add changeset 1bbd69d0ee9b
      adding manifests
      manifests: 1/8 chunks (12.50%)
      manifests: 2/8 chunks (25.00%)
      manifests: 3/8 chunks (37.50%)
      manifests: 4/8 chunks (50.00%)
      manifests: 5/8 chunks (62.50%)
      manifests: 6/8 chunks (75.00%)
      manifests: 7/8 chunks (87.50%)
      manifests: 8/8 chunks (100.00%)
      adding file changes
      adding .hgtags revisions
      files: 1/11 chunks (9.09%)
      adding extension/_locales/en/messages.json revisions
      files: 2/11 chunks (18.18%)
      adding extension/_locales/sv/messages.json revisions
      files: 3/11 chunks (27.27%)
      adding extension/context.js revisions
      files: 4/11 chunks (36.36%)
      adding extension/manifest.json revisions
      files: 5/11 chunks (45.45%)
      adding extension/options.html revisions
      files: 6/11 chunks (54.55%)
      adding extension/options.js revisions
      files: 7/11 chunks (63.64%)
      
      

      On the same computer where I'm unable to pull the changes I'm also unable to clone the repository into a new local repository.

            [BCLOUD-9860] Unable to pull or clone hg repo over SSH (BB-10939)

            If you're affected by this issue, please file a support ticket at support.atlassian.com so we can follow up.

            Legacy Bitbucket Cloud User (Inactive) added a comment - If you're affected by this issue, please file a support ticket at support.atlassian.com so we can follow up.

            Hello.

            I ran into similar issue today.

            But in my case it just hangs after sending the "heads" query.

            I tried doing it manually:

            #!bash
            
            $ ssh hg@bitbucket.org &#x27;hg -R <my_repo> serve --stdio&#x27;
            hello
            145
            capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024
            heads
            
            

            And after that nothing comes in reply.

            Only one of my repos is affected by the issue, others work fine.

            Furthermore everything works fine on another machine under another user.

            UPDATE: it got working after a couple of hours

            schebannyj added a comment - Hello. I ran into similar issue today. But in my case it just hangs after sending the "heads" query. I tried doing it manually: #!bash $ ssh hg@bitbucket.org &#x27;hg -R <my_repo> serve --stdio&#x27; hello 145 capabilities: lookup changegroupsubset branchmap pushkey known getbundle unbundlehash batch stream unbundle=HG10GZ,HG10BZ,HG10UN httpheader=1024 heads And after that nothing comes in reply. Only one of my repos is affected by the issue, others work fine. Furthermore everything works fine on another machine under another user. UPDATE: it got working after a couple of hours

            This sounds serious. I'll make an internal issue about this and poke the right people internally. Thank you for bringing this up.

            Abhin Chhabra (Inactive) added a comment - This sounds serious. I'll make an internal issue about this and poke the right people internally. Thank you for bringing this up.

            Now it seems to be working again - after two days of not working.

            I was prompted do do a hg recover when I issued a hg pull.

            westermarck added a comment - Now it seems to be working again - after two days of not working. I was prompted do do a hg recover when I issued a hg pull.

            Hello. Something similar happened to me some days ago and today I have again this issue. Very annoying.

            Michal Garbowski added a comment - Hello. Something similar happened to me some days ago and today I have again this issue. Very annoying.

              Unassigned Unassigned
              3cbf072d6007 westermarck
              Affected customers:
              2 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: