gopatch
gopatch copied to clipboard
[Installation error] server response: not found
I tried to download in Go and got an error:
root@cubmaster01:~/workspces/tiktok/workspaces/poc# go install github.com/uber-go/gopatch@latest
go: downloading github.com/uber-go/gopatch v0.1.1
go: github.com/uber-go/gopatch@latest: github.com/uber-go/[email protected]: verifying module: github.com/uber-go/[email protected]: checking tree#15366661 against tree#15491733: reading https://goproxy.io/sumdb/sum.golang.org/tile/8/1/234: 404 Not Found
server response: not found
I tried to install with CLI and got an error:
root@cubmaster01:~/workspces/tiktok/workspaces/poc# curl --proxy 127.0.0.1:7890 -L "$URL" | tar xzv gopatch
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:05 --:--:-- 0
curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to github.com:443
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
about ENV
root@cubmaster01:~/workspces/tiktok/workspaces/poc# go version && uname -a
go version go1.19.3 linux/amd64
Linux cubmaster01 5.4.0-137-generic #154-Ubuntu SMP Thu Jan 5 17:03:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Additional parts:
I tried to install a brand new server and got an error:
[root@iZuf68xky083mr0yy6q37lZ ~]# go install github.com/uber-go/gopatch@latest
go: github.com/uber-go/gopatch@latest: module github.com/uber-go/gopatch: Get "https://proxy.golang.org/github.com/uber-go/gopatch/@v/list": dial tcp 142.251.43.17:443: i/o timeout
PATH:
[root@iZuf68xky083mr0yy6q37lZ ~]# go version && uname -a
go version go1.18.9 linux/amd64
Linux iZuf68xky083mr0yy6q37lZ 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
This seems like an SSL error to github. Are you able to install any other go tools hosted on github using go install?
This seems like an SSL error to github. Are you able to install any other go tools hosted on github using go install?
yep,I've tried other tools, and I wasn't disappointed.
