Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Installation error] server response: not found #89

Open
cubxxw opened this issue Feb 8, 2023 · 2 comments
Open

[Installation error] server response: not found #89

cubxxw opened this issue Feb 8, 2023 · 2 comments

Comments

@cubxxw
Copy link

cubxxw commented Feb 8, 2023

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/gopatch@v0.1.1: verifying module: github.com/uber-go/gopatch@v0.1.1: 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
@sywhang
Copy link
Contributor

sywhang commented Feb 8, 2023

This seems like an SSL error to github. Are you able to install any other go tools hosted on github using go install?

@cubxxw
Copy link
Author

cubxxw commented Feb 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants