Software Development Kit (SDK) and API Discussions

HTTP Post error - to send the API request(err=10054) returned when snapmirror-get-status is invoked using apitest

explorenetapp

Running snapmirror-get-status with api is returning the following error. Does anyone know when this happens? Is there any solution for this?

 

D:\temp\ssleay32>apitest.exe -x <ipaddress> nasadmin <password> snapmirror-get-status
INPUT:
<snapmirror-get-status/>

OUTPUT:
<results reason="HTTP POST - failed, status code = 499" status="failed" errno="13011"/>


D:\temp\ssleay32>apitest.exe -X <ipaddress> nasadmin <password> snapmirror-get-status
INPUT:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.0"><snapmirror-get-status/></netapp>
<results reason="HTTP POST - failed, status code = 20" status="failed" errno="13011"/>

13 REPLIES 13

explorenetapp

Can somone let me know if this is happening due to incorrect invocation or because of some issue in the NetApp system?

aashray

The reason for this should be something else, the same apitest call seems to be working on my 7mode system. I'll try and dig further.

explorenetapp

Thanks.

Hi aashray,  Were you able to find out details on when and why this error message is returned?

Thanks,

Prasanna

aashray

Hi Prasanna, do you think there is a firewall blocking access to your filer in some way (packets are getting dropped) ?

explorenetapp

I haven't tried invoking other API calls on those Netapp systems. Thanks for pointing this. Let me try invoking few other APIs like system-get-info and see how the responses look like.

Regards,

Prasanna

aashray

Let me know what you find.

explorenetapp

Hi Aashray,

          I got the following commands run against three NetApp systems. The commands were successful only on one system and failed on the remaining two systems. Please note that all these commands on all NetApp systems were invoked from the same machine. Hence, it doesn't seem to be a firewall issue.

The outputs obtained from the execution of the commands have been provided below. One snapshot is provided from the system where the execution failed and the other from the system where the command execution was successful.

#####################################

D:\temp\ssleay32>apitest.exe -X 10.3.184.151 root <password> system-get-info
INPUT:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.0"><system-get-info/></netapp>
<results reason="HTTP POST - Unable to send the API request(err=10054)." status="failed" errno="13011"/>


D:\temp\ssleay32>apitest.exe -x 10.3.184.151 root <password> system-get-info
INPUT:
<system-get-info/>

OUTPUT:
<results reason="HTTP POST - Unable to send the API request(err=10054)." status="failed" errno="13011"/>


D:\temp\ssleay32>apitest.exe -x 10.3.184.151 root <password> volume-list-info
INPUT:
<volume-list-info/>

OUTPUT:
<results reason="HTTP POST - Unable to send the API request(err=10054)." status="failed" errno="13011"/>


D:\temp\ssleay32>apitest.exe -X 10.3.184.151 root <password> volume-list-info
INPUT:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.0"><volume-list-info/></netapp>
<results reason="HTTP POST - Unable to send the API request(err=10054)." status="failed" errno="13011"/>

#####################################

D:\temp\ssleay32>apitest.exe -x 10.3.184.167 root <password> system-get-info
INPUT:
<system-get-info/>

OUTPUT:
<results status="passed">
        <system-info>
                <system-name>gwstor4879</system-name>
                <system-id>1873798609</system-id>
                <system-model>V6240</system-model>
                <system-machine-type>V6240</system-machine-type>
                <vendor-id>NetApp</vendor-id>
                <system-serial-number>800000096318</system-serial-number>
                <partner-system-id>1873799107</partner-system-id>
                <partner-system-name>gwstor4881</partner-system-name>
                <system-revision>A2</system-revision>
                <board-speed>2533</board-speed>
                <board-type>System Board XVIII</board-type>
                <cpu-part-number>111-01154</cpu-part-number>
                <cpu-revision>A0</cpu-revision>
                <cpu-serial-number>8002434152</cpu-serial-number>
                <cpu-firmware-release>7.1.2</cpu-firmware-release>
                <number-of-processors>8</number-of-processors>
                <memory-size>49152</memory-size>
                <cpu-processor-type>Intel(R) Xeon(R) CPU           E5540  @ 2.53
GHz</cpu-processor-type>
                <cpu-microcode-version>17</cpu-microcode-version>
                <supports-raid-array>true</supports-raid-array>
                <prod-type>V-Series</prod-type>
        </system-info>
</results>

D:\temp\ssleay32>apitest.exe -X 10.3.184.167 root <password> volume-list-info
INPUT:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE netapp SYSTEM 'file:/etc/netapp_filer.dtd'>
<netapp xmlns="http://www.netapp.com/filer/admin" version="1.0"><volume-list-inf
o/></netapp>

OUTPUT:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE netapp SYSTEM '/na_admin/netapp_filer.dtd'>
<netapp version='1.1' xmlns='http://www.netapp.com/filer/admin'>
<results status="passed"><volumes><volume-info><name>oncommand_data</name><uuid>
a05ea3fa-395f-11e1-9f6d-00a09820ed3d</uuid><type>flex</type><block-type>64_bit</
block-type><state>online</state><size-total>128849018880</size-total><size-used>
104063500288</size-used><size-available>24785518592</size-available>....

#####################################

aashray

Try using the -s for a SSL.

i.e your query will be : apitest.exe -s -X 10.3.184.151 root <password> system-get-info

Let me know the results. Since I am not able to produce the same case I can only keep suggesting alternatives, one of em gotta be it.

Will find out more reason for this issue and let you know.

SRIMURUGAN_RC

Hi

I am also facing same issue... i have tried like above said.still i am getting same issue.is there any other way to resolve this problem.

with regards

M.Selvakumar

aashray

Which version of ONTAP are using and which version of NMSDK?

aashray

Will get back to you on this asap

explorenetapp

Sure.

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.

Public