Hi Chris,

➜  apache-tomcat-8.5.2 nghttp -vvvvv https://127,0.0.1:8443
[  0.000] Connected
[ERROR] HTTP/2 protocol was not selected. (nghttp2 expects h2)
Some requests were not processed. total=1, processed=0

I am not getting more information. Same behavior with hostname 

Thanks and cheers,

Sven 


On 3/6/16, 5:14 AM, "Christopher Schultz" <ch...@christopherschultz.net> wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA256
>
>Sven,
>
>On 6/1/16 8:23 PM, Sven Schleier wrote:
>> True, you are right. Do you have any suggestion or sample 
>> configuration that should work you can share, or anyone else?
>
>$ nghttp -vvvvv https://127.0.0.1:8443/
>
>??
>
>What if you use the hostname of the machine instead of the IP address?
>
>- -chris
>
>> On 1/6/16, 9:13 PM, "Mark Thomas" <ma...@apache.org> wrote:
>> 
>>> 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.configureUpgradePr
>otocol
>>>>>>
>>>>>> 
>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
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>>
>> 
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>> 
>-----BEGIN PGP SIGNATURE-----
>Comment: GPGTools - http://gpgtools.org
>Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
>iQIcBAEBCAAGBQJXUKGoAAoJEBzwKT+lPKRYc74QAI7Dejl+7A3NbioSF5kdK/gz
>rmCj04+ni19aiB1Tsn7AuHoVQDB7fGd9AafC3qTHo0tr3BlKHDPHzlaNk61iwElD
>R4apbbXxDfnFZCnBAulLlFGXcYjJz7XJ2yNAOa1wLChhOmVV+HZmtI8z/HfenDFu
>lTFb6V+/NZOV3Si2kYuc8UmzOdo7claa7LuCZLPKzYp0KPMEW98xY3rQFXWE6VXG
>5A4gME4hB3nXc90JztDKjCVZClrM/GwDJ2IYJlW1foYLKFfRuE+eR3Cny72+41DU
>LtoMrl6Zg1tX75OneNroHU/MUB7Kec3hYanolCXVMxlyk8vjvY+WLglWCzyVtDNB
>/xazJDse7x98KntFjNWGZmWNu0dQFBXGvrLzFh49IKgyfqq+f4n4TD8nmz3kMWEI
>YllV2MWV3sh15XNQ2JkB7FOxxdQzKViSwncUclVQJpIVF7lB0AB09idcwkY4mm6E
>0mzBAGuAZ/Orf32Q0MP5+f6584YFpC8jV2+DHb1kxVu1mpXzDmp34jJ8yrYQlSEA
>rTG6zYUXE9nrJlLWliNOSJSNXW6AcLpDuGrSEqLlFgmvhlR/wURLjmEydu0Ln2tO
>g6FXzWh1qGd7uq3d9GkdMYMc32MetR3Vnkxh7gsWjzUTZrqX05sRx+3d8paman2Q
>O6Tq0FIbMLL9FopoPh96
>=6s4p
>-----END PGP SIGNATURE-----
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>For additional commands, e-mail: users-h...@tomcat.apache.org
>

Reply via email to