Subscribe

error when try zapi

Hi all,

help me please. I tried to use perl SDK. But I receive an error:

Failed: Server returned HTTP Error: 503 Administrative

My httpd options:

httpd.access                 legacy     
httpd.admin.access           legacy     
httpd.admin.enable           off        
httpd.admin.hostsequiv.enable off        
httpd.admin.max_connections  512        
httpd.admin.ssl.enable       on         
httpd.admin.top-page.authentication on         
httpd.autoindex.enable       off        
httpd.bypass_traverse_checking off        
httpd.enable                 on         
httpd.ipv6.enable            off        
httpd.log.format             common 
httpd.rootdir                /vol/vol0/home/http 
httpd.timeout                300     
httpd.timewait.enable        off    

options trusted.hosts
trusted.hosts                *

NetApp Release 8.2.2P1 7-Mode

Re: error when try zapi

sorry, it was necessary to witch on 

httpd.admin.enable           off

Re: error when try zapi

I am getting this error even with httpd.admin enabled; tls is enabled as well.

 

perl hello_ontapi.pl  filer03 api 'xxx'

Failed: Server returned HTTP Error: 503 Administrative

 

httpd.access                 legacy     

httpd.admin.access           legacy     

httpd.admin.enable           on         

httpd.admin.hostsequiv.enable off        

httpd.admin.max_connections  512        

httpd.admin.ssl.enable       on         

httpd.admin.top-page.authentication on         

httpd.autoindex.enable       off        

httpd.bypass_traverse_checking off        

httpd.enable                 on         

httpd.ipv6.enable            on         

httpd.log.format             common     (value might be overwritten in takeover)

httpd.method.trace.enable    off        

httpd.rootdir                /vol/vol0/home/http

httpd.timeout                300        (value might be overwritten in takeover)

httpd.timewait.enable        off        (value might be overwritten in takeover)

ssh1.enable                  off        

ssh2.enable                  on         

ssl.enable                   on         

ssl.v2.enable                on         (same value required in local+partner)

ssl.v3.enable                on         (same value required in local+partner)

tls.enable                   on         (same value required in local+partner)