421 Misdirected Request Error appearing on websites using WHM and cPanel
Posted by Neil McNulty on 27 July 2025 03:24 PM
|
|
If you have a website showing a "421 Midirected Request" error and you are running WHM/cPanel and the issue has been occuring only for the past 24 hours or so, as of 19th of July 2025, the issue is tied to a known bug when using EA-Nginx and other proxies services such as CloudFlare. Following an update to Apache version 2.4.64 which was introduced to address several CVEs, this error began appearing in environments using EA-NGINX or reverse proxy configurations. The issue stems from how updated Apache handles requests over reused HTTP/2 connections. An internal case (EA-13040) has been created by cPanel’s development team to investigate a permanent fix. Temporary Solution Until Patched - As of 10:15am 19/07/2025- For EA-NGINX UsersA hotfix has been released for the EA-NGINX plugin provided by cPanel. To confirm whether the updated package is installed: On AlmaLinux / RHEL-based systems run the following commands via ssh:
Look for an entry like: * Thu Jul 17 2025 Cory McIntire <cory.mcintire@webpros.com> - 1.26.3-10 On Ubuntu systems run the following commands via ssh:
- For Cloudflare UsersAs a temporary solution: Set affected domains to “DNS Only”. Disable “Full” or “Full (Strict)” SSL modes. Refer to Cloudflare’s documentation for further proxy status configuration details. - For Other Proxies or Network AppliancesIf the error persists with other third-party proxies, consider temporarily downgrading Apache and EA-NGINX to prior versions via ssh:
Final Solutions as of 2:45PM 19/07/2025This issue has been addressed in package updates. * Fri Jul 18 2025 - ea-apache24 - 2.4.64-3 - EA-13041: Rolling “ea-apache24” back to “35b37d6c7295199c5157c68145f220d9fa61ff02”: Apache v2.4.64 broke SNI (rando 421) * Fri Jul 18 2025 - ea-nginx - 1.26.3-11 - EA-13040: Remove SNI fix as we've removed the offending changes in ea-apache24 for now. If you've followed previous guidance and installed the file "/etc/nginx/conf.d/fixssl.conf," be sure to remove it before applying updates, as it can interfere with the solution.
Please update the EasyApache packages to address this problem. Note: The "/scripts/upcp" command is the universal update command for all servers. But if you need to update only the affected packages, you can use the additional commands per server, depending on their operating system. Servers with automatic updates enabled will also be updated automatically during the next update.
Futher information and updates | |
|