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
go mod download does not fallback to http if https is not available #36394
Comments
I think this might be a case of the XY problem. Why are you trying to use HTTP? Why are you trying to download a module from |
I'm trying to explore if this suggestion https://groups.google.com/d/msg/golang-nuts/MCvH-Bivmn8/YKgbyYH2BwAJ is working for my use case or not but having really hard time figuring out how to do it locally. |
You can use a module proxy, like |
As of Go 1.14, you can also set the (See https://tip.golang.org/cmd/go/#hdr-Environment_variables.) |
Thank you very much. Will download beta build of go 1.14 and explore if it helps me. |
No updates, seems like this was more of a question, closing here. |
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?
Given source code:
use sequence of commands:
What did you expect to see?
To see some output from netcat.
What did you see instead?
The text was updated successfully, but these errors were encountered: