|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #54439 SSL/OpenSSL broken
Submitted: 2011-04-01 10:53 UTC Modified: 2013-02-18 00:34 UTC
Avg. Score:4.2 ± 0.9
Reproduced:17 of 18 (94.4%)
Same Version:7 (41.2%)
Same OS:12 (70.6%)
From: paigeat at paigeat dot info Assigned:
Status: No Feedback Package: OpenSSL related
PHP Version: 5.3.6 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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 + 34 = ?
Subscribe to this entry?

 [2011-04-01 10:53 UTC] paigeat at paigeat dot info
From manual page:
Warning: fwrite() [function.fwrite]: SSL operation failed with code 1. OpenSSL Error messages: error:140D00CF:SSL routines:SSL_write:protocol is shutdown

Test script:
in /home/erratic/domains/ on line 222

source code download:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-01 13:15 UTC]
-Status: Open +Status: Feedback -Type: Security +Type: Bug -Package: *General Issues +Package: OpenSSL related
 [2011-04-01 13:15 UTC]
Changed bug meta-data.

Also, this doesn't necessarily mean a problem in PHP. More information is needed, namely how to reproduce this problem (linking to a library is not enough).
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 [2013-02-21 13:59 UTC] ashok975 at hotmail dot com
fwrite(): SSL: Broken pipe
fwrite(): SSL operation failed with code 1. OpenSSL Error messages:
error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry
 [2013-06-27 01:01 UTC] php dot net at walterheck dot com
This is not a bug afaik, you just need to retry the SSL_write call. More info 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 00:01:25 2023 UTC