Rise in 521 Errors on All Site Connected to Cloudflare

Hi,

In the past few days I have had a number of websites getting 521 errors. I have been speaking to the guys that manage my web sever they have whitelisted all Cloudflare IPs and checked there is nothing blocking the Cloudflare we thought we had resolve the issue but it started again today.

We are running cPanel ad have the Cloudflare app installing using Railgun. After doing some more digging we found the below in the logs do you know how we can fix this or what it could be?

Dec 22 06:59:23 server2 rg-listener: [6c1777983de97783-LHR] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:23 server2 rg-listener: [6c17779879da76c0-LHR] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:23 server2 rg-listener: [6c177798aacc8867-LHR] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:24 server2 rg-listener: [6c177798eeb288a1-PRG] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:24 server2 rg-listener: [6c17779df9a872f7-LHR] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:25 server2 rg-listener: [6c1777a29dbb7686-PRG] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files
Dec 22 06:59:25 server2 rg-listener: [6c1777a32ee07798-LHR] connection failed tangand.co.uk$188.64.187.180:443/tangand.co.uk: socket: too many open files

Thanks,

James {redacted}

cPanel with Apache and Nginx as reverse proxy, or?

Only for one domain or few of them?

Using SSL or not?

Hi,

We are using Apache.

It’s effecting all domains using Cloudflare all using SSL assigned by Cloudflare.

Kind Regards,

James

Nebulas Website Design Ltd

01376 324718
07817 060112

Hi,

Just to update this deactivating Railgun in the Cloudflare options for each of the effected domains resolved the issue. Are you aware of any issues with Railgun?

James

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.