# http2 help on go1.6

**URL:** <https://forum.golangbridge.org/t/http2-help-on-go1-6/2018>\
**Category:** Getting Help\
**Created:** [February 22, 2016, 12:57am UTC](https://forum.golangbridge.org/t/http2-help-on-go1-6/2018 "2016-02-22T00:57:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![George\_Xie](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/george_xie/32/1852_2.png) [@George\_Xie](https://forum.golangbridge.org/u/George_Xie)\
**Post date:** [February 22, 2016, 12:57am UTC](https://forum.golangbridge.org/t/http2-help-on-go1-6/2018/1 "2016-02-22T00:57:30Z")

</div>

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](http://golang.org/x/net/http2/h2i)

> h2i [google.com](http://google.com)

> Connecting to [google.com:443](http://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](http://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](http://origin.www.ieee.org:443) …  
> Connected to 140.98.193.141:443  
> Negotiated protocol “”  
> Could not negotiate protocol mutually

---

<div class="post-metadata">

**Author:** ![kennygrant](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/kennygrant/32/154_2.png) [@kennygrant](https://forum.golangbridge.org/u/kennygrant)\
**Post date:** [February 22, 2016, 2:18pm UTC](https://forum.golangbridge.org/t/http2-help-on-go1-6/2018/2 "2016-02-22T14:18:38Z")

</div>

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

> <https://github.com/golang/go/issues/14391>

If not perhaps try golang nuts for more help

---

<div class="post-metadata">

**Author:** ![George\_Xie](https://forum.golangbridge.org/user_avatar/forum.golangbridge.org/george_xie/32/1852_2.png) [@George\_Xie](https://forum.golangbridge.org/u/George_Xie)\
**Post date:** [February 23, 2016, 6:20am UTC](https://forum.golangbridge.org/t/http2-help-on-go1-6/2018/3 "2016-02-23T06:20:46Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://forum.golangbridge.org/uploads/default/original/2X/5/5ad234f7c3dbc68b6cc72d338ce4f2973d9fd81c.png) [@system](https://forum.golangbridge.org/u/system)\
**Post date:** [May 23, 2016, 6:20am UTC](https://forum.golangbridge.org/t/http2-help-on-go1-6/2018/4 "2016-05-23T06:20:59Z")

</div>

Closed on May 23, 2016, 6:20am UTC

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