|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79559 TLS connections timing-out on 7.4 (all versions after 7.3.17)
Submitted: 2020-05-02 23:06 UTC Modified: 2020-05-03 12:46 UTC
From: imnieves at gmail dot com Assigned: cmb (profile)
Status: Duplicate Package: *Encryption and hash functions
PHP Version: 7.4.5 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
18 - 11 = ?
Subscribe to this entry?

 [2020-05-02 23:06 UTC] imnieves at gmail dot com
Several users of phpredis (a PHP interface to Redis) have noticed (in php from 7.4.0 and onwards) that TLS connections to Redis time out.  When we establish non-TLS connections to Redis (using the same phpredis), we experience no timeout.

I have personally verified the issue exists on all versions of 7.4 from 7.4.0 to 7.4.5, and that the issue does not exists on version 7.3.17

Test script:
The test script is longer than 20 lines, so here is a link:

Here you can find the script, its output, log trace, and explanation of test setup.

Expected result:
The expectation is that TLS connections are either established or not in a consistent amount of time, but not seemingly randomly timing out (taking a large amount of time to fail).

Actual result:
The actual result is that TLS connections are being established in an inconsistent amount of time.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-05-03 12:46 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2020-05-03 12:46 UTC]
This is a duplicate of bug #79501.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed May 22 16:01:31 2024 UTC