Hello guys,
I have an attended automation where it should open the pip session and do the process. It was working fine for some users but in one of the machine we are getting error. “Could not start executor. StartProcessInSession timed out.
RemoteException wrapping System.Exception: Could not start executor. StartProcessInSession timed out.”
I tried adding UiPath_SESSION_TIMEOUT under System variables but still it is taking default 60sec.
Do you have any suggestions?
When this happened to me, the robot was executing in a remote server and the problem was that the server was having problems. Either way try some of these steps and see if it works:
- Verify Environment and Configuration:
- Ensure that the target machine where the process is running has the UiPath Robot service installed and running.
- Double-check that UiPath is properly configured on the machine, including the correct Robot settings and licensing.
- Session Timeout:
- You mentioned setting
UiPath_SESSION_TIMEOUT
as a system variable, but it didn’t take effect. Ensure that you have correctly set the environment variable with the desired timeout value, and then restart the machine to apply the changes.
- UiPath Version Compatibility:
- Ensure that the version of UiPath Robot you are using on the machine is compatible with the version of UiPath Studio that was used to create the automation. Mismatched versions can sometimes lead to compatibility issues.
- User Permissions:
- Confirm that the user running the automation has the necessary permissions to execute the automation, access the required resources, and start processes in the remote session.
- Network and Firewall:
- Check for any network issues or firewall restrictions that might be preventing communication between the machine where the process is being executed and any required resources or services.
- Session Disconnect Handling:
- Implement error-handling mechanisms in your automation to gracefully handle session disconnects or timeouts. For example, you can use try-catch blocks to catch exceptions and attempt to reconnect or retry the process.
- Debugging and Logging:
- Enable detailed logging in your automation to capture more information about the issue. Logs can often provide insights into what went wrong.
Cheers! 
Thank you Rodrigo for the quick response.
I am trying to increase UiPath_SESSION_TIMEOUT to 180 but it is still taking 60sec.