Skip to main content
NetApp Knowledge Base

Unable to connect to OnCommand API server

Views:
229
Visibility:
Public
Votes:
0
Category:
oncommand-api-services-api-s
Specialty:
legacy
Last Updated:

Applies to

OnCommand API service 2.x

Issue

Unable to connect to OnCommand  API server from one of the customer windows machine.

Below error observed while trying to access the API using URL: https://<API_server_IP>:port/api/1.0/ontap/clusters

{\"Exception\":{\"ClassName\":\"System.Net.WebException\",\"Message\":\"Unable to connect to the remote server\",\"Data\":null,\"InnerException\":{\"NativeErrorCode\":10060,\"ClassName\":\"System.Net.Sockets.SocketException\",\"Message\":\"A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond\",\"Data\":null,\"InnerException\":null,\"HelpURL\":null,\"StackTraceString\":\" at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)\\r\\n at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)\\r\\n at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)\",\"RemoteStackTraceString\":null,\"RemoteStackIndex\":0,\"ExceptionMethod\":\"8\\nInternalEndConnect\\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\\nSystem.Net.Sockets.Socket\\nVoid InternalEndConnect(System.IAsyncResult)\",\"HResult\":-2147467259,\"Source\":\"System\",\"WatsonBuckets\":null},\"HelpURL\":null,\"StackTraceString\":\" at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)\\r\\n at RestSharp.Http.GetRawResponseAsync(IAsyncResult result, Action`1 callback)\\r\\n at RestSharp.Http.ResponseCallback(IAsyncResult result, Action`1 callback)\",\"RemoteStackTraceString\":null,\"RemoteStackIndex\":0,\"ExceptionMethod\":\"8\\nEndGetResponse\\nSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089\\nSystem.Net.HttpWebRequest\\nSystem.Net.WebResponse EndGetResponse(System.IAsyncResult)\",\"HResult\":-2146233079,\"Source\":\"System\",\"WatsonBuckets\":null},\"StatusCode\":0}", "correlationId":"23586d84-b3ce-474d-a0c6-356900469abd" }
 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.