'Error Fetching http body' when using HTTP Proxy
| Bug #36749 | 'Error Fetching http body' when using HTTP Proxy | ||||
|---|---|---|---|---|---|
| Submitted: | 2006-03-15 20:00 UTC | Modified: | 2006-03-20 13:02 UTC | ||
| From: | robertg2 at hope dot ac dot uk | Assigned: | dmitry (profile) | ||
| Status: | Closed | Package: | SOAP related | ||
| PHP Version: | 5.1.2 | OS: | Windows XP & Suse 10 | ||
| Private report: | No | CVE-ID: | None | ||
[2006-03-15 20:00 UTC] robertg2 at hope dot ac dot uk
Description:
------------
When attempting to use an Amazon web service with our HTTP proxy server I receive the SoapFault exception:
"[HTTP] Error Fetching http body, No Content-Length, connection closed or chunked data"
When I go direct to the web service, i.e. do not use the proxy server, I do not receive such an exception and instead receive a valid dataset from Amazon.
Reproduce code:
---------------
$params = array('AWSAccessKeyId' => ANAMAZONACCESSKEY, 'Request' => array('IdType' => 'ASIN', 'ItemId' => array('1565924878'), 'ResponseGroup' => array('ItemAttributes')));
$client = new SoapClient("http://webservices.amazon.com/AWSECommerceService/2006-02-15/UK/AWSECommerceService.wsdl", array('proxy_host' => "172.16.0.2", 'proxy_port' => 8080));
$client->__soapCall('ItemLookup', array($params));
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-03-15 20:04 UTC] robertg2 at hope dot ac dot uk
[2006-03-16 13:20 UTC] robertg2 at hope dot ac dot uk
[2006-03-18 20:42 UTC] tony2001@php.net
[2006-03-18 20:56 UTC] robertg2 at hope dot ac dot uk
[2006-03-18 21:10 UTC] tony2001@php.net
[2006-03-18 22:12 UTC] robertg2 at hope dot ac dot uk
[2006-03-19 15:31 UTC] robertg2 at hope dot ac dot uk
[2006-03-20 11:38 UTC] dmitry@php.net
[2006-03-20 13:02 UTC] robertg2 at hope dot ac dot uk