Robotic Process Automation (RPA)

 View Only
  • 1.  Browser Chrome Failed on RPA v21.0.3

    Posted Fri September 09, 2022 11:22 PM
    Edited by Janis Giovani Tan Fri September 09, 2022 11:26 PM

    Hi,  recently upgrade IBM RPA to v21.0.3 on Premises, on Windows Server 2019 Standard
    However there is an intermittent error while running the script on RPA studio, attended, and unattended bot. The error seems related with the broswer itself, the chrome version is 98.0.4758.102

    FYI, the computer does have internet access.

    There are a few things that has been configured as suggested:

    1. Manual Install WebDriver, referring to the guideline https://www.ibm.com/docs/en/rpa/21.0?topic=tutorials-running-bot-in-environment-without-internet-access

    2. Add chrome driver C:\Windows\System32\config\systemprofile\AppData\Local\WDG Automation\packages\21.0.3.0

    3. Add chrome driver to C:\Users\<user>\AppData\Local\IBM Robotic Process Automation\packages\21.0.3.0

    However the error seems to still hapening.  Please find the error message below:

    [9/10/2022 10:36:01 AM] [19] [ERROR] - The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds.
    [9/10/2022 10:36:01 AM] [18] [ERROR] - Runtime return error: OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
    at System.Net.HttpWebRequest.GetResponse()
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    --- End of inner exception stack trace ---
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
    at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
    at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
    at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    [9/10/2022 10:35:57 AM] [17] [ERROR] - Error executing script
    [9/10/2022 10:35:57 AM] [16] [ERROR] - Error executing script
    [9/10/2022 10:35:57 AM] [15] [ERROR] - WDG.Automation.Language.RuntimeException: Error executing command at line 122: webNavigate --url "${powerBiURL}" ---> OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
    at System.Net.HttpWebRequest.GetResponse()
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    --- End of inner exception stack trace ---
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
    at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
    at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
    at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of inner exception stack trace ---
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WDG.Automation.Language.ScriptInterpreter.<<RunAsync>b__16_0>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WDG.AsyncHelper.<>c__DisplayClass5_0.<<StartSTASingleThreaded>b__1>d.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WDG.AsyncHelper.RunSingleThreaded(Func`1 action)
    at WDG.AsyncHelper.<>c__DisplayClass4_0.<Start>b__0()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WDG.Automation.Language.ScriptInterpreter.<RunAsync>d__16.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
    at WDG.Automation.Base.ExecuteScriptCommand.<Execute>d__29.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    ---> (Inner Exception #0) OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
    at System.Net.HttpWebRequest.GetResponse()
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    --- End of inner exception stack trace ---
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
    at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
    at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
    at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()<---

    [9/10/2022 10:35:28 AM] [14] [ERROR] - Error executing script
    [9/10/2022 10:35:28 AM] [13] [ERROR] - OpenQA.Selenium.WebDriverException: The HTTP request to the remote WebDriver server for URL http://localhost:58989/session/e893a39be2816d6be3fdfe5b7ebd5a77/url timed out after 60 seconds. ---> System.Net.WebException: The request was aborted: The operation has timed out.
    at System.Net.HttpWebRequest.GetResponse()
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    --- End of inner exception stack trace ---
    at OpenQA.Selenium.Remote.HttpCommandExecutor.MakeHttpRequest(HttpRequestInfo requestInfo)
    at OpenQA.Selenium.Remote.HttpCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.DriverServiceCommandExecutor.Execute(Command commandToExecute)
    at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String driverCommandToExecute, Dictionary`2 parameters)
    at WDG.Automation.Browser.SeleniumBrowser.Navigate(String url)
    at WDG.Automation.Browser.BrowserInstance.<>c__DisplayClass36_0.<Navigate>b__0()
    at WDG.Automation.Browser.BrowserInstance.HandleStaleElement(Action action, Single timeout)
    at WDG.Automation.Browser.WebNavigateCommand.Execute(BrowserContext context)
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.CommandInterpreter.<Run>d__12.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
    at WDG.Automation.Language.ScriptInterpreter.<RunCore>d__17.MoveNext()


    ------------------------------
    Janis Giovani Tan
    ------------------------------


  • 2.  RE: Browser Chrome Failed on RPA v21.0.3

    Posted Tue September 20, 2022 11:29 AM