XF 2.1 Guzzle: Dealing with CloudFlare

Snog

Well-known member
After much trial and error, I've found that CloudFlare's DDOS protection can return "503 Service Unavailable" errors.

I've tried several different things and there doesn't seem to be a way to get Guzzle to account for their protection which I believe is a cookie.

Does anyone have any ideas?
 
Even with a cookie jar, cloudflare will return blank response code 200 pages from time to time. I personally didn't want to deal with that, so I used a 3rd party middleware to handle it for me. Haven't had any trouble with cloudflare since. The middleware also handles your 503 pages as well as javascript challenges.
 
That's the exact route I decided to take. The cookie wasn't the main problem, it was the js challenge.
 
Back
Top Bottom