Software Development Kit (SDK) and API Discussions

NetApp ManageOntap SDK for .Net: Timeout is not set




In ManageOntap SDK for .NET I can set Timeout for NaServer class. 

Netapp help says, that this property - "Gets or sets the number of seconds to wait before the request times out".


SDK using HttpWebRequest class for sending HTTP requests to NetApp.

When user set Timeout property of NaServer class, SDK set Timeout property of HttpWebRequest.


But HttpWebRequest have another property: ReadWriteTimeout, that is used for reading from request stream:

And this property is not affected by NaServer.Timeout property and is set to default value 300 seconds.


So if execution of command through Invoke method of NaServer takes mote then 300 seconds, it fails with error: Failed invoking API - Request Timeout.


Could you, please, set ReadWriteTimeout of HttpWebRequest in next version of this SDK?





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