go: proxy.golang.org: https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.6.zip: 403 Forbidden

What version of Go are you using (go version)?

go version go1.17.3 windows/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

go env Output
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Master\AppData\Local\go-build
set GOENV=C:\Users\Master\AppData\Roaming\go\env
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Master\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Master\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.17.3
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=C:\Users\Master\go\src\mongoAPI\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\Master\AppData\Local\Temp\go-build3367626320=/tmp/go-build -gno-record-gcc-switches

What did you do?

I’ve tried to download mongoDB golang driver to a project in VS code running this command in the VS code terminal: go get go.mongodb.org/mongo-driver/mongo but I got a 403 forbidden error like this: go: downloading github.com/klauspost/compress v1.13.6 go.mongodb.org/mongo-driver/mongo imports github.com/klauspost/compress/zstd: github.com/klauspost/compress@v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.6.zip: 403 Forbidden I’ve figured maybe my ip address is restriced so I’ve tried downloading it using several VPNs like psiphon and hotspot shield but I’m still getting the same error.

What did you expect to see?

go: downloading github.com/klauspost/compress v1.13.6 getting the package without any error

What did you see instead?

go: downloading github.com/klauspost/compress v1.13.6 go.mongodb.org/mongo-driver/mongo imports go.mongodb.org/mongo-driver/x/mongo/driver imports github.com/klauspost/compress/zstd: github.com/klauspost/compress@v1.13.6: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.6.zip: 403 Forbidden

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 18 (8 by maintainers)

Most upvoted comments

If someone affected is willing to post their IP address I can try to see if there’s some kind of blocking on our side that I’m not aware of.