Hi, I am trying to deploy my go dockerized application onto a Hetzner Docker CE which is based in Germany.
Unfortunately it seems that the proxy.golang.org is rejecting my access to downloading a certain package.
err: #9 3.349 /go/pkg/mod/github.com/valyala/[email protected]/compress.go:10:2: github.com/klauspost/[email protected]: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.4.zip: 403 Forbidden
err: #9 3.349 /go/pkg/mod/github.com/valyala/[email protected]/compress.go:11:2: github.com/klauspost/[email protected]: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.4.zip: 403 Forbidden
err: #9 3.349 /go/pkg/mod/github.com/valyala/[email protected]/compress.go:12:2: github.com/klauspost/[email protected]: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.4.zip: 403 Forbidden
err: #9 3.349 /go/pkg/mod/go.mongodb.org/[email protected]/x/mongo/driver/compression.go:17:2: github.com/klauspost/[email protected]: reading https://proxy.golang.org/github.com/klauspost/compress/@v/v1.16.4.zip: 403 Forbidden
err: #9 ERROR: process "/bin/sh -c go build -o app main.go" did not complete successfully: exit code: 1
I've already tried to use direct oder any other proxy for env GOPROXY= X but it still tells me that same error with the same address.
I am using golang:1.21.0-alpine3.17 any advise will be highly appreciated.
Kind regards