HTTP 500 Internal Server Error from iControl on LTM 10.2.0
When sending a SOAP request to the F5 API using a perl script to connect to the API to query for a list of LocalLB/VirtualServer members, the F5 is returning a 500 Internal Server error. The XML/SOAP request being sent to the device follows (the entire request has been abbreviated for purposes of this post). I have changed the XML/HTML markers to square brackets to allow me to post the code in this message.
SOAP::Transport::HTTP::Client::send_receive: POST h t t p s://[DNS NAME]/iControl/iControl
Portal.cgi HTTP/1.1
Accept: text/xml
Accept: multipart/*
Accept: application/soap
Authorization: Basic bmdpYWRXXXXXXXXXXDNudDAx
Content-Length: 25123
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:iControl:LocalLB/VirtualServerget_destination"
[?xml version="1.0" encoding="UTF-8"?][soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"][soap:Body]
.....
.....
[item xsi:type="xsd:string"]e1qrewards-443[/item][item xsi:type="xsd:string"]vs_QWWW201-443[/item][/virtual_servers][/get_destination][/soap:Body][/soap:Envelope]
RESPONSE MESSAGE:
The SOAP response received from the device is:
SOAP::Transport::HTTP::Client::send_receive: HTTP/1.1 500 Internal Server Error
Connection: close
Date: Thu, 31 May 2012 17:01:33 GMT
Server: Apache
Content-Length: 624
Content-Type: text/html; charset=iso-8859-1
Client-Date: Thu, 31 May 2012 17:03:41 GMT
Client-Peer: XXX.XXX.XXX.22:443
Client-Response-Num: 3
Client-SSL-Cert-Issuer: /C=--/ST=WA/L=Seattle/O=MyCompany/OU=1228921382/CN=dhcp-248/emailAddress=root@dhcp-248
Client-SSL-Cert-Subject: /C=--/ST=WA/L=Seattle/O=MyCompany/OU=1228921382/CN=dhcp-248/emailAddress=root@dhcp-248
Client-SSL-Cipher: DHE-RSA-AES256-SHA
Client-SSL-Warning: Peer certificate not verified
Set-Cookie: BIGIPAuthCookie=742D5CA3DAE5XXXXXXXXEAFE3593BA0C250F28A3; path=/;
Set-Cookie: BIGIPAuthUsernameCookie=xxxxxxxx; path=/;
Title: 500 Internal Server Error
[!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"]
[html][head]
[title]500 Internal Server Error[/title]
[/head][body]
[h1]Internal Server Error[/h1]
[p]The server encountered an internal error or
misconfiguration and was unable to complete
your request.[/p]
[p]Please contact the server administrator,
support@f5.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.[/p]
[p]More information about this error may be available
in the server error log.[/p]
[hr]
[address]Apache Server at [DNS NAME] Port 443[/address]
[/body][/html]