Forum Discussion
Leslie_South_55
Nimbostratus
Oct 29, 2007CR83311 - High CPU with iControl
With a recent upgrade to 9.3 vanilla (no hotfixes applied) our iControl app is causing high cpu spikes, showing on the graph at 90-100%. Support has noted that this is being tracked in CR 83311 and t...
Nov 15, 2007
In the SOAP::Lite docs, here's the comments on the arguments to the proxy method:
When extra information is needed, it is also passed in the call to this method. Connecting to a server that uses browser cookies for authentication can be done by creating an instance of the HTTP::Cookies class (from the LWP package) and passing it as the value following a key of cookie_jar.
I did a search and found an example reference for using the cookie_jar parameter.
Give this a try:
$Failover = new SOAP::Lite
uri('urn:iControl:System/Failover')
proxy("https://$hostName:443/iControl/iControlPortal.cgi",
cookie_jar => HTTP::Cookies->new(ignore_discard => 1));
I tested this out and for subsequent requests on the same SOAP::Lite object, it did send the BIGIPAuthCookie on subsequent requests.
Let me know if this works for you and I'll work on getting the sample code upgraded to support the auth cookie.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects