Cannot forward the request Address already in use: connect

While running a Business Process task that I created in RPA Express I inconsistently receive the below error on various steps during the bot task, and I cannot seem to nail down a root cause. Does anyone have any advice as to what I can take a look at in order to prevent this Driver exception? Do I need to update something?

Exception:
org.webharvest.exception.PluginException: [urn:uuid:7BC0A1CDDDD491B6D31535121232472174] robotics-flow executePlugin exception: [nodeId=http://127.0.0.1:15410] org.webharvest.exception.ScriptException:
Config line 10: script block
org.openqa.selenium.WebDriverException: cannot forward the request Address already in use: connect
Command duration or timeout: 0 milliseconds
Build info: version: ‘9.0.0.4’, revision: ‘e6e278acd9’, time: ‘2018-06-19T14:40:11.651Z’
System info: host: ‘HOSTNAME’, ip: ‘IPADDRESS’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_121’
Driver info: com.freedomoss.crowdcontrol.webharvest.selenium.wrapper.RemoteDriverWrapper
Capabilities [{capabilityNodeId=http://127.0.0.1:15410, extra.executor.id={run.name=Business Process 08/24/2018 14:32:50, task.uuid=a7d554ad-e0a0-4142-9000-86161a47474c, task.name=sadfadsf, context.path=/workfusion, host.name=http://localhost:15280, run.author.email=EMAILADDRESS, run.uuid=a7d554ad-e0a0-4142-9000-86161a47474c, run.author.fullname=John Doe}, CLOSE_ALL_WINDOWS=false, browserName=universal, maximize.on.startup=true, javascriptEnabled=true, extra.capabilities.context={“browserType”:“universal”,“startInPrivate”:false,“blockImages”:false,“nodeId”:“http://127.0.0.1:15410”,“maximizeOnStartup”:true,“customCapabilities”:{“CLOSE_ALL_WINDOWS”:“false”,“SEARCH_ALL_WINDOWS”:“true”},“executorId”:{“host.name”:“http://localhost:15280”,“context.path”:"/workfusion",“task.uuid”:“a7d554ad-e0a0-4142-9000-86161a47474c”,“run.name”:“Business Process 08/24/2018 14:32:50”,“run.uuid”:“a7d554ad-e0a0-4142-9000-86161a47474c”,“run.author.fullname”:“John Doe”,“run.author.email”:“EMAILADDRESS”,“task.name”:“sadfadsf”}}, platformName=WINDOWS, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: 2f5b688b-14b6-4d5f-b7a1-3a7c09c816be
at com.freedomoss.crowdcontrol.webharvest.plugin.selenium.RoboticsFlowPlugin.executePlugin(RoboticsFlowPlugin.java:116)
at org.webharvest.runtime.processors.WebHarvestPlugin.execute(WebHarvestPlugin.java:125)
at org.webharvest.runtime.processors.BaseProcessor.run(BaseProcessor.java:127)
at org.webharvest.runtime.Scraper.execute(Scraper.java:169)
at org.webharvest.runtime.Scraper.execute(Scraper.java:182)
at com.freedomoss.crowdcontrol.webharvest.executor.LocalWebharvestTaskExecutor.executeWebHarvestTask(LocalWebharvestTaskExecutor.java:187)
at com.freedomoss.crowdcontrol.webharvest.executor.LocalWebharvestTaskExecutor.executeWebHarvestTask(LocalWebharvestTaskExecutor.java:97)
at com.workfusion.service.machine.BotRecordExecutionService.process(BotRecordExecutionService.java:168)
at com.workfusion.service.machine.BotRecordExecutionService.process(BotRecordExecutionService.java:139)
at com.workfusion.service.machine.BotRecordExecutionService.processSubmissionWithAllocationLogger(BotRecordExecutionService.java:118)
at com.workfusion.service.machine.BotRecordExecutionService.lambda$processRecord$0(BotRecordExecutionService.java:97)
at com.workfusion.utils.thread.NamedThreadTemplate.executeWithNamedThread(NamedThreadTemplate.java:10)
at com.workfusion.service.machine.BotRecordExecutionService.processRecord(BotRecordExecutionService.java:97)
at com.workfusion.service.machine.thread.RecordProcessThread.run(RecordProcessThread.java:28)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
[…]
Caused by: org.openqa.grid.common.exception.GridException: cannot forward the request Address already in use: connect
at org.openqa.grid.web.servlet.handler.RequestHandler.process(RequestHandler.java:135)
at org.openqa.grid.web.servlet.DriverServlet.process(DriverServlet.java:84)
at org.openqa.grid.web.servlet.DriverServlet.doPost(DriverServlet.java:68)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.seleniumhq.jetty9.servlet.ServletHolder.handle(ServletHolder.java:841)
at org.seleniumhq.jetty9.servlet.ServletHandler.doHandle(ServletHandler.java:535)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.session.SessionHandler.doHandle(SessionHandler.java:1595)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:188)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doHandle(ContextHandler.java:1253)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:168)
at org.seleniumhq.jetty9.servlet.ServletHandler.doScope(ServletHandler.java:473)
at org.seleniumhq.jetty9.server.session.SessionHandler.doScope(SessionHandler.java:1564)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.nextScope(ScopedHandler.java:166)
at org.seleniumhq.jetty9.server.handler.ContextHandler.doScope(ContextHandler.java:1155)
at org.seleniumhq.jetty9.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.seleniumhq.jetty9.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132)
at org.seleniumhq.jetty9.server.Server.handle(Server.java:564)
at org.seleniumhq.jetty9.server.HttpChannel.handle(HttpChannel.java:317)
at org.seleniumhq.jetty9.server.HttpConnection.onFillable(HttpConnection.java:251)
at org.seleniumhq.jetty9.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:279)
at org.seleniumhq.jetty9.io.FillInterest.fillable(FillInterest.java:110)
at org.seleniumhq.jetty9.io.ChannelEndPoint$2.run(ChannelEndPoint.java:124)
at org.seleniumhq.jetty9.util.thread.Invocable.invokePreferred(Invocable.java:128)
at org.seleniumhq.jetty9.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.seleniumhq.jetty9.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:672)
at org.seleniumhq.jetty9.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:590)
… 1 more

Hi @andrew_krygoski, could you please send hub and node logs? They are located in C:\RPAExpress\RPA\logs.

Thank you.

Hi @andrew_krygoski, could you please send RPA logs if you still have this issue? It will help understand what causes it.

Hello @ashapkina! Apologies for the delay in response, I was out of the office the past week.

It appears that there is a 1000kb limit on uploading files here and the rpa-node[…] and rpa-hub[…] logs are 41000kb and 2000kb respectively; am I able to send you the logs some other way?

@andrew_krygoski can you run the recording again to have this issue and attach the latest node log file? It should be named rpa-node0-2018-09-05.0.

@ashapkina I have the file. The issue is that it is too big to upload as an attachment here. Is there another way to get it to you?

@andrew_krygoski ok, maybe we will not need them. Please check is port 15410 is free first:

  1. Run in cmd: netstat -aon | findstr 15410
  2. get pid of process
  3. run in cmd: tasklist /FI “PID eq 13960” (insert the correct PID that you get in the previous step)

See process name which is using that port.
Please post the screenshot with the result here.

Hi @andrew_krygoski did you have a chance to check the port availability?