RPA not opening Firefox

Hello! I’m doing the basics, but RPA is not opening a browser anymore (until yesterday, it was working properly)…

This is the job: just trying to open a website.

And this is the error, after some seconds:

The address field in the browser keeps untouched.

The message in the “details” button:

Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

Command duration or timeout: 46.64 seconds
Build info: version: ‘8.5.0-SNAPSHOT’, revision: ‘unknown’, time: ‘2017-08-01 09:01:44’
System info: host: ‘brsao006052’, ip: ‘10.192.30.177’, 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 [{imageSimilarityThreshold=0.8, webdriver.remote.sessionid=c840270b-97b7-467b-9dcd-48cd02046f06, CLOSE_ALL_WINDOWS=false, browserName=universal, takesScreenshot=true, javascriptEnabled=true, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: c840270b-97b7-467b-9dcd-48cd02046f06
org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

Command duration or timeout: 46.64 seconds
Build info: version: ‘8.5.0-SNAPSHOT’, revision: ‘unknown’, time: ‘2017-08-01 09:01:44’
System info: host: ‘brsao006052’, ip: ‘10.192.30.177’, 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 [{imageSimilarityThreshold=0.8, webdriver.remote.sessionid=c840270b-97b7-467b-9dcd-48cd02046f06, CLOSE_ALL_WINDOWS=false, browserName=universal, takesScreenshot=true, javascriptEnabled=true, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: c840270b-97b7-467b-9dcd-48cd02046f06
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:284)
at com.workfusion.rpa.helpers.RPA.openFirefox(RPA.java:441)
at com.workfusion.studio.rpa.recorder.model.action.web.OpenURLInFirefoxAction.openUrl(OpenURLInFirefoxAction.java:21)
at com.workfusion.studio.rpa.recorder.model.action.web.AbstractOpenURLAction.executeAction(AbstractOpenURLAction.java:33)
at com.workfusion.studio.rpa.recorder.model.action.ActionWithDelay.execute(ActionWithDelay.java:27)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.execute(ActionFlowPlayer.java:317)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.processAction(ActionFlowPlayer.java:256)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.lambda$1(ActionFlowPlayer.java:120)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at com.workfusion.studio.rpa.recorder.processor.ActionFlowPlayer.lambda$0(ActionFlowPlayer.java:120)
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)

I had the same issue. I uninstalled WorkFusion RPA Express and then reinstalled it. It solved the issue. I got the same error message while I was running with Firefox because the portable firefox packaged with the RPA Express got upgraded to Firefox Quantum which did not work correctly with the packaged Selenium jars. Hence, the selenium.WebDriverException occurred.

2 Likes

Hi @ankit_kumarUbp. I got it. It’s odd because when I go to the Firefox folder inside the RPA, I can run it, with no issues. No messages etc.

But, I got your point. I’ll try to do that.

I’m trying to use IE instead.

Thanks a lot!

One additional comment: Firefox will be updated always. Does it mean that we might uninstall and re-install RPA all the time?

@trajano_leme
By default, automatic updates are disabled in the Firefox Portable version that we provide with RPA Express.
Please check if Firefox works with RPAx 1.1.9. And if this error still occurs please send us the logs - we’ll have a look.

You have marked this answer as a solution. But it is not. Using IE is a workaround and not a solution.

Hi,

I am also facing same problem. Unable to open browser using Firefox portable.

Error executing OpenURLAction
com.workfusion.studio.rpa.recorder.playback.PlaybackException: Error executing TemplateAction[templateName=OpenURLAction.ftl,id=1,name=Optional[OpenURLAction],parent=-1,children=[2, 3, 4, 5],arguments=ActionArguments[delay=[0],xsi:type=[recorder:OpenURLAction, recorder:OpenURLAction],waitTimeout=[10000],pollingInterval=[300],active=[true],actionDetails=[(http://www.birchworldwide.com/XerEndUserCashBackUAT/birchlogin.asp)],url=[http://www.birchworldwide.com/XerEndUserCashBackUAT/birchlogin.asp],awaitTimeout=[5000]]]
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.WebDriverException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

Command duration or timeout: 46.17 seconds
Build info: version: ‘8.4.5’, revision: ‘f4260441345d31500d1587ee0abfdfcd20e3a66a’, time: '2017-12-18 09:30:31’
System info: host: ‘Narendra-win10’, ip: ‘172.16.10.110’, 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 [{imageSimilarityThreshold=0.8, webdriver.remote.sessionid=fcac1155-882e-4083-962e-f96007ed3368, CLOSE_ALL_WINDOWS=false, browserName=universal, takesScreenshot=true, javascriptEnabled=true, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: fcac1155-882e-4083-962e-f96007ed3368
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:284)
at com.workfusion.rpa.helpers.RPA.openFirefox(RPA.java:459)
at com.workfusion.rpa.helpers.RPA$openFirefox$2.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:206)
at Script2.run(Script2.groovy:5)
at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:90)
at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:35)
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: ‘8.4.5’, revision: ‘f4260441345d31500d1587ee0abfdfcd20e3a66a’, time: '2017-12-18 09:30:31’
System info: host: ‘Narendra-win10’, ip: ‘172.16.10.110’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: '1.8.0_121’
Driver info: driver.version: RemoteWebDriver
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:138)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:646)
at org.openqa.selenium.remote.RemoteWebDriver.get(RemoteWebDriver.java:284)
at com.workfusion.rpa.helpers.RPA.openFirefox(RPA.java:459)
at com.workfusion.rpa.helpers.RPA$openFirefox$2.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:206)
at Script2.run(Script2.groovy:5)
at com.workfusion.studio.rpa.recorder.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:90)
at com.workfusion.studio.rpa.recorder.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:35)
at com.workfusion.studio.rpa.recorder.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:30)
at com.workfusion.studio.rpa.recorder.playback.action.template.TemplateAction.execute(TemplateAction.java:17)
at com.workfusion.studio.rpa.recorder.playback.player.ActionPlayer.next(ActionPlayer.java:53)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:153)
at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:113)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.openqa.selenium.remote.ErrorHandler$UnknownServerException: Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms. Firefox console output:

