Author Topic: Server Error! (Internal Server Error) on Inbox Refresh  (Read 6064 times)

Offline ccs46

  • Newbie
  • *
  • Posts: 5
Server Error! (Internal Server Error) on Inbox Refresh
« on: April 20, 2014, 07:34:58 PM »
I've just upgraded from 0.9.4 to 1.0.0 (fresh install, config merged) and am finding a strange issue when I try to refresh my Inbox.  After logging in all new messages are shown but when the Refresh button is clicked I get a "Server Error! (Internal Server Error)" popup.  This also happens on the auto refresh.  Here's what I know so far:

1.) This only affects the Inbox
2.) It doesn't happen when new mail arrives
3.) This doesn't happen in my existing 0.9.4 install

For reference this is an IMAP email account.  Has anyone seen this issue? 

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #1 on: April 20, 2014, 09:50:27 PM »
Whats in your error log?

Offline ccs46

  • Newbie
  • *
  • Posts: 5
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #2 on: April 21, 2014, 02:14:41 AM »
Nothing I'm afraid, the issue is repeatable but the only error reported is the pop up.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #3 on: April 21, 2014, 03:38:43 AM »
Are you sure there are no errors in Roundcube logs nor web server logs? Could you try with this change https://github.com/roundcube/roundcubemail/commit/a5949991351c70eb462f779368ceb0efbeea14fb ?

Offline ccs46

  • Newbie
  • *
  • Posts: 5
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #4 on: April 21, 2014, 04:31:29 AM »
Alec: Looking at the web server logs I do get the following entries every time I get the popup:

ALERT - configured GET variable value length limit exceeded - dropped variable '_uids' (attacker '***.***.***.***', file '/*******************/roundcube/index.php')
ALERT - dropped 1 request variables - (1 in GET, 0 in POST, 0 in COOKIE) (attacker '***.***.***.***', file '/*******************/roundcube/index.php')
ALERT - dropped 1 request variables - (1 in GET, 0 in POST, 0 in COOKIE) (attacker '***.***.***.***', file '/*******************/roundcube/index.php', line 40)
ALERT - dropped 1 request variables - (1 in GET, 0 in POST, 0 in COOKIE) (attacker '***.***.***.***', file '/*******************/roundcube/program/include/iniset.php', line 58)

I suspect perhaps the variable value length limit needs to be increased?

Offline ccs46

  • Newbie
  • *
  • Posts: 5
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #5 on: April 21, 2014, 10:19:57 AM »
I've also tried using the latest copies of app.js and check_recent.inc to include the post fix but this doesn't solve my problem.  Any thoughts?

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #6 on: April 21, 2014, 10:58:15 AM »
Remove app.min.js file. The change I pointed you on should fix the issue, because indeed it gets rid of GET in favor of POST.

Offline ccs46

  • Newbie
  • *
  • Posts: 5
Re: Server Error! (Internal Server Error) on Inbox Refresh
« Reply #7 on: April 21, 2014, 11:32:19 AM »
That worked!  Do you know when this fix will be released?  Thanks for your help!