Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-18320

Failed to resolve Go remote with trailing slash if provider is artifactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.7.0
    • Component/s: Go
    • Labels:
      None

      Description

      Artifactory Go remote repository pointing to an Artifactory as the module provider will fail to fetch info, mod and zip files if the remote URL had trailing slash.

      Create a remote repository
      URL: https://gocenter.jfrog.info/gocenter/api/go/gocenter-virtual/
      Provider: Artifactory

      Build something
      jfrog rt go build go --url http://localhost:8081/artifactory

      example output
      go: github.com/spf13/cobra@v0.0.3: unexpected status (http://:@localhost:8082/artifactory/api/go/go/github.com/spf13/cobra/@v/v0.0.3.info): 404 Not Found

        Attachments

          Activity

            People

            • Assignee:
              nadavy Nadav Yogev
              Reporter:
              nadavy Nadav Yogev
              Assigned QA:
              Alex Dvorkin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: