Forum Discussion
SoapFault exception: [HTTP] Error Fetching http headers
Hello all,
I have written a little PHP script to monitor the active nodes in my pools.
This is for a BigIP LTM on version 10.2.2 Build 763.3 Final
The bulk of my iControl/SOAP code is below:
This file was previously saved to help conserve bandwidth and troubleshoot this issue
$wsdl2="/dev/shm/iControlPortal.LocalLB.PoolMember.xml";
create my connections
$client2 = new SoapClient($wsdl2,array('location'=>$location,'login'=>$username,'password'=>$password,'trace'=>1,'httpsocket'=>NULL,'connection_timeout' => 120));
my get the status of the pool. This is the ONLY call I'm making
$pool_list = array("mypoolname.com");
$stats=$client2->get_object_status($pool_list);
Inconsistently, I'm getting the below exception thrown back at me. I also have included the debug output from __getLastRequest()
SoapFault exception: [HTTP] Error Fetching http headers in /usr/local/nagios/libexec/check_f5_pools:68
Stack trace:
0 [internal function]: SoapClient->__doRequest('
1 /usr/local/nagios/libexec/check_f5_pools(68): SoapClient->__call('get_object_stat...', Array)
2 /usr/local/nagios/libexec/check_f5_pools(68): SoapClient->get_object_status(Array)
3 {main}
mypoolname.com
It works some of the time but fails almost just as consistently. Are there any settings on the F5 that I need to look at? Or any guidance on how to debug further would be greatly appreciated!!!
-Joe
- Joe_Chapman_416Nimbostratus
My formatting keeps on getting lost. My next post will be the error code. My apologies...
- Joe_Chapman_416Nimbostratus
SoapFault exception: [HTTP] Error Fetching http headers in /usr/local/nagios/libexec/check_f5_pools:68 Stack trace: 0 [internal function]: SoapClient->__doRequest('__call('get_object_stat...', Array) 2 /usr/local/nagios/libexec/check_f5_pools(68): SoapClient->get_object_status(Array) 3 {main} mypoolname.com
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com