Forum Discussion
Cynthia_18735
May 07, 2008Nimbostratus
Joe - I have moved this code into production, and seems to be working just great! Just one more question though.
In the /var/logs/httpd/ssl_access_log file, we have the following entries. All of these entries are generatd from the soap requests. My question is about the entries with the '406' error code. Is this normal? Seems like I get one of these right before it makes the actual SOAP calls. I'm guessing this is the soap calls with authorization, that look something like this.
SOAP API Calls with authorization
$WIDEIP = SOAP::Lite
-> uri('urn:iControl:GlobalLB/WideIP')
-> proxy("$sProtocol://$sHost:$sPort/iControl/iControlPortal.cgi");
eval { $Rule->transport->http_request->header
(
'Authorization' =>
'Basic ' . MIME::Base64::encode("$sUID:$sPWD", '')
); };
Following are the log entries:
May 7 15:03:02 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:02 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:02 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:02 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 5221
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 12691
May 7 15:03:03 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:03 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:04 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:04 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 28777
May 7 15:03:06 gtm-01 logger: [ssl_acc] 10.115.84.20 - - [07/May/2008:15:03:05 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 406 -
May 7 15:03:07 gtm-01 logger: [ssl_acc] 10.115.84.20 - userid [07/May/2008:15:03:06 -0500] "POST /iControl/iControlPortal.cgi HTTP/1.1" 200 77607