UiPath Workflow getting Stuck for 10 minutes

Workflow is getting stuck some times for approx. 10 minutes, after that is resumes, it is getting stuck after one particular point when we scrap terminal data.
in between workflow stuck if we open any Microsoft application then it is resuming or else it getting stuck for 10 minutes.
The workflow getting stuck once a while we are unable to identify issue.
we tried killing excel file also but it is not working.
Please help

3 Likes

Hi
Welcome to uipath community
10 mins is quite higher
Is it mins or seconds
If that is 10 seconds then it’s fine while scrapping data from the application as even the default waiting of the uipath activity is 30 seconds

Else if it’s still 10 mins then we need to check whether there is any loop used along the process or any delay activity used or is it scrapping large data from the application…kindly share those details if any

Cheers @RahulShitole

3 Likes

Hello @RahulShitole

Welcome to the community!!

Do agree with @Palaniyappan. It should not take that long unless there is a huge process running in the background or if there is a never ending kind of loop. Could you share the details of what is happening in the sections where it us taking a long time to execute?

3 Likes

terminal issue

1 Like

@Palaniyappan we are getting terminal timeout exception, in Dev this was occurring once in while but in prod its occurring frequently.
it is having issue with terminal response and we are not able to figure out which configured time out it is considering, as for terminal activity we have configured 10000 MS.

1 Like

Yeah there was an issue with Terminal connection waiting more than 10 minutes to continue. And it is happens in less frequently and hard to catch the issue.

We escalated to @loginerror in another thread as well. Waiting for his response.

1 Like

Hi @RahulShitole.

I have a few questions:

  1. Do you reuse terminal connections in the workflow (Close Connection parameter unchecked in Terminal Session)
  2. Do you see multiple UiPath.***.Host identical processes in Task Manager when the hang happens?
  3. Which terminal connection method do you use (EHLL API, Direct Provider, UiPath Internal)?
  4. Do you have an Excel Application Scope within a Terminal Session scope?
  5. which screen scrape method do you use? Get Screen Area/Get Text or Screen Scrape from the menu bar (which generates a Get Visible Text activity in the workflow)?
  6. Which Terminal Application do you automate? (IBM, Bluezone, Microfocus, something else) - i would try to replicate this.
  7. is it possible to share a terminal log with us? (From UiPath robot tray, view logs, the most recent Terminal.log.

Just trying to understand the context.

1 Like

Hi @cornel @Theepan @san.nagane
Answers for required questions are as follow:-
1.Do you reuse terminal connections in the workflow (Close Connection parameter unchecked in Terminal Session)
Answer:- No we are not reusing terminal connections in workflow ( Close Connection Parameter is Checked in terminal session)
2.Do you see multiple UiPath..Host identical processes in Task Manager when the hang happens?
Answer:- We did not see Multiple UiPath.
.Host processes.
3.Which terminal connection method do you use (EHLL API, Direct Provider, UiPath Internal)?
Answer:- We are using IBM EHLL API terminal connection method
4.Do you have an Excel Application Scope within a Terminal Session scope?
Answer:- No we are not using excel application scope Inside terminal connection session but we are dealing with Excel application scope and data tables before and after terminal session.
5.which screen scrape method do you use? Get Screen Area/Get Text or Screen Scrape from the menu bar (which generates a Get Visible Text activity in the workflow)?
Answer:- We are using Get Text screen scrap method.
6.Which Terminal Application do you automate? (IBM, Bluezone, Microfocus, something else) - i would try to replicate this.
Answer:- We are using IBM WebConnect Mainframe terminal
7.is it possible to share a terminal log with us? (From UiPath robot tray, view logs, the most recent Terminal.log
Answer:- It is not possible to share terminal logs as its in client environment.

Regards,
Rahul

1 Like

Hi Rahul,

Did you find any solution for the same, we are also facing the exact same issue.
I am not sure, why its getting stuck.

Can you please tell which version of terminal activities you are using.
Please suggest if you have any other inputs.

1 Like

@cornel Any solution found for this issue

1 Like

Terminal Connection should be initialized and existing connection string should be used throughout the project to avoid this issue.While connection establishment ,it is better not to have to have any terminal activities inside it.While re-using the connection,we can have all terminal activities to avoid issue in terminal closure/avoid UiPath stuck for 10minutes.

2 Likes