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?