Bug #63606 [NEW]: "HTTP request failed!" on HTTPS request through stream wrapper

From: Date: Mon, 26 Nov 2012 11:41:43 +0000
Subject: Bug #63606 [NEW]: "HTTP request failed!" on HTTPS request through stream wrapper
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-174941@lists.php.net to get a copy of this message
From:             mikael at webhallen dot com
Operating system: linux/debian
PHP version:      5.4.9
Package:          Streams related
Bug Type:         Bug
Bug description:"HTTP request failed!" on HTTPS request through stream wrapper

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 bug report at https://bugs.php.net/bug.php?id=63606&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=63606&r=trysnapshot54
Try a snapshot (PHP 5.3):   https://bugs.php.net/fix.php?id=63606&r=trysnapshot53
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=63606&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=63606&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=63606&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=63606&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=63606&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=63606&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=63606&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=63606&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=63606&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=63606&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=63606&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63606&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=63606&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=63606&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=63606&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=63606&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=63606&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=63606&r=mysqlcfg



Thread (3 messages)

« previous php.bugs (#174941) next »