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

Artifactory returns 404 if module name includes dots

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: High
    • Resolution: Duplicate
    • Affects Version/s: 6.5.0
    • Fix Version/s: 6.6.0, 6.5.8
    • Component/s: Go
    • Labels:
      None

      Description

      If module name includes dots without slashes then Artifactory returns 404:

      The go.mod file:

      module go.opencensus.io
      require (
              github.com/Sirupsen/logrus v1.0.6
              github.com/mholt/archiver v2.1.0+incompatible
              golang.org/x/net v0.0.0-20181011144130-49bb7cea24b1 // indirect
              golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
              golang.org/x/tools v0.0.0-20181015221341-5d4988d199e2
              rsc.io/quote v1.5.2
      )
      

      Publishing this project will return:

      {
        "errors" : [ {
          "status" : 404,
          "message" : "Not Found"
        } ]
      }
      

      If my project has a dependency with dots for example: go.opencensus.io v0.17.0
      This dependency cannot be uploaded to Artifactory:

      {
        "errors" : [ {
          "status" : 404,
          "message" : "Not Found"
        } ]
      }
      

      Within Artifactory, in the request.log file:

      20181017124107|0|REQUEST|0:0:0:0:0:0:0:1|admin|PUT|/api/go/go-local/go.opencensus.io:v0.17.0/@v/v0.17.0.zip|HTTP/1.1|404|252806
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                nadavy Nadav Yogev
                Reporter:
                alexeiv Alexei Vainshtein
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: