Forum Discussion

APGER_40541's avatar
APGER_40541
Icon for Nimbostratus rankNimbostratus
Oct 31, 2012

iControl - initial config

SOAP::Lite is installed and I am running the perl SDK example Poolstats.pl via the CLI but getting the below errors. I seem to be missing a doc somewhere that describe the basics regarding either a BigIP config somewhere to enable port 80 or a process that needs to be comlpleted regardng SSL certs. I am using current code (11.2.1) and using the current SDK. Can someone point me to what I am missing in terms of initial config?

 

 

Port 80 is obviously not up:

 

perl PoolStats.jim.pl 192.168.1.109 80 admin admin Production

 

SOAP::Transport::new: ()

 

SOAP::Serializer::new: ()

 

SOAP::Deserializer::new: ()

 

SOAP::Parser::new: ()

 

SOAP::Lite::new: ()

 

SOAP::Transport::HTTP::Client::new: ()

 

SOAP::Transport::new: ()

 

SOAP::Serializer::new: ()

 

SOAP::Deserializer::new: ()

 

SOAP::Parser::new: ()

 

SOAP::Lite::new: ()

 

SOAP::Transport::HTTP::Client::new: ()

 

SOAP::Transport::new: ()

 

SOAP::Serializer::new: ()

 

SOAP::Deserializer::new: ()

 

SOAP::Parser::new: ()

 

SOAP::Lite::new: ()

 

SOAP::Transport::HTTP::Client::new: ()

 

SOAP::Transport::new: ()

 

SOAP::Serializer::new: ()

 

SOAP::Deserializer::new: ()

 

SOAP::Parser::new: ()

 

SOAP::Lite::new: ()

 

SOAP::Transport::HTTP::Client::new: ()

 

SOAP::Lite::call: ()

 

SOAP::Serializer::envelope: ()

 

SOAP::Serializer::envelope: get_product_info

 

SOAP::Data::new: ()

 

SOAP::Data::new: ()

 

SOAP::Data::new: ()

 

SOAP::Data::new: ()

 

SOAP::Transport::HTTP::Client::send_receive: HTTP::Request=HASH(0x7fb76ba3c2d0)

 

SOAP::Transport::HTTP::Client::send_receive: POST http://192.168.1.109:80/iControl/iControlPortal.cgi HTTP/1.1

 

Accept: text/xml

 

Accept: multipart/*

 

Accept: application/soap

 

Content-Length: 445

 

Content-Type: text/xml; charset=utf-8

 

SOAPAction: "urn:iControl:ITCMSystem/SystemInfoget_product_info"

 

 

 

SOAP::Transport::HTTP::Client::send_receive: HTTP::Response=HASH(0x7fb76ba93da8)

 

SOAP::Transport::HTTP::Client::send_receive: 500 Can't connect to 192.168.1.109:80 (Connection refused)

 

Content-Type: text/plain

 

Client-Date: Wed, 31 Oct 2012 18:51:21 GMT

 

Client-Warning: Internal response

 

 

Can't connect to 192.168.1.109:80 (Connection refused)

 

 

LWP::Protocol::http::Socket: connect: Connection refused at /System/Library/Perl/Extras/5.12/LWP/Protocol/http.pm line 51.

 

SOAP::Deserializer::deserialize: ()

 

SOAP::Parser::decode: ()

 

500 Can't connect to 192.168.1.109:80 (Connection refused) at PoolStats.jim.pl line 135

 

SOAP::Transport::DESTROY: ()

 

SOAP::Transport::HTTP::Client::DESTROY: ()

 

SOAP::Serializer::DESTROY: ()

 

SOAP::Deserializer::DESTROY: ()

 

SOAP::Parser::DESTROY: ()

 

SOAP::Data::DESTROY: ()

 

SOAP::Data::DESTROY: ()

 

SOAP::Data::DESTROY: ()

 

SOAP::Transport::HTTP::Client::DESTROY: ()

 

SOAP::Parser::DESTROY: ()

 

SOAP::Transport::DESTROY: ()

 

SOAP::Serializer::DESTROY: ()

 

SOAP::Deserializer::DESTROY: ()

 

SOAP::Parser::DESTROY: ()

 

SOAP::Transport::DESTROY: ()

 

SOAP::Transport::HTTP::Client::DESTROY: ()

 

SOAP::Serializer::DESTROY: ()

 

SOAP::Deserializer::DESTROY: ()

 

SOAP::Transport::HTTP::Client::DESTROY: ()

 

SOAP::Parser::DESTROY: ()

 

SOAP::Transport::DESTROY: ()

 

SOAP::Serializer::DESTROY: ()

 

SOAP::Data::DESTROY: ()

 

SOAP::Deserializer::DESTROY: ()

 

SOAP::Lite::DESTROY: ()

 

SOAP::Lite::DESTROY: ()

 

SOAP::Lite::DESTROY: ()

 

SOAP::Lite::DESTROY: ()

 

 

2 Replies

  • Unsecured connections (port 80) are disabled by default on our management interfaces. Try port 443 for a HTTPS connection.

     

    -Joe

     

  • Calls to 443 also fail for the perl examples given in the SDK. A process probably exists and is documented somewhere whereby certs need to be moved from the BigIP down to the perl script. A quick fix was found in the groups by adding the below to the SDK examples:

     

     

    BEGIN { $ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0 }