Error in in connecting to Hub | Selenium Forum
M
Posted on 09/06/2016
Changed ports still the same error

cmd:1 ( success)
java -Dwebdriver.chrome.driver=D:\chromedriver.exe -jar selenium-server-standalone-2.53.0.jar -role hub -hubConfig hub.json

cmd:2 (fail)
java -Dwebdriver.chrome.driver=D:\chromedriver.exe -jar selenium-server-standalone-2.53.0.jar -role rc -nodeConfig node1.json

[b:35tslbho]Hub.json:[/b:35tslbho]
---------
{
"host": null,
"port": 4444,
"newSessionWaitTimeout": -1,
"servlets" : [],
"prioritizer":null,
"capabilityMatcher": "org.openqa.grid.internal.utils.DefaultCapabilityMatcher",
"throwOnCapabilityNotPresent": true,
"nodePolling": 5000,

"cleanUpCycle": 5000,
"timeout": 300000,
"browserTimeout":0,
"maxSession": 5,
"jettyMaxThreads":-1
}

[b:35tslbho]node1.json[/b:35tslbho]:
-----------------
{
"capabilities":
[

{
"browserName": "chrome",
"maxInstances": 2,
"seleniumProtocol": "WebDriver"
},
{
"browserName": "firefox",
"maxInstances": 2,
"seleniumProtocol": "WebDriver"
}
],
"configuration":
{
"proxy": "org.openqa.grid.selenium.proxy.WebDriverRemoteProxy",
"maxSessions": 5,
"port":5555,
"host": ip,
"register": true,
"registerCycle":5000,
"hubPort": 4444,
"hubHost":"ip"
}
}

M
Replied on 12/06/2016

did you make any changes to grid configuration?


M
Replied on 12/06/2016

No i didnt


M
Replied on 14/06/2016

try it on a different pc.