In the last two days, cloudflared has silently failed 3 times, for no apparent reason. Each time, trying to access the website in a browser showed a blank page (no error message, nothing), so it looks like cloudflared was sending valid but empty responses back to the edge instead of forwarding the requests to the webapp. Each time, restarting cloudflared restored access to the website, so it seems clear that the problem is in cloudflared and not in the webapp. Updating cloudflared from 2021.6.0 to 2021.11.0 hasn't fixed the problem.
The connections to the edge are HTTP2, and the requests are passed to the webapp through a Unix socket. You can see the cloudflared service and configuration files in https://github.com/liberapay/liberapay.com/tree/635/.platform/files.
Considering the precedent of #400, I'm thinking about writing my own tunnel implementation so that I can stop using cloudflared entirely.
In the last two days,
cloudflaredhas silently failed 3 times, for no apparent reason. Each time, trying to access the website in a browser showed a blank page (no error message, nothing), so it looks likecloudflaredwas sending valid but empty responses back to the edge instead of forwarding the requests to the webapp. Each time, restartingcloudflaredrestored access to the website, so it seems clear that the problem is incloudflaredand not in the webapp. Updatingcloudflaredfrom 2021.6.0 to 2021.11.0 hasn't fixed the problem.The connections to the edge are HTTP2, and the requests are passed to the webapp through a Unix socket. You can see the
cloudflaredservice and configuration files in https://github.com/liberapay/liberapay.com/tree/635/.platform/files.Considering the precedent of #400, I'm thinking about writing my own tunnel implementation so that I can stop using
cloudflaredentirely.