504 Testing

504 Testing

Overview

A 504 Gateway Timeout error occurs when the Prophaze Web Application Firewall (WAF) does not receive a timely response from the backend application server. This article explains the most common causes and provides a structured resolution process.


Symptoms

Users may experience page load failures, interrupted downloads/uploads, or intermittent application accessibility issues accompanied by a 504 error message.


Common Causes 

This issue is often caused by:

  1. Slow backend application responses  

  1. Large file uploads or downloads

  1. Network latency or temporary connectivity issues

  1. Timeout values configured too low in the WAF


Resolution Steps

1. Navigate to Settings   → Application.




2. Identify the affected application or domain and select the Edit option to access its settings.


3.  Review the current timeout value (default is typically 60 seconds).

4. Increase the timeout value in small increments (for example, 60 → 65 seconds).

5. Save the configuration changes.

6. Retest the application and monitor for recurrence.


Best Practices

Avoid large timeout increases in a single change. Increment values gradually and validate application performance after each modification. If issues persist, investigate backend server performance, application logs, and network connectivity.


Expected Outcome

After adjusting the timeout setting and validating backend responsiveness, the application should complete requests successfull without triggering a 504 Gateway Timeout error.

 



    • Related Articles

    • 403 TESTING

      403 FORBIDDEN OVERVIEW A 403 Forbidden error occurs when a user attempts to access a website or application but is denied permission by the server. This indicates that the server has received and understood the request, but access is being blocked ...
    • MFA TESTING

      Multi-Factor Authentication (MFA) Overview Multi-Factor Authentication (MFA) adds an extra layer of security to your account by requiring a second form of verification in addition to your password. Prophaze supports popular authenticator applications ...
    • 405 Testing

      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 ...