Hi, i have the next problem:
I have this RPA that, during his execution, sends a few emails using UiPath.Mail.SMTP.Activities.SendMail. The problem is that sometimes, for no apparent reason, the execution stops throwing this error:
Type exception:
System.Net.Sockets.SocketException
Exception message:
Impossibile stabilire la connessione. Risposta non corretta della parte connessa dopo l’intervallo di tempo oppure mancata risposta dall’host collegato
In english the exception message should be this:
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
I’m currently using UiPath Studio Community 2023.4.0, but this exception happened in the previous versions too.
This RPA is being executed by command line, so using a .bat and the command UIRobot.exe - file "\...json" --rdp
Since this exception happens randomly i don’t know how to replicate it using “Debug File” in UiPath Studio
Does anyone have any idea how to solve this problem?