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

Initially imported repo fails on fetch over HTTP (BB-16097)

    XMLWordPrintable

Details

    Description

      I imported the Linux repo from https://github.com/torvalds/linux.git via the Bitbucket UI.

      SSH clone worked fine.
      HTTP clone times outs within 1m10s with no other output.

      71% 2016-05-22 09:34:35 ☆  mbp in /tmp/linuxhttp
      ± |master ✓| → git fetch --progress https://mstudman@bitbucket.org/<omitted>/linux.git
      error: RPC failed; result=52, HTTP code = 0
      fatal: The remote end hung up unexpectedly
      
      71% 2016-05-22 09:35:46 ☆  map in /tmp/linuxhttp
      

      Getting a support engineer to do a remote GC on the repo fixes the problem - HTTP clone succeeds.

      ± |master ✓| → git fetch --progress https://mstudman@bitbucket.org/<omitted>/linux.git
      remote: Counting objects: 4691121, done.
      remote: Compressing objects: 100% (716308/716308), done.
      ...
      

      Note that the repo size is roughly the same before and after the GC. If I had to guess, I'd suggest Django kills the request because there's absolutely no output for too long at the start of the request. Why there is no output when SSH cloning/fetching starts outputting progress after 5-10s is something you will need to investigate.

      BTW this problem is repeatable - just import from Linux on github and attempt to clone via HTTP

      Attachments

        Activity

          People

            Unassigned Unassigned
            mstudman Michael Studman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: