Author Topic: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)  (Read 8562 times)

Offline novometal

  • Newbie
  • *
  • Posts: 4
Hi,

We were using hMailServer at work as a POP3/SMTP server - but work demanded that we have a webmail interface as well. I installed PHP (5.4) on IIS 7.5 (successfully) with MSSQL 2012.

I then installed Roundcube (after a couple of hours) and everything is working fine (logging in, reading, receiving etc.) except one major thing.

When composing a mail, everything works fine until I press SEND - the UI freezes and hangs. The mail itself IS SENT, but I cannot do anything after this but to close to window and log in again - and yes, the message is in the SENT MESSAGES.

It is not a port 25 (SMTP) issue of any kind - and I really do not know what it is about.

I am not an IT specialist of any kind, so advise and help is appreciated.

Alek

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #1 on: August 12, 2013, 03:21:38 PM »
Are there any errors in the RoundCube error log?

Offline novometal

  • Newbie
  • *
  • Posts: 4
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #2 on: August 17, 2013, 10:14:40 AM »
Hi,

The issue was solved. The IUSR could not write to the logs / temp directory. When this was corrected, everything worked fine.

Offline itb

  • Newbie
  • *
  • Posts: 2
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #3 on: August 21, 2013, 06:55:46 AM »
Hi
 
I'm on  CENTOS 5.9 i686  (WHM 11.38.2)  and following an automatic update to Roundcube Webmail 0.9.1 a few days ago i am having real problems sending any emails at all.  Everything else apperas to work normally, but when i press SEND it just hangs on "Sending Message" and never completes.  VERY occassionally, e.g. 1 email in 30, it will have sent the email if i open a new window and look at Sent Folder, but the majority of the time it just hangs, and the page never reloads to the Inbox page after... Same problem with trying to save to Drafts.  Most of the time it just hangs and times out, but very occassionally it works..

This only started following an update a few days ago.  Any ideas what i can do, or can i roll back to the previous version which worked fine?

Thanks!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #4 on: August 21, 2013, 12:42:56 PM »
What in the RoundCube error log?

Offline itb

  • Newbie
  • *
  • Posts: 2
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #5 on: August 21, 2013, 02:47:47 PM »
Hi,

This is everything in the log since it started not working:

[14-Aug-2013 10:59:54 UTC] File not found: /var/cpanel/roundcube/tmp/rcmAttmntqB0yL0 ():
[14-Aug-2013 12:01:10 UTC] File not found: /var/cpanel/roundcube/tmp/rcmAttmntyXwRQh ():
[19-Aug-2013 12:55:14 +0100]: PHP Error: Invalid compose ID in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/compose.inc on line 51 (GET /cpsess3051828410/3rdparty/roundcube/index.php?_task=mail&_id=6393148035211f6e5ebe0e&_action=compose)
[19-Aug-2013 12:55:16 +0100]: PHP Error: Invalid compose ID in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/compose.inc on line 51 (GET /cpsess3051828410/3rdparty/roundcube/index.php?_task=mail&_id=6393148035211f6e5ebe0e&_action=compose)
[19-Aug-2013 12:55:20 +0100]: PHP Error: Invalid compose ID in /usr/local/cpanel/base/3rdparty/roundcube/program/steps/mail/compose.inc on line 51 (GET /cpsess3051828410/3rdparty/roundcube/index.php?_task=mail&_id=6393148035211f6e5ebe0e&_action=compose)

Thanks!

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #6 on: August 26, 2013, 01:03:09 PM »
If the "Invalid compose ID" error happens for every time you try to send an email RoundCube may not have been updated correctly. Try running the following to reinstall RoundCube:
Code: [Select]
/usr/local/cpanel/bin/update-roundcube --force

Offline mikec

  • Newbie
  • *
  • Posts: 4
Re: Sending mail hangs (the mail is sent, the UI freezes, hangs, v 0.9.2)
« Reply #7 on: November 22, 2013, 12:40:53 PM »
[22-Nov-2013 16:39:14 +0000]: PHP Error: Invalid compose ID in /usr/local/www/roundcube/program/steps/mail/sendmail.inc
on line 36 (POST /?_unlock=loading1385138399603&_lang=pt?_task=mail&_action=send)
[22-Nov-2013 16:40:00 +0000]: PHP Error: Invalid compose ID in /usr/local/www/roundcube/program/steps/mail/sendmail.inc
on line 36 (POST /?_unlock=loading1385138438082&_lang=pt?_task=mail&_action=send)

I'm seeing this same error but its really only a few times and completely random... Is there a way to find more info about it, most users are not having any problems, and the ones who did just tried again and the mail was sent..


I'm running roundcube-0.9.5,1 in a FreeBSD Jail.