helloworld icon indicating copy to clipboard operation
helloworld copied to clipboard

Cannot build xray (undefined: tls.CipherSuites)

Open flynxea opened this issue 5 years ago • 1 comments

Cannot build xray:

go installed:

$ go version
go version go1.15.7 linux/amd64

error msg:

Building targets
github.com/xtls/xray-core/transport/internet/tls
github.com/xtls/go
# github.com/xtls/xray-core/transport/internet/tls
../../transport/internet/tls/config.go:253:21: undefined: tls.CipherSuites
note: module requires Go 1.15
github.com/lucas-clemente/quic-go/internal/qtls
# github.com/lucas-clemente/quic-go/internal/qtls
pkg/mod/github.com/lucas-clemente/[email protected]/internal/qtls/qtls.go:79:25: cannot convert cert (type *tls.Certificate) to type *qtls.Certificate
note: module requires Go 1.14
# github.com/xtls/go
pkg/mod/github.com/xtls/[email protected]/auth.go:29:7: undefined: ecdsa.VerifyASN1
pkg/mod/github.com/xtls/[email protected]/key_schedule.go:177:16: xShared.FillBytes undefined (type *big.Int has no field or method FillBytes)

Cleaning module download cache (golang/go#27455)

flynxea avatar Jan 29 '21 03:01 flynxea

build ok with the golang package from coolsnowwolf packages instead of the official one. closed, thanks.

flynxea avatar Jan 29 '21 05:01 flynxea