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 The Go Programming Language
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