-
Notifications
You must be signed in to change notification settings - Fork 17.7k
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
cmd/go: error while fetching dependency #57656
Comments
is that unmodified output? |
@bcmills No. HTTP_PROXY and/or HTTPS_PROXY environment variables not set. |
Yes, It's unmodified output. I am facing issues while downloading from browser or curl also. $ curl https://proxy.golang.org/github.com/xuri/excelize/v2/@v/v2.6.1.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. $ go get -x -v github.com/xuri/excelize/v2 # get https://proxy.golang.org/github.com/@v/list # get https://proxy.golang.org/github.com/xuri/@v/list # get https://proxy.golang.org/github.com/xuri/excelize/v2/@v/list # get https://proxy.golang.org/github.com/xuri/excelize/@v/list # get https://proxy.golang.org/github.com/@v/list: 404 Not Found (0.136s) # get https://proxy.golang.org/github.com/xuri/@v/list: 404 Not Found (0.187s) # get https://proxy.golang.org/github.com/xuri/excelize/v2/@v/list: 200 OK (0.302s) go: downloading github.com/xuri/excelize/v2 v2.6.1 # get https://proxy.golang.org/github.com/xuri/excelize/v2/@v/v2.6.1.zip # get https://proxy.golang.org/github.com/xuri/excelize/@v/list: 200 OK (0.334s) # get https://proxy.golang.org/github.com/xuri/excelize/v2/@v/v2.6.1.zip: 200 OK (0.060s) go: github.com/xuri/excelize/v2@v2.6.1: read "https:/proxy.golang.org/@v/v2.6.1.zip": unexpected EOF |
can you do |
$ curl -vLO https://proxy.golang.org/github.com/xuri/excelize/v2/@v/v2.6.1.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 146.112.47.14:443... * Connected to proxy.golang.org (146.112.47.14) port 443 (#0) * ALPN: offers h2 * ALPN: offers http/1.1 * CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt * CApath: none } [5 bytes data] * [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS handshake, Client hello (1): } [512 bytes data] * [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Server hello (2): { [122 bytes data] * [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8): { [10 bytes data] * [CONN-0-0][CF-SSL] TLSv1.3 (IN), TLS handshake, Certificate (11): { [3172 bytes data] * [CONN-0-0][CF-SSL] TLSv1.3 (OUT), TLS alert, unknown CA (560): } [2 bytes data] * SSL certificate problem: unable to get local issuer certificate 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 * Closing connection 0 curl: (60) SSL certificate problem: unable to get local issuer certificate More details here: https://curl.se/docs/sslcerts.html curl failed to verify the legitimacy of the server and therefore could not establish a secure connection to it. To learn more about this situation and how to fix it, please visit the web page mentioned above. |
That is a Cisco IP address it's connecting to, not an upstream proxy address. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
$ go get github.com/xuri/excelize/v2
go: downloading github.com/xuri/excelize/v2 v2.6.1
go: downloading github.com/xuri/excelize v1.4.1
go: github.com/xuri/excelize/v2@v2.6.1: read "https:/proxy.golang.org/@v/v2.6.1.zip": unexpected EOF
What did you expect to see?
fetching the package without errors.
What did you see instead?
go: github.com/xuri/excelize/v2@v2.6.1: read "https:/proxy.golang.org/@v/v2.6.1.zip": unexpected EOF
The text was updated successfully, but these errors were encountered: