Bug #63606 [Opn->Fbk]: "HTTP request failed!" on HTTPS request through stream wrapper
Edit report at https://bugs.php.net/bug.php?id=63606&edit=1
ID: 63606
Updated by: cmb@php.net
Reported by: mikael at webhallen dot com
Summary: "HTTP request failed!" on HTTPS request through
stream wrapper
-Status: Open
+Status: Feedback
Type: Bug
Package: Streams related
Operating System: linux/debian
PHP Version: 5.4.9
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
Previous Comments:
------------------------------------------------------------------------
[2012-11-26 11:41:43] mikael at webhallen dot com
Description:
------------
I'm giving you the specific server in the script because I have not been able to
reproduce the problem using any other server. It also works in PHP5.3 on the same
server. I do not administer the server in question. I have tried using an MITM
proxy, but that worked instead of giving me relevant errors. I've tried using
openssl's s_client and manually send HTTP commands. That too, worked.
libcurl works, wget works. It's just the php stream wrapper that doesn't work and
I do not feel like I possess the necessary knowledge to know how to continue
debugging this.
Sadly, I'm currently using the SoapClient in PHP for the implementation so it's
not a cake walk to rewrite it using libcurl instead.
Any help appreciated!
Test script:
---------------
<?php
echo file_get_contents(https://cluster1.seqr.se:8913/extclientproxy/service?wsdl);
?>
Expected result:
----------------
WSDL-definition printed out.
Actual result:
--------------
200 second timeout until error message:
Warning: file_get_contents(https://cluster1.seqr.se:8913/extclientproxy/service?
wsdl): failed to open stream: HTTP request failed!
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=63606&edit=1
Thread (3 messages)