You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The origin repository doesn't have v1.8.1, but that version must have existed at some point. It's included in the list at https://proxy.golang.org/github.com/nats-io/go-nats/@v/list, so go get will pick that as the latest version when using the proxy (by default). It won't connect to the origin repository if a module is available on the proxy, so it won't know this version was deleted.
At the moment, there's no process for un-publishing a version from the proxy. For the most part, we want versions to remain available in their original form even if the source repositories are modified or deleted. Of course there are good reasons for un-publishing versions; #24031 discusses this, and we may eventually have a solution.
For now, you can use the canonical name (go get github.com/nats-io/nats.go) or use a specific older version (go get github.com/nats-io/go-nats@v1.7.2).
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (in rc-alpine docker image)
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Command
fails with error:What is interesting, there's no v1.8.1 tag in go-nats repo (it ends with 1.7.2), but it is in nats.go.
With
GOPROXY=direct
everything works.The text was updated successfully, but these errors were encountered: