Aviv_Carmi
(Aviv Carmi)
4
@Preston_Vasquez thanks for the reply.
I’m running into some voodoo stuff…
In my company we use GOPROXY=proxy.golang.org,direct to be able to pull private repositories from github. When I ran GOPROXY= go get go.mongodb.org/mongo-driver it did finish successfully, then when I ran go get go.mongodb.org/mongo-driver again it succeeded again. Not sure how go mod works internally that explains this behavior and which checksum cache caused the problem in the first place.
To your question, I tried this exact stackoverflow answer, cleaned up local cache and still ran into this problem. I also asked several peers and they all reported the same thing. This is why I posted here but since no one else reports the same thing for almost a week, I think it might be related to our GOPROXY and GOPRIVATE overrides. I’ll try further investigating in relevant go mod related places.