ERROR: No sessionId provided. Most likely your original newBrowserSession command failed

56 views
Skip to first unread message

saravana kumar

unread,
Jun 29, 2010, 8:28:34 AM6/29/10
to Selenium Users, sara...@yahoo-inc.com
Hi users,

I am facing this error with my selenium grid setup.

client code fails with the following error:
com.thoughtworks.selenium.SeleniumException: ERROR: ERROR: No
sessionId provided. Most likely your original newBrowserSession
command failed.
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
73)
at
com.thoughtworks.selenium.DefaultSelenium.open(DefaultSelenium.java:
222)
at SeleniumTest.main(SeleniumTest.java:20)
Exception in thread "main"
com.thoughtworks.selenium.SeleniumException: ERROR: ERROR: No
sessionId provided. Most likely your original newBrowserSession
command failed.
at
com.thoughtworks.selenium.HttpCommandProcessor.doCommand(HttpCommandProcessor.java:
73)
at
com.thoughtworks.selenium.DefaultSelenium.close(DefaultSelenium.java:
270)
at SeleniumTest.main(SeleniumTest.java:29)

if i look at the server log, it says :

Jun 28, 2010 10:46:50 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing
request: Connection timed out: connect
Jun 28, 2010 10:46:50 PM
org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: Retrying request
Jun 28, 2010 10:47:11 PM
com.thoughtworks.selenium.grid.hub.remotecontrol.commands.NewBrowserSessionCommand
execute
SEVERE: Problem while requesting new browser session
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at java.net.Socket.<init>(Unknown Source)
at
org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:
79)


Has any one faced this issue before. any idea how to overcome this?

Reply all
Reply to author
Forward
0 new messages