405 - NOT ALLOWED
OVERVIEW
A 405 Method Not Allowed
error occurs when the HTTP method used in a request is not permitted by the
server for the requested resource. This typically happens when a client
attempts to use an unsupported HTTP method, such as sending a POST request to
an endpoint that only accepts GET requests.
In addition to application or
server-side restrictions, Prophaze Web Application Firewall (WAF) may
return a 405 status code when it detects and blocks suspicious or malicious
traffic based on configured security policies. As a result, legitimate requests
may occasionally receive a 405 response if they match a security rule or
protection mechanism.
RESOLUTION STEPS
1. Identify if it is serving Prophaze's 405 status page : Check if the displayed error page matches Prophaze's standard 405 Method Not Allowed status page. If the Prophaze status page is being served, the request has been blocked by the WAF and further investigation can be performed using the Prophaze dashboard and attack logs.
2. Log in to the Prophaze Dashboard and, from the left navigation pane, navigate to Attack → Attack Analytics.
3. Verify the HTTP Request Method
- Identify the affected request in Attack Analytics using the request timestamp, source IP address, or other available request details. and click on Explore.
- Review the WAF Log Details. Click Show Details for the identified request in Attack Analytics and examine the log information to determine why the traffic was classified and blocked with a 405 Method Not Allowed status.the attack type and rules triggered to identify the reason to block.
4. Validate the Request
- Verify that the request is legitimate, originates from a trusted source, and aligns with the intended functionality of the application.
- If the request method is valid and required for application functionality, identify the triggered security rule in the WAF logs and create an appropriate exception to allow the legitimate traffic.
5. Contact Support
If multiple requests are being blocked with a
405 Method Not Allowed response, contact the
Support team to with the traffic details to review and fine-tune the WAF configuration to ensure legitimate traffic is not impacted.