On 01/06/2016 14:07, Sven Schleier wrote: > Yes. That’s possible. I am just missing the “HTTP/1.1 101 Switching > Protocols” so it’s not switching to HTTP/2.
You'll only get that if you try to use HTTP/2 over a non-TLS channel. When using TLS, ALPN is used to negotiate the protocol. Mark > > > On 1/6/16, 7:04 PM, "Mark Thomas" <ma...@apache.org> wrote: > >> On 01/06/2016 03:16, Sven Schleier wrote: >>> Hi mailinglist, >>> >>> I just want to play around with the new HTTP/2 implementation of Tomcat >>> 8.5.2 Beta. The tomcat instance is up and running and the h2 support is >>> activated, according to the log during startup: >>> >>> 01-Jun-2016 01:57:52.544 INFO [main] >>> org.apache.coyote.http11.AbstractHttp11Protocol.configureUpgradeProtocol >>> The ["https-openssl-apr-8443"] connector has been configured to support >>> negotiation to [h2] via ALPN >>> >>> >>> But when I try to connect via nghttp (command line client for HTTP/2), >>> it tells me that h2 is not available. >>> >>> ➜ apache-tomcat-8.5.2 nghttp -v https://127.0.0.1:8443 >>> <https://127.0.0.1:8443/> >> >> Can you connect via https + HTTP/1.1 >> >> Mark >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org