Always Online never works (502 error)

#1

I often see the Cloudflare AO crawler in the logs, reading a couple dozen pages at a time (starting from the homepage, obviously).
Well, whenever I come across a 502 error, the Cloudflare error page says that they can’t communicate with the other server due to a 502 error, but AO is not available because no page has been cached (not even the homepage).
Bottom line: Always Online never works for me.

0 Likes

#2

This may help you out.

0 Likes

#3

http://i.imgur.com/zgDMhrB.png - works as expected (not photoshop).

1 Like

#4

Hi @komarEX I had already read the help page before I wrote my post. Anyway, the page confirms that “In order to trigger Always Online, your web server will need to be returning a standard HTTP Error code of 502 or 504 timeout” which is what happens in my case (502 error, as the Cloudflare error page says), without triggering Always Online though :confused:
Reading the comments here https://blog.cloudflare.com/always-online-v2/ it seems I’m not the only one.

0 Likes

#5

Always Online is a joke. I never seen it working in any website that used CF and threw a 502 error.

0 Likes

#6

I’ve got multiple Cloudflare Pro websites setup - and have a setup where a 504 error is being thrown. Always online does not activate. I’ve been in touch with support and they simply point me to their page over here - which has been read - https://support.cloudflare.com/hc/en-us/articles/202238800 - but nothing obvious for my setup.

I have seen always online in some of my Apache logs - but not all - and these are Pro websites.

Has anybody else done any research into this to discover whether or not the Always Online feature works reliably all the time - I’m struggling to see where things are going amiss.

0 Likes