简体   繁体   中英

timeout when I try to install go dependencies

I try to run my golang project with go run main.go . I receive:

go: downloading github.com/package
main.go:13:2: github.com/package: Get "https://proxy.golang.org/github.com/package": proxyconnect tcp: dial tcp: lookup http on x.x.x.x:x: read udp x.x.x.x:x->x.x.x.x:x: i/o timeout

Help me please resolve this problem.

export GOPROXY=direct 并重新启动,好像 proxy.golang.org 最近遇到了一些困难 HTH

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM