Introduction
Plesk is a popular web hosting control panel that enables users to manage multiple websites from a single interface. One of its features is the Web Application Firewall (WAF) which is designed to protect web applications from various malicious attacks. However, sometimes a WAF rule rejects a legitimate request from your own application, particularly in .NET Core, SignalR and Blazor apps. This article explains how to find the rule and switch off only that rule.
Understanding the WAF
The Web Application Firewall in Plesk monitors HTTP traffic to and from web applications. It looks for suspicious patterns or signatures of known attacks and takes action based on its configuration. The default mode for the WAF is usually set to block suspicious requests.
When the WAF blocks your own application
Occasionally a rule rejects a legitimate request from your application. The page usually loads, but one feature fails with a 403 Forbidden response.
Common issues include:
- A SignalR hub or a Blazor app that loads but never connects (the /negotiate request returns 403).
- A form, API call or file upload that returns 403 while the rest of the site works.
- Features of the application not working correctly after they worked before.
Recommended: switch off only the rule that blocks you
Keep the firewall on and switch off the single rule that rejects your request. Your site stays protected by every other rule.
- Login to Plesk and go to Websites & Domains.
- Find the site or subdomain that shows the error and click Web Application Firewall. Each site and subdomain has its own settings.
- Open the ModSecurity audit log link on that page and find your blocked request. Note the rule ID listed for it (ignore 949110, which is only the final score rule).
- Under Switch off security rules, type that rule ID in the Security rule IDs box, one ID per line.
- Leave Web application firewall mode set to On and click OK.
- Recycle the site's Dedicated IIS Application Pool and test again.
For SignalR and Blazor the rule is 920420. Full steps: SignalR or Blazor negotiate request returns 403 Forbidden (Web Application Firewall rule 920420).
Detection Only: a short test, not a fix
"Detection Only" mode makes the WAF log suspicious requests without blocking any of them. It is useful for a few minutes to confirm that the WAF is the cause of an error, but it removes the protection for that site, so please do not leave it on. Once you know the rule ID, switch that rule off as described above and set the mode back to On.
Steps to set WAF to Detection Only:
- Login to Plesk: Open your Plesk control panel using your credentials.
- Navigate to WAF Settings: Go to Websites & Domains, find the site and click Web Application Firewall.
- Change the mode: Set Web application firewall mode to 'Detection only'.
- Save Changes: Click on the 'Apply' or 'OK' button to save your settings.
- Test your application, then return here and set the mode back to 'On'.


Conclusion
The Web Application Firewall in Plesk is an essential tool for securing web applications. When it blocks a legitimate request, switch off the single rule responsible and keep the firewall on. Use "Detection Only" only as a brief test. If you cannot find the rule ID or would like us to make the change, open a support ticket with the full address that returns 403 and the time you tried it.