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
x:net error compiling #45968
Comments
Go 1.14.x is no longer supported. You need Go 1.15 or later. See https://golang.org/pkg/crypto/tls/#Dialer. If you're stuck on an older Go version, pin older versions of libraries via modules. |
Also, see https://golang.org/wiki/Questions. |
As mvdan said, you may need to upgrade your Go version. But anyway its looks like Ian decided to keep 1.14 and below able to compile |
We have received many reports of build failures using Go 1.14, enough to make it worth supporting that release even though it is out of our support window. For golang/go#45942 For golang/go#45943 For golang/go#45946 For golang/go#45950 For golang/go#45968 Change-Id: I9d6b1762ae622b3e9a5de5b1967264387166b1c7 Reviewed-on: https://go-review.googlesource.com/c/net/+/317069 Trust: Ian Lance Taylor <iant@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Change https://golang.org/cl/317069 mentions this issue: |
Since this came up five times in 24 hours, I went ahead and patches golang.org/x/net so that it will work with versions of Go before 1.15. That should fix this problem. I still strongly encourage everyone to upgrade to a supported version of Go, and I do not promise that this will not break again in the future. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
[opc@webii ~]$ go get gitlab.com/yawning/obfs4.git/obfs4proxy
# golang.org/x/net/http2
/tmp/tmp.t1bKwi98lk/src/golang.org/x/net/http2/transport.go:598:14: undefined: tls.Dialer
[opc@webii ~]
The text was updated successfully, but these errors were encountered: