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

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

robinpeter

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

"options httpd.admin.hostsequiv.enable on"

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.

giprosvyaz

Yes ping is ok and port is open

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public