How to test Always Online?


#1

How to test Always Online ?


#2

Always Online should be triggered whenever your origin server goes down. So you can only test it if you can force your server down momentarily.

In order to trigger Always Online, your web server will need to be returning a standard HTTP Error code of 502 or 504 timeout. Always Online will also work when we encounter issues contacting your origin (Cloudflare Errors 521 & 523), timeouts (522 & 524), SSL errors (525 & 526) or an unknown error (520). Always Online will not be triggered for other HTTP response codes, such as 404s, 500, 503, database connection errors, internal server error, or empty replies from server.


#3

Thank you very much! That’s answer my question


closed #4

This topic was automatically closed after 30 days. New replies are no longer allowed.