[RTFACT-18320] Failed to resolve Go remote with trailing slash if provider is artifactory Created: 21/Jan/19  Updated: 12/Apr/19  Resolved: 22/Jan/19

Status: Resolved
Project: Artifactory Binary Repository
Component/s: Go
Affects Version/s: None
Fix Version/s: 6.7.0

Type: Bug Priority: Normal
Reporter: Nadav Yogev Assignee: Nadav Yogev
Resolution: Fixed Votes: 0
Labels: None

Assigned QA: Alex Dvorkin

 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



 Comments   
Comment by Janos Veres [ 12/Apr/19 ]

Nadav Yogev how did you resolve this issue?

Generated at Sun May 26 19:06:37 UTC 2019 using JIRA 7.6.3#76005-sha1:8a4e38d34af948780dbf52044e7aafb13a7cae58.