For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Syed_Nazir_1624's avatar
Dec 15, 2014

Getting Connections details with get_active_connection/get_active_connection_v2 failing

Hi All, Trying to get the connection details through perl iControl SOAP API getting result as InvalidArgument.

 

Below is the code snippet:

 

my $ConnectionDefn = {

 

clientside_client => {

 

   address => '192.168.4.238',
   port    => '59492'

},

 

clientside_server => {

 

   address => '192.168.4.242',
   port    => '4353'

},

 

serverside_server => {

 

  address => '192.168.4.242',
  port    => '4353'

},

 

protocol => 'tcp' };

 

my $soapResponse = $SystemInfo->get_active_connection( SOAP::Data->name("connections" => [$ConnectionDefn]));

 

Following is ther error:

 

SOAP-ENV:Server Exception caught in System::urn:iControl:System/Connections::get_active_connection() Common::InvalidArgument

 

- Syed

 

1 Reply

  • Hi All,

      One more query is that mandatory to pass all parameters for Connection ID for get_active_connection. Wanted to fetch connection entry equivalent of following tmsh command
    
      tmsh show sys connection ss-server-addr 192.168.4.242 ss-server-port 4353
    

    - Syed