Software Development Kit (SDK) and API Discussions

Perl API error on freebsd

giprosvyaz

Running apitest.pl on FreeBSD 8.2 and get error "Zapi::invoke cannot connect to the socket"

the same with other test scripts

Perl: 5.10.1

SDK: 3.5.1

Ontap: 7.3.3

 

Everything works fine on Suse with Perl 5.8.2

and on Windows with ActivePerl

 

Anyone can help?

4 REPLIES 4

Re: Perl API error on freebsd

rkiran

Are you able to ping ONTAP from the FreeBSD machine ? Ensure that the default port 80 used by apitest utility over HTTP is enabled from the Firewall.

Re: Perl API error on freebsd

giprosvyaz

Yes ping is ok and port is open

Perl API error on freebsd

robinpeter

check the following options status and if its "off" you can turn it on.

"options httpd.admin.hostsequiv.enable on"

Re: Perl API error on freebsd

stevenkreuzer

I ran into the same issue so I ended up ripping out most of the code in invoke_elem() and replacing it with a call to HTTP::Request->new()

Patch can be found at https://gist.github.com/3341862

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public