Hi there!
I am not new to RPA, but am relatively new to Power Automate Desktop (3-4 months). What I'm trying to do is get the PAD-CyberArk integration working. However, I am receiving the following error. Why would PAD be attempting to access the CyberArk safe through port 80 when I'm making the API call via https?
Additionally, I am able to execute the following PowerShell command and successfully connect via 443. So if PAD would invoke through 443 I think all would be good.
PS H:\> tnc -computername ip -port 80
WARNING: TCP connect to (ip : 80) failed
ComputerName : ip
RemoteAddress : ip
RemotePort : 80
InterfaceAlias : Ethernet0 2
SourceAddress :ip
PingSucceeded : True
PingReplyDetails (RTT) : 0 ms
TcpTestSucceeded : False
PS H:\> tnc -computername ip -port 443
ComputerName : ip
RemoteAddress : ip
RemotePort : 443
InterfaceAlias : Ethernet0 2
SourceAddress : ip
TcpTestSucceeded : True
Has anyone ever experienced anything like this? Please advise. Thank you!
Robin.Core.ActionException: Failed to get results from the web request https://***/AIMWebService/api/Accounts?AppId=***&Query=Safe=***;Folder=Root;Object=*** ---> System.AggregateException: One or more errors occurred. ---> 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 ip_address:80
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 ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Robin.Modules.CyberArk.Actions.CyberArkUtilities.<SendWebRequest>d__2.MoveNext()
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at Robin.Shared.Runtime.Utilities.Clock[T](Int64 maxMillisecondsToWait, Int32 step, Func`1 action, Func`2 successCondition)
at Robin.Modules.CyberArk.Actions.CyberArkActions.SendWebRequestToCyberArk(Variant baseUri, Variant applicationId, Variant safe, Variant folder, Variant objectName, Variant extraData, Variant certificateFilePath, Variant timeout, Variant& response, Variant& password, String realCertificatePath, Boolean useOnlyValidCertificates, Int32 loadCertificateFrom, String certificateFilePassword, Boolean acceptUntrustedCertificates)
--- End of inner exception stack trace ---
at Robin.Modules.CyberArk.Actions.GetPasswordBase.Execute(ActionContext context)
at Robin.Runtime.Engine.ActionRunner.RunAction(String action, Dictionary`2 inputArguments, Dictionary`2 outputArguments, IActionStatement statement)