Open URL Action error

open-website

#1

I am having error on open url action of open website.

Anyone encounter the same error?

Below is screenshot of error

Error executing OpenURLAction
  com.workfusion.studio.rpa.recorder.model.playback.PlaybackException: Error executing TemplateAction[templateName=OpenURLAction.ftl,id=1,name=Optional[OpenURLAction],parent=-1,arguments=ActionArguments[delay=[0],xsi:type=[recorder:OpenURLAction, recorder:OpenURLAction],pollingInterval=[300],waitTimeout=[10000],active=[true],actionDetails=[(http://yahoo.com)],url=[http://yahoo.com],openUrlType=[FROM_URL],awaitTimeout=[5000]]]
      at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:54)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
      at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
      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: 45.88 seconds
Build info: version: '8.5.0-SNAPSHOT', revision: '62044e42df67a8929b97fc00b39c4675384bf699', time: '2017-10-24 12:03:40'
System info: host: 'BeepoPC0144', ip: '192.168.211.176', 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=9c7b944b-b3d4-4c61-891c-a8df02c71fb2, CLOSE_ALL_WINDOWS=false, browserName=universal, takesScreenshot=true, javascriptEnabled=true, SEARCH_ALL_WINDOWS=true, platform=WINDOWS}]
Session ID: 9c7b944b-b3d4-4c61-891c-a8df02c71fb2
      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.rpa.helpers.RPA$openFirefox$1.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:3)
      at com.workfusion.studio.rpa.recorder.model.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:34)
      at com.workfusion.studio.rpa.recorder.model.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:32)
      at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
      at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
      at java.lang.Thread.run(Thread.java:745)
  Caused by: org.openqa.selenium.remote.ScreenshotException: Screen shot has been taken
Build info: version: '8.5.0-SNAPSHOT', revision: '62044e42df67a8929b97fc00b39c4675384bf699', time: '2017-10-24 12:03:40'
System info: host: 'BeepoPC0144', ip: '192.168.211.176', 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:441)
      at com.workfusion.rpa.helpers.RPA$openFirefox$1.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:3)
      at com.workfusion.studio.rpa.recorder.model.playback.shell.GroovyShellWrapper.executeScript(GroovyShellWrapper.java:34)
      at com.workfusion.studio.rpa.recorder.model.playback.player.PlaybackContext.executeScript(PlaybackContext.java:65)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.executeBehavior(TemplateAction.java:32)
      at com.workfusion.studio.rpa.recorder.model.playback.flow.StandardControlFlow.execute(StandardControlFlow.java:46)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:27)
      at com.workfusion.studio.rpa.recorder.model.playback.action.template.TemplateAction.execute(TemplateAction.java:14)
      at com.workfusion.studio.rpa.recorder.model.playback.player.ActionPlayer.next(ActionPlayer.java:51)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.playNextAction(PlaybackLogic.java:147)
      at com.workfusion.studio.rpa.recorder.player.PlaybackLogic.run(PlaybackLogic.java:108)
      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.5.0-SNAPSHOT', revision: '62044e42df67a8929b97fc00b39c4675384bf699', time: '2017-10-24 12:03:40'
System info: host: 'BeepoPC0144', ip: '192.168.211.176', 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.<init>(RemoteWebDriver.java:82)
      at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:216)
      at org.openqa.selenium.firefox.FirefoxDriver.<init>(FirefoxDriver.java:211)
      at org.openqa.selenium.firefox.FirefoxDriver.<init>(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)

#2

@rolando_evaris,

It’s a known problem with Yahoo and other websites that load a lot of scripts and media content dynamically.

There are a couple of solutions:

  • increase the Wait up to parameter (e.g. 10000 )
  • or put the Open Website inside the Error Handling block

#3

Hi @azinchuk thanks for your reply,

Did try to put wait up parameter but no luck. Tried using other domain like my own domain that has coming soon only still them same error.


#4

Just an update.

Here’s the list that I already did:

  1. create a single action of open url on a recording
  2. open url site with a static landing page (Yes i did a simple page for this test)
  3. try to load google and yahoo
  4. check previous recordings

above lists are not working even previous recording that worked now they are not functioning.

So my last resort is uninstall and install again. though this is not the best solution but it resolves the issue.