Closed siba36 closed 2 years ago
where are you/what is your IP address?
my IP address is 192.168.15.100 @seankhliao
what does https://ifconfig.co/ say your ip address is?
this is the output of running ipconfig in cmd
Ethernet adapter Ethernet:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : tishreen.com
Unknown adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Local Area Connection* 10:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::a993:2c0:b720:92c6%6
IPv4 Address. . . . . . . . . . . : 192.168.15.100
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.15.1
@seankhliao
Those are private network addresses, not the ones used to reach the proxy servers. Click the link I gave above and tell me that address
this is my ip address using the link
2001:67c:2660:425:1b::125
@seankhliao
@siba36 is it still reproducible?
yes I couldn't figure out the solution to this error @cherrymui
cc @katiehockman @heschi @hyangah
Is this a GCP host? If so you may be seeing #49144. Otherwise, please visit that URL directly and see if the page gives you any more information. You must be behind some kind of proxy or network gateway.
Timed out in state WaitingForInfo. Closing.
(I am just a bot, though. Please speak up if this is a mistake or you have the requested information.)
How to fix it?
https://proxy.golang.org/github.com/klauspost/compress/@v/v1.13.4.zip: 403 Forbidden
I'm using go version go1.18.1 windows/amd64
Solution: I solved my problem by changing the IP address
I have this problem too. The IP addresses of the data center (which I have a VPN tunnel through) are blacklisted. But I don't know why? The data center is located in Germany.
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.
@heschi My IP address is 162.55.230.234
@Lavaei sorry for the late response. The proxy.golang.org service is available in most countries and regions. However, Google restricts access to some of its services in certain countries or regions, such as Crimea, Cuba, the so-called Donetsk People's Republic and Luhansk People's Republic, Iran, North Korea, and Syria.
@hyangah This IP belongs to Germany:
Set the environment variable GOPROXY=direct
and then install it
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat 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 errorWhat 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