Build info: version: ‘8.4.5’, revision: ‘f4260441345d31500d1587ee0abfdfcd20e3a66a’, time: '2017-12-18 09:30:31’
System info: host: ‘Narendra-win10’, ip: ‘172.16.10.110’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: '1.8.0_121’
Driver info: driver.version: EventFiringWebDriver
at org.openqa.selenium.firefox.internal.NewProfileExtensionConnection.start(NewProfileExtensionConnection.java:113)
at org.openqa.selenium.firefox.FirefoxDriver.startClient(FirefoxDriver.java:271)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:82)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:216)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:211)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:128)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.server.FirefoxDriverProvider.callConstructor(FirefoxDriverProvider.java:91)
at org.openqa.selenium.remote.server.FirefoxDriverProvider.newInstance(FirefoxDriverProvider.java:68)
at com.workfusion.universal.factory.UniversalDriverFactory.instantiateWebDriver(UniversalDriverFactory.java:51)
at com.workfusion.universal.factory.UniversalDriverFactory.createWebDriver(UniversalDriverFactory.java:42)
at com.workfusion.universal.state.UniversalDriverState.lambda$createWebDriverIfNotExists$13(UniversalDriverState.java:92)
at java.util.HashMap.computeIfAbsent(HashMap.java:1126)
at com.workfusion.universal.state.UniversalDriverState.createWebDriverIfNotExists(UniversalDriverState.java:92)
at com.workfusion.universal.driver.UniversalDriver.get(UniversalDriver.java:44)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.openqa.selenium.support.events.EventFiringWebDriver$2.invoke(EventFiringWebDriver.java:81)
at com.sun.proxy.$Proxy3.get(Unknown Source)
at org.openqa.selenium.support.events.EventFiringWebDriver.get(EventFiringWebDriver.java:148)
at org.openqa.selenium.remote.server.handler.GetBrowser.call(GetBrowser.java:43)
at org.openqa.selenium.remote.server.handler.GetBrowser.call(GetBrowser.java:25)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at org.openqa.selenium.remote.server.DefaultSession$1.run(DefaultSession.java:176)
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)