Ticket #1484853 (closed Bugs: worksforme)

Opened 10 months ago

Last modified 7 months ago

RC hangs when used with SSL while opening various messages

Reported by: asg Owned by: till
Priority: 5 Milestone: 0.2-alpha
Component: IMAP connection Version: 0.1-stable
Severity: major Keywords:
Cc:

Description

I use RC on an SSL enabled apache2. Many messages do not open. RC hangs while "loading" the message until the php timeout kills the process:

"[05-Mar-2008 12:08:09] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/htdocs/webmail/program/lib/imap.inc on line 168"

I tested the same messages with an unsecured session and everything works fine.

I first thought it would be the problem in #1483910 but the fix does not help here.

While debugging the imap server I found out that the message fetch succeded without any problem.

I can provide more information if needed.

Thanks for looking on this issue.

Change History

Changed 10 months ago by till

  • owner set to till
  • status changed from new to assigned

Can you let us know how you configured your imap server. E.g., is it sslv2:// or sslv3://, or plain "autodetect" ssl://?

And what do you run on your server, etc.? Can you try to switch it to that version? Is your certificate valid and so on?

Most of those imap "hangs" due to a broken handshake. Nothing we can do to fix it, I am thinking this is more a PHP or distribution problem.

Changed 10 months ago by asg

I think the problem is not the commication between rc and the imap server, althoug I use ssl there too. Because changing to an unsecured imap connection does not change a thing.

The only thing that fixes the problem is swapping to http on the apache.

Anyway my configuration is:

ssl://localhost:993

Installed versions:

courier-imap: 4.1.1.20060828-5 apache2: 2.2.3-4+etch4 php5: 5.2.0-8+etch10 mysql: 5.0.32-7etch5 roundcube: 0.1-stable

Plain debian etch packages. The SSL Cert is selfsigned, but besides valid.

If you like I can give an temporary email account on the system by private mail.

Changed 10 months ago by patrick

I have three RoundCube 0.1-stable installations (on three vservers) that work flawlessly in this aspect. They are being accessed through https mostly (but also http). Setup is Gentoo Linux, apache-2.2.8, php-5.2.5, mysql-5.0.54. One of the mentioned apaches uses a self-signed (but valid) cert, two use free StartCom? signed certs.

asg, do you see any special CPU/disk/net load during those 30 seconds on the server? Did you try to increase logging? Do you have other web applications running on this apache instance, and are they giving you any trouble? I think we can rule out the imapd here. More likely something wrong with RoundCube/PHP/Apache or something they use.

Changed 7 months ago by till

  • status changed from assigned to closed
  • resolution set to worksforme

Seems to work, no feedback.

Note: See TracTickets for help on using tickets.