Software Development Kit (SDK) and API Discussions

System.Net.WebException: The underlying connection was closed: The connection was closed unexpec

fitzner

Hello!

 

We're running into an issue on one of our cDOT Cluster (8.2.3P2) with sporadic closed connections as indicated by the error below:

 

24    6:54:49 PM    Console    Failure        An unhandled exception occurred: Exception: Error number: 0
25    6:54:49 PM    Console    Failure        [Filer = 10.188.120.220] <sis-status><path>vol_name</path><verbose>True</verbose></sis-status> ---> NetApp.Manage.NaException: Failed invoking API ---> System.Net.WebException: The underlying connection was closed: The connection was closed unexpectedly.
26    6:54:49 PM    Console    Failure           at System.Net.HttpWebRequest.GetResponse()
27    6:54:49 PM    Console    Failure           at NetApp.Manage.HTTPClient.DoRequest()

 

The workflow is a C# based program that uses our SDK and API calls on a W2K R2 based host.

 

While dedupe is running on a given Volume we check every ten seconds if dedupe is completed. The command succeeds most of the time but not always. After the error above we then get error below:

 

Command was invoked on filer: 10.188.120.220
not authorized for that command ---> NetApp.Manage.NaApiFailedException: not authorized for that command   at NetApp.Manage.NaServer.InvokeElem(NaElement element)

 

Any idea what would cause the connection to be closed?

 

I cannot find any errors about both the closed connections nor what looks like an RBAC issue on the Cluster itself (mgwd, debug, messages). I do see the incoming requests in the apache log.

 

Any help is appreciated!

 

Thanks,

 

//Mike

0 REPLIES 0
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.

NetApp Insights to Action
I2A Banner
Public