Software Development Kit (SDK) and API Discussions

in Zapi::invoke, cannot connect to socket

bmason

We get the error message

in Zapi::invoke, cannot connect to socket

when we try use "snapshot-create" with NaServer API.

The filer is a clustered filer running 8.1. There is httpd.enable parameter in clustered mode and

it is available only in 7-mode.

How do we resolve this issue?

3 REPLIES 3

rle
NetApp Alumni

From your description, I can't tell exactly what is going on.

Does clustered filer mean 7-mode ONTAP or clustered ONTAP?

Are you trying to ask a question about httpd.enable?

Does the system-get-version API work correctly?

Regards,

   - Rick -

bmason

Rick,


Thanks for the response.

I meant clustered ONTAP. It appears clustered ONTAP does not have httpd.enable feature. Is this correct? We are

getting the error "in Zapi::invoke, cannot connect to socket" when trying to create a snapshot on clustered ONTAP. We used

to enable httpd when we get this error and in 7-mode, this solution worked. It is not working on clustered ONTAP.

I have to check if system-get-version API works or not.

thanks

rle
NetApp Alumni

Please check my blog on system-get-version, because if system-get-version doesn't work, then you're not connecting to the correct LIF, which should be an admin LIF.

The snapshot-create API is only a Vserver API, so sending it to the cluster admin LIF should get the error: "Unable to find API: snapshot-create" errno="13005".  Snapshot-create needs to be sent to the Vserser admin LIF or to the cluster admin LIF with Vserver tunneling.

Regards,

   - Rick -

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