http2 help on go1.6

I must be doing something stupid, but I can not get http2 to work on my server after upgrading go to 1.6. I am doing some custom things with my TLS connections so I tried to mess with that a bit, until…

go get golang.org/x/net/http2/h2i

h2i google.com

Connecting to google.com:443
Connected to 216.58.216.174:443
Negotiated protocol "h2"
The handle is invalid.

The same errors for connection to http2.golang.org and my own test server.
go version go1.6 windows/amd64

When testing a TLS site without http2 support the message is as expected:

Connecting to origin.www.ieee.org:443
Connected to 140.98.193.141:443
Negotiated protocol ""
Could not negotiate protocol mutually

You might be running into this bug in the 1.6 release if using http2 in a client?

If not perhaps try golang nuts for more help

Thanks for your help, the patch does not solve my problems directly, or fix h2i, but at least I got a http2 client that I can test with.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.