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
crypto/tls: Not stable tls handshake #18608
Comments
What version of Go are you using (go version)?go version go1.8rc1 linux/amd64 What operating system and processor architecture are you using (go env)?GOARCH="amd64" What did you see?Same problem persists @ALTree is there any way I can help with issue? |
With "same problem persists" you mean that you're still seeing EOFs during handshakes on go1.8? |
In my Go server logs there are many lines like these (Go 1.8 beta 2, too):
Dunno if it is relevant. |
Yes |
@ALTree I have investigated an issue.
Problem comes from here: Data is there, but alert is also coming immediately with data, probably because nature of application is fix is not checking
Maybe this should be documented |
It is already documented at https://golang.org/pkg/io/#Reader ...
Sounds like there's nothing to do here. Closing. Let me know if I misunderstand. |
What version of Go are you using (
go version
)?go version go1.7.4 linux/amd64
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GORACE=""
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build435595517=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
g++ --version
g++ (Ubuntu 4.9.2-10ubuntu13) 4.9.2
What did you do?
We are opening TLS connection to server, sending basic command implemented there.
occasionally socket returns EOF while in handshake process.
https://github.com/golang/go/blob/go1.7.4/src/crypto/tls/handshake_client.go#L637
Code: https://play.golang.org/p/-JK8L3ONcg
What did you expect to see?
OK
, all the time, because executable is restarted every time we make connectionWhat did you see instead?
25% percent of TLS connection opening is failed with
EOF
The text was updated successfully, but these errors were encountered: