Question
Why do I get a 421 Misdirected Request?
Hi everyone,
I am trying to setup http2 and keep getting this error
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.
Server version: Apache/2.4.25
I have 2 virtualhost files and one certificate from Let’s Encrypt which includes the subdomain.
Here’s the domain https://app.animalcrossingcentral.com/
I go there in Chrome, click the link and I get the error mentioned.
This is the beginning of each virtualhost file
<VirtualHost *:443>
Protocols h2 http/1.1
And here is what shows after clicking the link in the error.log
[Thu Apr 27 00:57:34.168321 2017] [ssl:error] [pid 28824] AH02032: Hostname app.animalcrossingcentral.com provided via SNI and hostname animalcrossingcentral.com provided via HTTP have no compatible SSL setup
I’m new to hosting my own server and will appreciate any help! :)
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Ok I think the issue is with the stable version of Chrome.. It happens in version 58, but not the canary build (version 60) from what I can tell. Can someone else confirm for me?
Here’s the issue I found on chromium’s bug tracker. :)
https://bugs.chromium.org/p/chromium/issues/detail?id=546991