fatnewt
10-08-2005, 07:25 AM
I'm getting a WSDL timeout error when trying to grab SOAP data from Amazon using an AWS script.
The script works find on my localhost... but on my live server (GoDaddy-hosted) it crashes. Any ideas?
I've tried increasing both PHP's script execution time and the response_timeout time.
This line in my AWS script:
$soapclient = new
soapclient("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl",
true);
... is creating a $soapclient object from nuSOAP that's got this information:
<!--
soapclient Object
(
[title] => NuSOAP
[version] => 0.6.8
[revision] => $Revision: 1.85 $
[error_str] => wsdl error: HTTP ERROR: socket read of headers timed out
[debug_str] => 2005-10-08 07:02:20.174814 soapclient: instantiating wsdl class with doc: http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175037 wsdl: initial wsdl URL: http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175116 wsdl: getting WSDL http(s) URL http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175266 soap_transport_http: scheme = http
2005-10-08 07:02:20.175326 soap_transport_http: host = soap.amazon.com
2005-10-08 07:02:20.175364 soap_transport_http: path = /schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175508 soap_transport_http: entered send() with data of length: 0
2005-10-08 07:02:20.175569 soap_transport_http: connect connection_timeout 0, response_timeout 60, scheme http, host soap.amazon.com, port 80
2005-10-08 07:02:20.175633 soap_transport_http: calling fsockopen with host soap.amazon.com
2005-10-08 07:02:20.182009 soap_transport_http: socket connected
2005-10-08 07:02:20.182100 soap_transport_http: HTTP request: GET /schemas2/AmazonWebServices.wsdl HTTP/1.1
2005-10-08 07:02:20.182149 soap_transport_http: HTTP header: Host: soap.amazon.com
2005-10-08 07:02:20.182191 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.6.8 (1.85)
2005-10-08 07:02:20.182235 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2005-10-08 07:02:20.182278 soap_transport_http: HTTP header: Connection: close
2005-10-08 07:02:20.182318 soap_transport_http: HTTP header: Content-Length: 0
2005-10-08 07:02:20.182390 soap_transport_http: wrote data to socket, length = 175
2005-10-08 07:03:20.182814 soap_transport_http: read line of 0 bytes:
2005-10-08 07:03:20.182904 soap_transport_http: socket read of headers timed out after length 0
2005-10-08 07:03:20.182940 soap_transport_http: read before timeout:
2005-10-08 07:03:20.182982 soap_transport_http: end of send()
2005-10-08 07:03:20.183038 wsdl: HTTP ERROR: socket read of headers timed out
2005-10-08 07:03:20.183222 soapclient: got wsdl error: HTTP ERROR: socket read of headers timed out
...
-->
Any ideas? Thanks in advance.
The script works find on my localhost... but on my live server (GoDaddy-hosted) it crashes. Any ideas?
I've tried increasing both PHP's script execution time and the response_timeout time.
This line in my AWS script:
$soapclient = new
soapclient("http://soap.amazon.com/schemas2/AmazonWebServices.wsdl",
true);
... is creating a $soapclient object from nuSOAP that's got this information:
<!--
soapclient Object
(
[title] => NuSOAP
[version] => 0.6.8
[revision] => $Revision: 1.85 $
[error_str] => wsdl error: HTTP ERROR: socket read of headers timed out
[debug_str] => 2005-10-08 07:02:20.174814 soapclient: instantiating wsdl class with doc: http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175037 wsdl: initial wsdl URL: http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175116 wsdl: getting WSDL http(s) URL http://soap.amazon.com/schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175266 soap_transport_http: scheme = http
2005-10-08 07:02:20.175326 soap_transport_http: host = soap.amazon.com
2005-10-08 07:02:20.175364 soap_transport_http: path = /schemas2/AmazonWebServices.wsdl
2005-10-08 07:02:20.175508 soap_transport_http: entered send() with data of length: 0
2005-10-08 07:02:20.175569 soap_transport_http: connect connection_timeout 0, response_timeout 60, scheme http, host soap.amazon.com, port 80
2005-10-08 07:02:20.175633 soap_transport_http: calling fsockopen with host soap.amazon.com
2005-10-08 07:02:20.182009 soap_transport_http: socket connected
2005-10-08 07:02:20.182100 soap_transport_http: HTTP request: GET /schemas2/AmazonWebServices.wsdl HTTP/1.1
2005-10-08 07:02:20.182149 soap_transport_http: HTTP header: Host: soap.amazon.com
2005-10-08 07:02:20.182191 soap_transport_http: HTTP header: User-Agent: NuSOAP/0.6.8 (1.85)
2005-10-08 07:02:20.182235 soap_transport_http: HTTP header: Accept-Encoding: gzip, deflate
2005-10-08 07:02:20.182278 soap_transport_http: HTTP header: Connection: close
2005-10-08 07:02:20.182318 soap_transport_http: HTTP header: Content-Length: 0
2005-10-08 07:02:20.182390 soap_transport_http: wrote data to socket, length = 175
2005-10-08 07:03:20.182814 soap_transport_http: read line of 0 bytes:
2005-10-08 07:03:20.182904 soap_transport_http: socket read of headers timed out after length 0
2005-10-08 07:03:20.182940 soap_transport_http: read before timeout:
2005-10-08 07:03:20.182982 soap_transport_http: end of send()
2005-10-08 07:03:20.183038 wsdl: HTTP ERROR: socket read of headers timed out
2005-10-08 07:03:20.183222 soapclient: got wsdl error: HTTP ERROR: socket read of headers timed out
...
-->
Any ideas? Thanks in advance.