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

Using `go get`, go tries to use git ls-remote but stash does not handle the redirect

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Low
    • None
    • 3.8.0
    • Git Hosting

    Description

      When using go get, stash does not handle the http redirect for /scm/ paths. It will just timeout and fail. This leaves go get into just sitting for the 2 minute timeout.

      Parsing meta tags from https://gopkg.in/mgo.v2?go-get=1 (status code 200)

      1. cd .; git ls-remote git://stash.instance.com/go/insights
        fatal: unable to connect to stash.itriagehealth.com:
        stash.instance.com[0: 54.86.163.19]: errno=Connection timed out

      Should redirect like:
      https://stash/project/repo -> https://stash/scm/project/repo

      Attachments

        Activity

          People

            Unassigned Unassigned
            15acc4e07964 Austin Riendeau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: