Selenium Node will register to the grid, but not run any tests?

151 views
Skip to first unread message

Travis Needham

unread,
Apr 16, 2016, 6:06:32 AM4/16/16
to Selenium Users

I am running a Selenium GRID on one of my corporate VM's and a Node on another. When I launch my Node, it registers to the GRID (both the Node and the GRID confirm this), but then when I run my tests, I get the following error:

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.

If I fire up a node on the same VM with the GRID, and register it using localhost, then the tests run fine. I tried opening ports 4444 (GRID), and 5566 (Node) on both machines in windows firewall, but still no luck.  I even tried turning the firewalls off on both VM's and it still did the same thing. Is it just my companies network policy? Is there something else I can try? Thanks!


Here is what I am using to launch my GRID:

java -jar "selenium-server-standalone-2.48.2.jar" -role hub -maxSession 10

Here is what I am using to launch my Node:

java -jar selenium-server-standalone-2.48.2.jar -role webdriver -Dwebdriver.ie.driver="C:\SeleniumDrivers\IEDriverServer.exe" -hubhttp://XX.XX.XX.XX:4444/grid/register -port 5566 -browser browserName="internet explorer",version=9.0,maxInstances=1,platform=WINDOWS -browser browserName="internet explorer",version=10.0,maxInstances=1,platform=WINDOWS -browser browserName="internet explorer",version=11.0,maxInstances=1,platform=WINDOWS -maxSession 1

⇜Krishnan Mahadevan⇝

unread,
Apr 16, 2016, 6:09:21 AM4/16/16
to Selenium Users
Travis,

When are you seeing this error ? Am guessing that you must be seeing this error when you are trying to run a test against your Grid.

It would be good if you could please help share the logs from the following :
  • Test case logs when the error occurs.
  • Node logs from the console.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/c2f9dc79-a882-4b34-84ba-2a7193c21471%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages