> -----Original Message-----
> From: Steffen 
> Sent: Mittwoch, 16. September 2015 11:14
> To: [email protected]
> Subject: 2.4.17-protocols-http2/ - SNI issue
> 
> 
> Build under Windows /httpd/httpd/branches/2.4.17-protocols-http2
> (Revision: 1703138) with nghttp2 v1.3.1
> 
> Was building fine, but running no go.
> 
> Using latest Chrome browser to test.
> 
> Using exact the same config as with 2.4.16, only added in server
> config:
> 
> 
> LoadModule h2_module modules/mod_h2.so
> 
> <IfModule h2_module>
>   ProtocolsHonorOrder On
>   Protocols h2c h2 http/1.1
>  </IfModule>
> 
> I get this error in Chrome now, with 2.4.16 all fine:
> 
> 
> Misdirected Request. The client needs a new connection for this
> request as the requested host name does not match the Server Name
> Indication (SNI) in use for this connection.
> 
> Chrome shows it is using the H2 protocol.
> 
> 
> In the error and access log:
> 
> 
> 
> [ssl:error] [pid 3428:tid 3952] AH02032: Hostname www.apachelounge.com
> provided via SNI and hostname www.apachelounge.com provided via HTTP
> are different

The above is very weird as both times we see www.apachelounge.com. Can you 
please check the logs with some kind of hex tool if there is really no 
difference between both strings? The logic to detect a difference in the code 
is just a usual strcasecmp. So I sense some hidden characters somewhere, which 
might give us a hint where things go really wrong.

Regards

Rüdiger

Reply via email to