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

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Low
    • None
    • Affects Version/s: 3.8.0
    • Component/s: Git Hosting

      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

            Assignee:
            Unassigned
            Reporter:
            Austin Riendeau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: