Skip to content

ONTAP connectivity issues

Laurent Nicolas edited this page Mar 23, 2022 · 2 revisions

Connection refused

NetApp API failed. Reason - Unable to connect:(ConnectionRefusedError(111, ‘Connection refused’),)

protocol not enabled

By default ZAPI is using http. But recent versions of ONTAP disable http by default.

The recommended solution is to use https: true. A valid certificate is required. (Or see Disabling certificate validation You can also enable http in ONTAP. But we need https for REST.

Caution: disabling certificate validation is a security risk.

firewall issue

When using a vserver, the firewall policy needs to allow management traffic. In ONTAP 9.5 or later, this is achieved with -service-policy. Earlier versions require -firewall-policy

Certificate issues:

URL error:URLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate

A valid certificate needs to be installed and signed.

Certificate validation can be temporarily disabled with validate_certs: false.

Caution: disabling certificate validation is a security risk.