Execution Error: Unable to connect with robot

issues

#1

Hello everyone,

when trying to run the robot (Play recording), I get the following error message:

    > 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:121)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
    >       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
    >       at java.lang.Thread.run(Unknown Source)
    >   Caused by: org.openqa.selenium.remote.UnreachableBrowserException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
    > Build info: version: '8.4.4', revision: 'e73f2bf5fc565c545ea6913c92cce4c1a2b8f871', time: '2017-12-04 13:17:22'
    > System info: host: 'LCE20432', ip: '10.130.26.32', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '1.8.0_74'
    > Driver info: driver.version: RpaUniversalDriver
    >       at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:633)
    >       at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:121)
    >       at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:119)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
    >       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
    >       at java.lang.Thread.run(Unknown Source)
    >   Caused by: org.apache.http.conn.HttpHostConnectException: Connect to localhost:15444 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused: connect
    >       at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:151)
    >       at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    >       at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    >       at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    >       at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    >       at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    >       at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    >       at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    >       at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    >       at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    >       at org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)
    >       at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)
    >       at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
    >       at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:612)
    >       at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:121)
    >       at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:119)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
    >       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
    >       at java.lang.Thread.run(Unknown Source)
    >   Caused by: java.net.ConnectException: Connection refused: connect
    >       at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)
    >       at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
    >       at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
    >       at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
    >       at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
    >       at java.net.PlainSocketImpl.connect(Unknown Source)
    >       at java.net.SocksSocketImpl.connect(Unknown Source)
    >       at java.net.Socket.connect(Unknown Source)
    >       at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74)
    >       at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:134)
    >       at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353)
    >       at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380)
    >       at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
    >       at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184)
    >       at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88)
    >       at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
    >       at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    >       at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71)
    >       at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55)
    >       at org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:144)
    >       at org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:90)
    >       at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:142)
    >       at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:612)
    >       at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:212)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:94)
    >       at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:121)
    >       at com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper.<init>(RemoteDriverWrapper.java:44)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.connect(RpaUniversalDriver.java:119)
    >       at com.workfusion.studio.rpa.recorder.player.driver.RpaUniversalDriver.initialize(RpaUniversalDriver.java:49)
    >       at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:76)
    >       at java.lang.Thread.run(Unknown Source)

Does anyone know how to solve this issue?

Thank you very much in advance! :slight_smile:


#2

Did you check that the Bot Manager is up and running?


#3

When I choose “Bot Manager” in the menu on the right side it gives me initially the message “starting” and then it always turns into red written “not started” (please see the picture)

.
Am I doing something wrong?
Thank you very much for your support.


#4

Hi Aleksandra,
Does your computer meet the system requirements?
Try restarting RPA Express. Don’t start Control Tower and OCR (they are disabled by default). Does the bot manager start in this case?


#5

Hello aleksandra,

Did your machine got network access something like LAN or WiFi. If not please follow the steps given here.
https://kb.workfusion.com/display/RPAe/Troubleshooting#expand-BotManagercannotbestarted

Thanks,
Kishore


#6

@aleksandra_pMD
Hi Aleksandra, did you have a chance to do the steps @kmkumar1 proposed?


#7

Hello and thank you very much for you answers both of you! I have realized that my laptop is not fulfilling the system requirements needed to run the program.