[Tickets #13491] PHP 5.6 RC4 Broke IMAP TLS

noreply at bugs.horde.org noreply at bugs.horde.org
Sun Aug 24 20:32:06 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13491
------------------------------------------------------------------------------
  Ticket             | 13491
  Created By         | adorman at ironicdesign.com
  Summary            | PHP 5.6 RC4 Broke IMAP TLS
  Queue              | IMP
  Version            | 6.2.1
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


adorman at ironicdesign.com (2014-08-24 20:32) wrote:

Unable to connect with Cyrus IMAP server with Horde 5.2.1 & IMP 6.2.1  
after updating from PHP 5.6 RC3 to PHP 5.6 RC4 (Debian) today.
After the update I see these log entries for Horde and Cyrus IMAP and  
Imp reports a problem communicating with the server.

2014-08-24T15:00:54.802509-05:00 yorick HORDE: [imp] PHP ERROR:  
fgets(): SSL read operation timed out [pid 32642 on line 153 of  
"/usr/share/php/Horde/Imap/Client/Socket/Connection/Socket.php"]

2014-08-24T15:01:54.613974-05:00 yorick HORDE: [imp] PHP ERROR:  
fgets(): SSL read operation timed out [pid 14455 on line 153 of  
"/usr/share/php/Horde/Imap/Client/Socket/Connection/Socket.php"]

2014-08-24T15:01:54.615668-05:00 yorick HORDE: [imp] [listMailboxes]  
Mail server closed the connection unexpectedly. [pid 14455 on line 732  
of "/usr/share/horde/imp/lib/Imap.php"]

2014-08-24T15:02:00.272601-05:00 yorick cyrus/imap[14427]: accepted connection
2014-08-24T15:02:00.280259-05:00 yorick cyrus/imap[14427]:  
imapd:Loading hard-coded DH parameters
2014-08-24T15:02:00.282538-05:00 yorick cyrus/imap[14427]: TLS Server  
Name Indication (SNI) Extension: "yorick.ironicdesign.com"
2014-08-24T15:02:00.285695-05:00 yorick cyrus/imap[14427]:  
SSL_accept() incomplete -> wait
2014-08-24T15:02:00.324498-05:00 yorick cyrus/imap[14427]:  
SSL_accept() succeeded -> done
2014-08-24T15:02:00.324568-05:00 yorick cyrus/imap[14427]: starttls:  
TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits new) no  
authentication

2014-08-24T15:02:30.396988-05:00 yorick HORDE: [imp] PHP ERROR:  
fgets(): SSL read operation timed out [pid 14453 on line 153 of  
"/usr/share/php/Horde/Imap/Client/Socket/Connection/Socket.php"]

2014-08-24T15:02:30.398703-05:00 yorick HORDE: [imp] [openMailbox]  
Mail server closed the connection unexpectedly. [pid 14453 on line 732  
of "/usr/share/horde/imp/lib/Imap.php"]

If I turn TLS off with $servers ['advanced']['secure'] = false;  
everything works fine.






More information about the bugs mailing list