Release Support > Pending Issues

Cloudflare 524 Error with Roudcube

(1/3) > >>

peaceharbor:
There is an issue between the Cloudflare DNS proxy of the webmail record (either A or CNAME) and accessing the Roundcube Inbox directly. When trying to reach a client's mailbox via https://webmail.domain.com, the page will load with SSL as it should. Whenever you try to log in, the page will try to load until it eventually gives a Cloudflare 524 timeout.

If you just set up a new mailbox account and log in for the first time, you can access the mail account configuration page, but once you try to enter the Roundcube mailbox, you will encounter the same issue as above.

On the other hand, if accessing the same mail account through WHM, which is not proxied via Cloudflare, Roundcube loads without issue. I have spent several days working with the tech team at my data center (LiquidWeb), and they are also seeing the same problem. They have ruled out conflicts except those between Cloudflare and Roundcube playing nicely.

This issue has also reached the Cloudflare forums, but a resolution has yet to be brought to light.

https://community.cloudflare.com/t/roundcube-524-a-timeout-occurred/485616/6
https://community.cloudflare.com/t/webmail-time-out/369911/4
https://community.cloudflare.com/t/mail-timeout-after-activated-cloudflare/325753
https://community.cloudflare.com/t/cpanel-webmail-after-login-does-not-load-and-gives-error-524/523763
https://community.cloudflare.com/t/cpanel-webmail-fatal-error-or-timeout-occurred-while-processing-this-directive/631322

Hopefully, someone at Roundcube can fix this issue, as the only option is to disable the proxy on the A or CNAME record. Here's a short video showing this in further detail that I also sent to my data center. https://share.peaceharbor.com/NQuAdEod

I opened a ticket on Roundcube's Github here: https://github.com/roundcube/roundcubemail/issues/9436

SKaero:
This isn't a Roundcube issue. I have Roundcube installed behind a Cloudflare DNS proxy and it works fine. I believe this is a cPanel issue, there is a recent thread on there forum indicating that they are aware of a issue and are working to address it: https://support.cpanel.net/hc/en-us/community/posts/23150240197399-RoundCube-Not-Loading

peaceharbor:
Thanks for the insight. This comment made by this user on that thread was particularly interesting: https://support.cpanel.net/hc/en-us/community/posts/23150240197399/comments/23180533983767

MagdAlmuntaser:
Alright, I've solved the problem, and indeed it was caused by Roundcube. I performed a downgrade of Roundcube from version 1.6.6 to 1.6.0, and the issue was resolved.

Here's how I did it:
I navigated to the following path:


--- Code: ---/usr/local/cpanel/base/3rdparty
--- End code ---

and renamed the Roundcube folder to roundcube_bak. Then, I pulled files from another website for Roundcube version 1.6.0 and uploaded them to the same path on my server.

SKaero:
I have a installation of Roundcube 1.6.6 behind a Cloudflare proxy and it works fine. I'm guessing it is aa issue with the cPanel customizations or web server config that is causing the problem.

Navigation

[0] Message Index

[#] Next page

Go to full version