Unable to connect to Bot

I am new to RPA express and have tried to record test cases, but when i try to play back i get an error " unable to connect to Bot
image

Hello @A201950

Could you please clarify your RPA Express version?
Also please share a screenshot of your Server Profile. Go to Window > Preferences > WorkFusion Studio > Server Profiles and make a screenshot like below:

Good day,

I am using the new version 2.3.5
Please see attachments

SERVER%20COMPONENTS

RPA Express PRO 2.3

@A201950 for some reason, the bots didn’t start (you have 0 bots in the Components tab). Make sure that the server profile is filled in as shown here https://kb.workfusion.com/display/RPAe/Preferences

Then restart RPA Express and the server components. Note that it can take some time for all server components to start, depending on the computer resources.

Also, how many bots did you select during the installation?

Hi @A201950 did you solve this issue?

Hi ,I have my Bot running but when i try to run a recording i get this error.

Do you know what might be the issue?

Please click on Details>> and share the error text here.

> Unable to connect with robot
>   com.workfusion.studio.rpa.recorder.player.driver.DriverInitializationException: Unable to connect with robot
>       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:127)
>       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
>       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:75)
>       at java.lang.Thread.run(Thread.java:745)
>   Caused by: org.openqa.selenium.WebDriverException: Unable to parse remote response: 
<!DOCTYPE html>
> <html lang="en">
> <head>
>   <meta charset="UTF-8">
>   <link rel="stylesheet" type="text/css" href="/assets/displayhelpservlet.css" media="all"/>
>   <link href="/assets/favicon.ico" rel="icon" type="image/x-icon" />
>   <script src="/assets/jquery-3.1.1.min.js" type="text/javascript"></script>
>   <script src="/assets/displayhelpservlet.js" type="text/javascript"></script>
>   <script type="text/javascript">
>     var json = Object.freeze('{"version":"9.3.1.0","type":"Grid Hub","consoleLink":"/grid/console"}');
>   </script>
> </head>
> <body>
> 
> <div id="content">
>   <div id="help-heading">
>     <h1><span id="logo"></span></h1>
>     <h2>Selenium <span class="se-type"></span>&nbsp;v.<span class="se-version"></span></h2>
>   </div>
> 
>   <div id="content-body">
>     <p>
>       Whoops! The URL specified routes to this help page.
>     </p>
>     <p>
>       For more information about Selenium <span class="se-type"></span> please see the
>       <a class="se-docs">docs</a> and/or visit the <a class="se-wiki">wiki</a>.
>       <span id="console-item">
>         Or perhaps you are looking for the Selenium <span class="se-type"></span> <a class="se-console">console</a>.
>       </span>
>     </p>
>     <p>
>       Happy Testing!
>     </p>
>   </div>
> 
>   <div>
>     <footer id="help-footer">
>       Selenium is made possible through the efforts of our open source community, contributions from
>       these <a href="https://github.com/SeleniumHQ/selenium/blob/master/AUTHORS">people</a>, and our
>       <a href="http://www.seleniumhq.org/sponsors/">sponsors</a>.
>    </footer>
>   </div>
>  </div>
> 
> </body>
> </html>
> Build info: version: '9.3.1.0', revision: 'ef4b445edf', time: '2019-05-29T11:53:16.301Z'
> System info: host: 'CIB407601', ip: '10.6.184.215', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_121'
> Driver info: driver.version: RpaUniversalDriver
>       at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:347)
>       at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:135)
>       at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
>       at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:741)
>       at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:265)
>       at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:247)
>       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:148)
>       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:185)
>       at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:39)
>       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:125)
>       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:64)
>       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:75)
>       at java.lang.Thread.run(Thread.java:745)

Do you use RPA Express?

Check the Bot Relay URL in the server profile. It should be http://localhost:15444/wd/hub

Thanks so much for you assistance. That seemed to fix it :slight_smile:

1 Like

Yes, the issue is resolved now, thank you

1 Like

@yasien_methYsz @A201950 glad I could help :slightly_smiling_face: