acheong08 / ChatGPTProxy

Simple Cloudflare bypass for ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go build . error

zwluoqi opened this issue · comments

C:\Users\qingzhu\Downloads\ChatGPT-Proxy-V4-1.0>go build .
go: downloading github.com/bogdanfinn/fhttp v0.5.20
go: downloading github.com/bogdanfinn/tls-client v1.3.9
go: downloading github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6
go: downloading github.com/gin-gonic/gin v1.9.0
main.go:8:2: github.com/bogdanfinn/fhttp@v0.5.20: Get "https://proxy.golang.org/github.com/bogdanfinn/fhttp/@v/v0.5.20.zip": dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
main.go:9:2: github.com/bogdanfinn/tls-client@v1.3.9: Get "https://proxy.golang.org/github.com/bogdanfinn/tls-client/@v/v1.3.9.zip": dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
main.go:11:2: github.com/fvbock/endless@v0.0.0-20170109170031-447134032cb6: Get "https://proxy.golang.org/github.com/fvbock/endless/@v/v0.0.0-20170109170031-447134032cb6.zip": dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
main.go:12:2: github.com/gin-gonic/gin@v1.9.0: Get "https://proxy.golang.org/github.com/gin-gonic/gin/@v/v1.9.0.zip": dial tcp 142.251.43.17:443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

what's wrong?

Network issue. Go is blocked in China. Use VPN

thanks,i changed vpn,the up error is solution。but i get other error:

..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:64:11: undefined: syscall.SIGUSR1
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:65:11: undefined: syscall.SIGUSR2
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:68:11: undefined: syscall.SIGTSTP
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:111:13: undefined: syscall.SIGUSR1
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:112:13: undefined: syscall.SIGUSR2
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:115:13: undefined: syscall.SIGTSTP
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:119:13: undefined: syscall.SIGUSR1
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:120:13: undefined: syscall.SIGUSR2
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:123:13: undefined: syscall.SIGTSTP
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:224:11: undefined: syscall.Kill
..\..\go\pkg\mod\github.com\fvbock\endless@v0.0.0-20170109170031-447134032cb6\endless.go:224:11: too many errors

i let chatgpt4 to solution the error,it response:
image

my platform:win11

git pull

Fixed in 7d4fa17