Question
TCS
IN
Last activity: 21 Sep 2020 11:44 EDT
Error Connecting to Server while connecting Pega to Robotic studio
We are using RPA 19.1 and trying to connect PEGA 8.4 server (Enterprise Edition). Getting "Error Connecting to Server" after clicking Get Case Information.
We are using RPA 19.1 and trying to connect PEGA 8.4 server (Enterprise Edition). Getting "Error Connecting to Server" after clicking Get Case Information.
1) Exception Information
*********************************************
Exception Type: System.AggregateException
InnerExceptions: ICollection (System.Collections.ObjectModel.ReadOnlyCollection`1[System.Exception]) with 1 items
System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it Proprietary information hidden:8080
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
Message: "One or more errors occurred."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void ThrowIfExceptional(Boolean)
HelpLink: NULL
Source: "mscorlib"
HResult: -2146233088
StackTrace Information
*********************************************
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at OpenSpan.Interactions.Robotics.NetworkHelper.ProcessCall(HttpClient client, String url, StringContent content, HttpResponseMessage response, String methodName)
at OpenSpan.Interactions.Robotics.RoboticsApiHelper.GetFields(String className, List`1& fields, String& error)
2) Exception Information
*********************************************
Exception Type: System.Net.Http.HttpRequestException
Message: "An error occurred while sending the request."
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: NULL
HelpLink: NULL
Source: NULL
HResult: -2146233088
3) Exception Information
*********************************************
Exception Type: System.Net.WebException
Status: ConnectFailure
Response: NULL
Message: "Unable to connect to the remote server"
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: System.Net.WebResponse EndGetResponse(System.IAsyncResult)
HelpLink: NULL
Source: "System"
HResult: -2146233079
StackTrace Information
*********************************************
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.Http.HttpClientHandler.GetResponseCallback(IAsyncResult ar)
4) Exception Information
*********************************************
Exception Type: System.Net.Sockets.SocketException
ErrorCode: 10061
Message: "No connection could be made because the target machine actively refused it Proprietary information hidden:8080"
SocketErrorCode: ConnectionRefused
NativeErrorCode: 10061
Data: IDictionary (System.Collections.ListDictionaryInternal) with 0 items
TargetSite: Void InternalEndConnect(System.IAsyncResult)
HelpLink: NULL
Source: "System"
HResult: -2147467259
Any idea how to fix this?