SeleniumHQ / selenium-google-code-issue-archive

Archive, please see main selenium repo
https://github.com/seleniumhq/selenium
345 stars 195 forks source link

ERROR: There is no registered session with ID '991c9385d0a9412995a4fec6011d794f'. Either it timed out or you already closed it #5070

Closed lukeis closed 8 years ago

lukeis commented 8 years ago

Originally reported on Google Code with ID 5070

we are Facing the issue while running the Test case.

1. Step to run Selenium Grid-Hub :

nohup java -cp /opt/rtview/testautomation/application/testserver/selenium-grid-1.0.8/lib/selenium-grid-hub-standalone-1.0.8.jar
com.thoughtworks.selenium.grid.hub.HubServer &

2. Step to Register remote control.

we are using the following  ant build.xml to register RC.

Sample node config:
-------------------------------------------------------------------
<java classpathref="remote-control.classpath"
              classname="com.thoughtworks.selenium.grid.remotecontrol.SelfRegisteringRemoteControlLauncher"
              fork="true"
              spawn="true">

          <arg value="-port"/>
          <arg value="${selenium.grid.port.remotecontrol1}"/>
          <arg value="-host"/>
          <arg value="${selenium.grid.host.connectinghost}"/>
          <arg value="-hubURL"/>
          <arg value="http://${selenium.grid.host}:${selenium.grid.port}"/>
          <arg value="-env"/>
          <arg value="${selenium.grid.environment.remotecontrol1}"/>
          <arg line="-firefoxProfileTemplate ${selenium.firefoxprofiletemplate.dir.path}
-userExtensions ${selenium.userextensions}"/>
        </java>
        <echo>GRID HOST - ${selenium.grid.host}</echo>
        <echo>GRID PORT - ${selenium.grid.port}</echo>
        <echo>GRID REMOTE CONTROL ENVIRONMENT - ${selenium.grid.environment.remotecontrol1}</echo>

-----------------------------------------------------------------

Selenium Grid Hub version: selenium-grid-hub-standalone-1.0.8.jar 
OS: Unix , RC running on : Windows
Browser: FF
Browser version: FF 3.6.18

when we run a test suite (suite contains multiple test case) some times we are getting
the below Error:

we are getting this ERROR only while executing the Close All Browsers Keyword.

--------------------------------------------------------------------------
-KEYWORD: SeleniumLibrary.Close All Browsers  
Documentation: Closes all open browsers and empties the connection cache. 
Start / End / Elapsed: 20130123 21:02:08.016 / 20130123 21:02:08.154 / 00:00:00.138

21:02:08.153 FAIL ERROR: There is no registered session with ID '991c9385d0a9412995a4fec6011d794f'.
 Either it timed out or you already closed it. 

-----------------------------------------------------------------------

Kindly help us to resolve this issue.

Thanks is advance.

- Karthik

Reported by bskarthick on 2013-01-24 18:32:01

lukeis commented 8 years ago
selenium-grid-1.0.8 is not supported. Please upgrade to Grig2 (latest is selenium 2.29)

Reported by barancev on 2013-01-24 18:48:08

lukeis commented 8 years ago
is the above reported issue fixed in Selenium 2.29??

Reported by bskarthick on 2013-01-24 19:04:08

lukeis commented 8 years ago
Grid2 was rewritten from scratch, it is a completely different implementation and it
is illegal to tell about "inheriting bugs".

Reported by barancev on 2013-01-25 09:03:13

lukeis commented 8 years ago

Reported by luke.semerau on 2015-09-17 18:16:38