Roundcube 524 A timeout occurred

I’m having the same issue.

Can access cpanel webmail through port: ==2083==

Get Error 524 through port: ==2096==

Temporarily disabling the proxy settings on Cloudflare will fix the issue (no errors through port: ==2096==)

Firewall at the origin does not rate limit Cloudflare’s connecting IPs.

Hosting provider confirmed no server issues or other related issues listed on the tutorial linked above.

Enabling proxy will bring the problem back.

Any ideas how I can fix this so I can enable proxy through Cloudflare?