跳转到主内容

无法连接到OnCommand API服务器

Views:
3
Visibility:
Public
Votes:
0
Category:
oncommand-api-services-api-s<a>2009-180312</a>
Specialty:
om
Last Updated:

适用场景

OnCommand API服务2.x

问题描述

无法从一台客户Windows计算机连接到OnCommand API服务器。

尝试使用URL访问API时观察到以下错误: 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.