Solved Roundcube stuck with "loading"

SirDice

Administrator
Staff member
Administrator
Moderator
I have a mail server running exim, dovecot2 and roundcube on FreeBSD 10.3-RELEASE. It has been working fine, mail arrives, roundcube works.

But after a recent update my roundcube seems to be stuck with "loading" in the lower right hand corner and my preview screen stays blank. Opening an email by double clicking on it works and opens the mail correctly. I have searched but only came up with old bugs (all more than 4 years ago). Not seeing anything in the roundcube error logs, apache error logs, or any other.

Anybody else seeing this behavior with Roundcube 1.2.4,1? Or have a suggestion to look for errors?
 
I got installed Roundcube 1.2.4,1 together with all the latest dovecot2, postfix, php71/apache24 on FreeBSD 11.0-RELEASE.

In the moment, I do not see your problem. However, in the past, I saw this on two occasions, and these were related to communication problems between the IMAP server and roundcube -- so, you might want to check the dovecot logs.

I assume, that "recent update" does not mean from Roundcube 1.1 to Roundcube 1.2, but Roundcube 1.2.x,y to the latest one. In the first case, perhaps the database needs to be upgraded. I vaguely remember that the database needed to be touched once I did the switch from 1.1 to 1.2. I am not 100 % sure with this, though.
 
In the moment, I do not see your problem. However, in the past, I saw this on two occasions, and these were related to communication problems between the IMAP server and roundcube -- so, you might want to check the dovecot logs.
Yeah, I was leaning towards this too. But it does work when I simply double click a message, it opens correctly. It's just the previews that seems to be stuck.

I assume, that "recent update" does not mean from Roundcube 1.1 to Roundcube 1.2, but Roundcube 1.2.x,y to the latest one.
Yes, it was fairly up to date before the last updates. So it was only a "minor" update.

I vaguely remember that the database needed to be touched once I did the switch from 1.1 to 1.2. I am not 100 % sure with this, though.
That's a good one, at least something to check.
 
Ha! Well, that took some digging. Nothing showed up server side. Not on Dovecot, not Roundcube itself. Was a bit stumped actually. I had various log files tailed and nothing showed up, no errors. But nothing positive (this or that succeeded) either. Could this be a client problem? New Firefox JavaScript issue perhaps? Firefox did show some errors. But lots of sites do so I rarely pay attention to those. Until I looked closer.
Code:
Error: Permission denied to access property "href"
rcube_webmail/this.show_contentframe https://mail.example.com/program/js/app.min.js:122:230
	rcube_webmail/this.msglist_select https://mail.example.com/program/js/app.min.js:102:426
	rcube_webmail/this.init/< https://mail.example.com/program/js/app.min.js:41:307
	triggerEvent https://mail.example.com/program/js/common.min.js:41:211
	rcube_webmail/this.http_response https://mail.example.com/program/js/app.min.js:303:345
	success https://mail.example.com/program/js/app.min.js:297:462
	j https://mail.example.com/program/js/jquery.min.js:34:26920
	fireWith https://mail.example.com/program/js/jquery.min.js:34:27738
	x https://mail.example.com/program/js/jquery.min.js:36:11251
	b/< https://mail.example.com/program/js/jquery.min.js:36:14765
That. Doesn't look good. And I suddenly realized I also had been mucking about with my SSL settings to get an A+ rating. Turned off this setting in HAproxy:
Code:
http-response set-header X-Frame-Options DENY
Reloaded and hey, presto. It all works again.

Now I'm off to read up on what this actually does. And, more interestingly, why Roundcube has problems with it.
 
Back
Top