shurcooL / home

home is Dmitri Shuralyov's personal website.
https://dmitri.shuralyov.com
MIT License
76 stars 2 forks source link

Go packages were inaccessible from origin server on Sep 10, 2020 from 2:08 am until 9:19 am EDT (UTC -4) #42

Closed sudo-suhas closed 4 years ago

sudo-suhas commented 4 years ago

Facing this issue while running go get:

 go: github.com/spf13/viper@v1.7.1 requires
    github.com/bketelsen/crypt@v0.0.3-0.20200106085610-5cbc8cc4026c requires
    cloud.google.com/go/firestore@v1.1.0 requires
    golang.org/x/exp@v0.0.0-20191030013958-a1ab85dbe136 requires
    dmitri.shuralyov.com/gpu/mtl@v0.0.0-20190408044501-666a987793e9: unrecognized import path "dmitri.shuralyov.com/gpu/mtl": https fetch: Get "https://dmitri.shuralyov.com/gpu/mtl?go-get=1": dial tcp 172.93.50.41:443: i/o timeout

I am not able to access https://dmitri.shuralyov.com/gpu/mtl?go-get=1 from my local system either. Is it down?

sudo-suhas commented 4 years ago
$ curl -i https://dmitri.shuralyov.com
curl: (7) Failed to connect to dmitri.shuralyov.com port 443: Operation timed out
dmitshur commented 4 years ago

Thanks for reporting.

This particular outage should be resolved by now. I'll update this issue with more information about what happened later.

In general, I suggest using a module proxy, for example the Go module mirror (https://proxy.golang.org), or your own proxy, or a combination of them, in order to be able to download modules even when some origin server is temporarily unavailable. If you're using Go 1.13 or newer, the default value of GOPROXY environment variable includes https://proxy.golang.org in it. See go command documentation for more information.

akfaew commented 4 years ago

In general, I suggest using a module proxy

Sometimes it's not that easy, see: https://github.com/golang/go/issues/35221