#23220 [Csd]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
From: wez@php.net Date: Sun, 23 May 2004 11:04:07 +0000 Subject: #23220 [Csd]: IIS does not cleanly close SSL connections (SSL: fatal protocol error) References: 1 Groups: php.bugs Request: Send a blank email to php-bugs+get-59904@lists.php.net to get a copy of this message
ID: 23220
Updated by: wez@php.net
Reported By: storozhilov at mail dot ru
Status: Closed
Bug Type: OpenSSL related
Operating System: *
PHP Version: 4CVS
New Comment:
Stupid bug system...
The will be in the next snapshot from http://snaps.php.net.
Previous Comments:
------------------------------------------------------------------------
[2004-05-23 13:02:46] wez@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
This has just been fixed in CVS.
Note that due to the nature of the problem (eg: IIS being at fault),
there is no way for PHP to determine the difference between a
legitimate problem and a bogus IIS unless you are using the built-in
HTTP wrapper: we inspect the headers to determine if we should show the
warning or not.
So, if you are manually opening an SSL stream, you still need to
suppress the warning yourself based on the presence of "Server:
Microsoft-IIS" in the headers that you read.
------------------------------------------------------------------------
[2004-05-03 17:56:01] grizu1 at gmx dot info
Hi,
this bug still exists on php4-STABLE-200405031430. ;-(
System:
- Linux (RedHat 8) 2.4.20-28.8 #1 Thu Dec 18 12:53:39 EST 2003 i686
i686 i386 GNU/Linux
- php4-STABLE-200405031430
- OpenSSL 0.9.6b
Configure command:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-mysql'
'--with-openssl' '--with-sapdb=/opt/sapdb/interfaces/odbc/'
php-script:
<?php
$url = "https://foo.bar";
file_get_contents($url);
?>
Output:
Warning: file_get_contents(): SSL: fatal protocol error in
/www/www.default.de/html/https2.php on line 3
Any help for me?
Greetings
grizu
------------------------------------------------------------------------
[2004-04-30 15:03:05] obercik at poczta dot onet dot pl
PHP Version 5.0.0RC2
Configure Command './configure' '--with-openssl' ...
if ( $fp = fopen("https://xxxxxxxx, "r") ) {
while ( $row = fgets($fp, 1024) ) {
print($row);
}
fclose($fp);
}
Warning: fgets() [function.fgets]: SSL: fatal protocol error in
xxxxxxxxxxxxxxxxxxx.php on line xx
however it GETS the data...
------------------------------------------------------------------------
[2004-04-30 06:24:55] mike dot davsi at temple dot edu
I'm seeing this against an apache server. What version is this fixed
in?
file_get_contents("https://.....");
PHP 4.3.2 (cgi), Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
I have fixed it for now with error_reporting but would like to get a
true fix.
------------------------------------------------------------------------
[2004-02-19 11:00:45] nlopess@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23220
--
Edit this bug report at http://bugs.php.net/?id=23220&edit=1
Thread (41 messages)
- #23220 [Opn->Fbk]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Fbk->NoF]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [NoF->Opn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Opn->Asn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Asn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Asn->Fbk]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Fbk->NoF]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [NoF->Asn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Asn->Fbk]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Fbk->NoF]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [NoF->Opn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Opn->Asn]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Com]: fgets() causes warning while reading data via SSL channel (HTTPS)
- #23220 [Csd]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Csd]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Com]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Com]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Csd]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Com]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
- #23220 [Com]: IIS does not cleanly close SSL connections (SSL: fatal protocol error)
| « previous | php.bugs (#59904) | next » |
|---|