-
Notifications
You must be signed in to change notification settings - Fork 113
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
transport: http2Client.notifyError got notified that the client transport was broken unexpected EOF. #11
Comments
I just followed instructions at https://coreos.com/blog/gRPC-protobufs-swagger.html and experienced the same problem.
Works fine on go1.6.2, fails on go1.7. |
I have the same problem after update to the newest go1.7 version. |
I was able to make it work only by using |
@c4milo do you have a patch? |
Fixed via e1dfd22 |
This is the reason: https://golang.org/doc/go1.7#net_http |
and the actual commit golang/go@b5f0aff |
How does one fix this for non-TLS servers? Providing a dummy |
@atombender I don't really want to do non-TLS. I would rather that people use TLS but in untrusted mode. There is really no reason not use TLS all the time in 2016. |
@philips For production, I agree. But for development — testing, debugging, tracing — forced TLS is really inconvenient. |
for dev is fine, I use a self-signed certificate with go build tags to only compile it inside the development binary. The development workflow is not as bad I was imagining. |
Anyone have a solution without TLS? I'm using a proxy (Linkerd) that provides the TLS and using an API gateway acting as TLS endpoint into backend. I know this may be beyond the scope of this solution but running without TLS is an option for some :) |
If someone is trying to make it work without TLS – you can't do it yet due to grpc/grpc-go#555. Hope it will save you some time. |
@AlekSi I tried this months ago and came back to see if something changed. It's pretty bad that this is totally undocumented and I don't understand why we should be forced to terminate SSL in the app. |
Just like you can't have both |
I just cloned and compiled this project, then ran: ./grpc-gateway-example serve; and got flooded with these messages:
Go version: 1.7rc6
The text was updated successfully, but these errors were encountered: