I am trying to let a uipath robot run a python script by using the code below
However, after 1 hour the robot stops and gives the following error message:
RemoteException wrapping System.InvalidOperationException: Error loading Python script ---> RemoteException wrapping System.TimeoutException: This request operation sent to net.pipe://localhost/UiPath.Service/ Host_IPythonService_2536 did not receive a reply within the configured timeout (01:00:00). The time allotted to this operation may have been a portion of a longer timeout. This may be because the service is still processing the operation or because the service was unable to send a reply message. Please consider increasing the operation timeout (by casting the channel/proxy to IContextChannel and setting the OperationTimeout property) and ensure that the service is able to connect to the client.
I tried many different things, but without success. Does anyone knows a solution for this?