Displaying posts tagged: soap

PHP SOAP client giving "Error Fetching http headers"

7 Comments

Summary: PHP’s SOAP client was throwing an extremely unhelpful error: Error Fetching http headers. It turns out that it was a simple case of a slow SOAP server, and increasing the defaultsockettimeout in php.ini to 120 fixed it.