Updated on 2024-04-12 GMT+08:00

Why Am I Seeing Error Code 523?

If a request has passed through WAF four times, WAF blocks the request to prevent an infinite loop. In this case, error code 523 is returned.

Use the following methods to resolve the issue:

  • Direct the request to the internal DNS server so that the request can bypass the public network.
  • Configure the hosts file of the origin server.

    The following uses the Windows operating system as an example.

    1. Use a text editor to open the hosts file. Generally, the hosts file is stored in the C:\Windows\System32\drivers\etc\ directory.
    2. Add a record about the IP address of the origin server to the hosts file.
    3. Save the modification and exit.