v3.12.0: visit grid console will see"DefaultRemoteProxy unknown version,Failed to connect to ****"
Meta -
OS: Win7
Selenium Version: V3.12.0
Browser:
Browser Version:
Expected Behavior - monitor the Grid via ip(hub): 4444/grid/console, will see the node status list quickly, actually, from V3.9.1 to V3.11.0 really work.
Actual Behavior - show the node status list very slowly and in the top of each node unit will show a message "DefaultRemoteProxy unknown version,Failed to connect to node**/...:5555
Steps to reproduce -
1 start hub by run bat TITLE SELENIUM_HUB set SERVER_PORT=4444 set JAR_NAME=selenium-server-standalone-3.12.0.jar java -jar %JAR_NAME% -port %SERVER_PORT% -role hub -timeout 600 -browserTimeout 3600 2 start one node by run bat(even though change the NODE_HOSTNAME from host name to host ip, still saw the same problem) TITLE SELENIUM_NODE
set HUB_NAME= ... set NODE_HOSTNAME=*** set HUB_PORT=4444 set NODE_PORT=5555 set DRIVER_PATH_IE=C:\SeleniumGrid\IEDriverServer.exe set NODE_CHROME_EXE_PATH=C:/Program Files (x86)/Google/Chrome/Application/chrome.exe set DRIVER_PATH_CHROME=C:\SeleniumGrid\chromedriver.exe set DRIVER_PATH_FIREFOX=C:\SeleniumGrid\geckodriver.exe set JAR_NAME=selenium-server-standalone-3.12.0.jar set MAX_INSTANCES=3 set MAX_SESSION=3
java -Dwebdriver.chrome.driver=%DRIVER_PATH_CHROME% -Dwebdriver.ie.driver=%DRIVER_PATH_IE% -Dwebdriver.gecko.driver=%DRIVER_PATH_FIREFOX% -jar %JAR_NAME% -maxSession %MAX_SESSION% -role node -browser "browserName=internet explorer,maxInstances=%MAX_INSTANCES%,platform=WINDOWS" -browser "browserName=chrome,maxInstances=%MAX_INSTANCES%,chrome_binary=%NODE_CHROME_EXE_PATH%,platform=WINDOWS" -browser "browserName=firefox,maxInstances=%MAX_INSTANCES%,platform=WINDOWS" -port %NODE_PORT% -host %NODE_HOSTNAME% -hub http://%HUB_NAME%:%HUB_PORT%/grid/register
screenshot for the problem
Hosts that run nodes are not available from the host that runs the hub. It's a network misconfiguration, not a Selenium issue.
@barancev As you can see my description, same configuration work from V3.9.1 to V3.11.0, why only V3.12.0 show error?
Please run hub with -debug option, attach a node to this hub, and provide the hub log for investigation. Do the same for a version that works (e.g. 3.11) so we can compare the logs.
@barancev sure, will do it later. thanks for your help.
I have seen the exactly same issue: providing logs from hub side, with -debug option
with v3.12
C:\Selenium>java -jar selenium-server-standalone-3.12.0.jar -role hub -debug
14:30:39.489 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.
0', revision: '7c6e0b3'
14:30:39.492 INFO [GridLauncherV3$2.launch] - Launching Selenium Grid hub on por
t 4444
2018-06-07 14:30:39.906:INFO::main: Logging initialized @849ms to org.seleniumhq
.jetty9.util.log.StdErrLog
14:30:40.131 INFO [Hub.start] - Selenium Grid hub is up and running
14:30:40.132 INFO [Hub.start] - Nodes should register to http://172.24.95.35:444
4/grid/register/
14:30:40.133 INFO [Hub.start] - Clients should connect to http://172.24.95.35:44
44/wd/hub
14:31:20.307 DEBUG [RegistrationServlet.process] - getting the following registr
ation request : {"class":{"enclosingConstructor":null,"annotations":[],"memberC
lass":false,"declaredConstructors":[null,null,null,null],"declaredFields":[null,
null,null,null,null,null,null],"superclass":{"enclosingConstructor":null,"annota
tions":[],"memberClass":false,"declaredConstructors":[null],"declaredFields":[],
"superclass":null,"canonicalName":"java.lang.Object","package":null,"protectionD
omain":null,"enclosingMethod":null,"enum":false,"declaringClass":null,"construct
ors":[null],"synthetic":false,"declaredClasses":[],"name":"java.lang.Object","fi
elds":[],"classLoader":null,"primitive":false,"methods":[null,null,null,null,nul
l,null,null,null,null],"classes":[],"typeName":"java.lang.Object","declaredMetho
ds":[null,null,null,null,null,null,null,null,null,null,null,null],"modifiers":1,
"interface":false,"genericInterfaces":[],"annotatedSuperclass":null,"typeParamet
ers":[],"array":false,"enumConstants":null,"annotatedInterfaces":[],"class":"jav
a.lang.Class","annotation":false,"componentType":null,"declaredAnnotations":[],"
interfaces":[],"genericSuperclass":null,"localClass":false,"enclosingClass":null
,"signers":null,"simpleName":"Object","anonymousClass":false},"canonicalName":"o
rg.openqa.grid.common.RegistrationRequest","package":{"specificationVendor":"Ora
cle Corporation","declaredAnnotations":[],"implementationVersion":"9.4.7.v201709
14","sealed":false,"annotations":[],"implementationTitle":"HttpComponents Apache
HttpClient Mime","hCode":-250690871,"packages":[null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null],"specificationTitle":"HttpComp
onents Apache HttpClient Mime","name":"org.openqa.grid.common","implementationVe
ndor":"Eclipse.org - Jetty","class":"java.lang.Package","specificationVersion":"
3.1"},"protectionDomain":{"classLoader":null,"permissions":null,"principals":[],
"codeSource":null,"class":"java.security.ProtectionDomain"},"enclosingMethod":nu
ll,"enum":false,"declaringClass":null,"constructors":[null,null,null,null],"synt
hetic":false,"declaredClasses":[],"name":"org.openqa.grid.common.RegistrationReq
uest","fields":[null,null,null],"classLoader":{"parent":null,"systemClassLoader"
:null,"uRLs":["file:/C:/Selenium/selenium-server-standalone-3.12.0.jar"],"class"
:"sun.misc.Launcher$AppClassLoader"},"primitive":false,"methods":[null,null,null
,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null
],"classes":[],"typeName":"org.openqa.grid.common.RegistrationRequest","declared
Methods":[null,null,null,null,null,null,null,null,null,null],"modifiers":1,"inte
rface":false,"genericInterfaces":[],"annotatedSuperclass":{"declaredAnnotations"
:[],"annotations":[],"type":null,"class":"sun.reflect.annotation.AnnotatedTypeFa
ctory$AnnotatedTypeBaseImpl"},"typeParameters":[],"array":false,"enumConstants":
null,"annotatedInterfaces":[],"class":"java.lang.Class","annotation":false,"comp
onentType":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":{"e
nclosingConstructor":null,"annotations":[],"memberClass":false,"declaredConstruc
tors":[null],"declaredFields":[],"superclass":null,"canonicalName":"java.lang.Ob
ject","package":null,"protectionDomain":null,"enclosingMethod":null,"enum":false
,"declaringClass":null,"constructors":[null],"synthetic":false,"declaredClasses"
:[],"name":"java.lang.Object","fields":[],"classLoader":null,"primitive":false,"
methods":[null,null,null,null,null,null,null,null,null],"classes":[],"typeName":
"java.lang.Object","declaredMethods":[null,null,null,null,null,null,null,null,nu
ll,null,null,null],"modifiers":1,"interface":false,"genericInterfaces":[],"annot
atedSuperclass":null,"typeParameters":[],"array":false,"enumConstants":null,"ann
otatedInterfaces":[],"class":"java.lang.Class","annotation":false,"componentType
":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":null,"localC
lass":false,"enclosingClass":null,"signers":null,"simpleName":"Object","anonymou
sClass":false},"localClass":false,"enclosingClass":null,"signers":null,"simpleNa
me":"RegistrationRequest","anonymousClass":false},"configuration":{"unregisterIf
StillDownAfter":60000,"role":"node","debug":false,"capabilities":[{"browserName"
:"chrome","maxInstances":5,"platform":"WIN8_1","platformName":"WIN8_1","selenium
Protocol":"WebDriver","server:CONFIG_UUID":"f45234a5-19cb-4605-a74a-0b9d922f8c00
"}],"remoteHost":"http://172.24.95.36:5555","custom":{},"nodeStatusCheckTimeout"
:5000,"downPollingLimit":2,"timeout":1800,"nodePolling":2000,"proxy":"org.openqa
.grid.selenium.proxy.DefaultRemoteProxy","cleanUpCycle":2000,"hub":"http://172.2
4.95.35:4444/grid/register","port":19810,"browserTimeout":0,"host":"172.24.95.36
","servlets":[],"enablePlatformVerification":true,"id":"http://172.24.95.36:5555
","withoutServlets":[],"maxSession":5,"registerCycle":10000,"register":true},"de
scription":null,"name":null}
14:31:40.828 DEBUG [BaseRemoteProxy.getNewInstance] - Using class org.openqa.gri
d.selenium.proxy.DefaultRemoteProxy
14:31:40.836 DEBUG [BaseRemoteProxy.setupTimeoutListener] - starting cleanup thr
ead
14:31:40.837 DEBUG [BaseRemoteProxy$CleanUpThread.run] - cleanup thread starting
...
14:31:40.840 INFO [DefaultGridRegistry.add] - Registered a node http://172.24.95
.36:5555
14:31:40.842 DEBUG [RegistrationServlet.lambda$process$0] - proxy added http://1
72.24.95.36:5555
14:31:44.072 DEBUG [DefaultRemoteProxy.isAlive] - Failed to check status of node
: Failed to connect to /172.24.95.36:5555
14:31:47.086 DEBUG [DefaultRemoteProxy.isAlive] - Failed to check status of node
: Failed to connect to /172.24.95.36:5555
14:31:47.088 INFO [DefaultRemoteProxy.onEvent] - Marking the node http://172.24.
95.36:5555 as down: cannot reach the node for 2 tries
14:31:50.094 DEBUG [DefaultRemoteProxy.isAlive] - Failed to check status of node
: Failed to connect to /172.24.95.36:5555
with v3.11
C:\Selenium>java -jar selenium-server-standalone-3.12.0.jar -role hub -debug
14:33:41.940 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12.
0', revision: '7c6e0b3'
14:33:41.945 INFO [GridLauncherV3$2.launch] - Launching Selenium Grid hub on por
t 4444
2018-06-07 14:33:42.322:INFO::main: Logging initialized @836ms to org.seleniumhq
.jetty9.util.log.StdErrLog
14:33:42.535 INFO [Hub.start] - Selenium Grid hub is up and running
14:33:42.535 INFO [Hub.start] - Nodes should register to http://172.24.95.35:444
4/grid/register/
14:33:42.535 INFO [Hub.start] - Clients should connect to http://172.24.95.35:44
44/wd/hub
14:33:54.753 DEBUG [RegistrationServlet.process] - getting the following registr
ation request : {"class":{"enclosingConstructor":null,"annotations":[],"memberC
lass":false,"declaredConstructors":[null,null,null,null],"declaredFields":[null,
null,null,null,null,null,null],"superclass":{"enclosingConstructor":null,"annota
tions":[],"memberClass":false,"declaredConstructors":[null],"declaredFields":[],
"superclass":null,"canonicalName":"java.lang.Object","package":null,"protectionD
omain":null,"enclosingMethod":null,"enum":false,"declaringClass":null,"construct
ors":[null],"synthetic":false,"declaredClasses":[],"name":"java.lang.Object","fi
elds":[],"classLoader":null,"primitive":false,"methods":[null,null,null,null,nul
l,null,null,null,null],"classes":[],"typeName":"java.lang.Object","declaredMetho
ds":[null,null,null,null,null,null,null,null,null,null,null,null],"modifiers":1,
"interface":false,"genericInterfaces":[],"annotatedSuperclass":null,"typeParamet
ers":[],"array":false,"enumConstants":null,"annotatedInterfaces":[],"class":"jav
a.lang.Class","annotation":false,"componentType":null,"declaredAnnotations":[],"
interfaces":[],"genericSuperclass":null,"localClass":false,"enclosingClass":null
,"signers":null,"simpleName":"Object","anonymousClass":false},"canonicalName":"o
rg.openqa.grid.common.RegistrationRequest","package":{"specificationVendor":"Ora
cle Corporation","declaredAnnotations":[],"implementationVersion":"9.4.7.v201709
14","sealed":false,"annotations":[],"implementationTitle":"HttpComponents Apache
HttpClient Mime","hCode":-250690871,"packages":[null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n
ull,null,null,null,null,null,null,null,null],"specificationTitle":"HttpComponent
s Apache HttpClient Mime","name":"org.openqa.grid.common","implementationVendor"
:"Eclipse.org - Jetty","class":"java.lang.Package","specificationVersion":"3.1"}
,"protectionDomain":{"classLoader":null,"permissions":null,"principals":[],"code
Source":null,"class":"java.security.ProtectionDomain"},"enclosingMethod":null,"e
num":false,"declaringClass":null,"constructors":[null,null,null,null],"synthetic
":false,"declaredClasses":[],"name":"org.openqa.grid.common.RegistrationRequest"
,"fields":[null,null,null],"classLoader":{"parent":null,"systemClassLoader":null
,"uRLs":["file:/C:/Selenium/selenium-server-standalone-3.11.0.jar"],"class":"sun
.misc.Launcher$AppClassLoader"},"primitive":false,"methods":[null,null,null,null
,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null
],"classes":[],"typeName":"org.openqa.grid.common.RegistrationRequest","declared
Methods":[null,null,null,null,null,null,null,null,null,null,null],"modifiers":1,
"interface":false,"genericInterfaces":[],"annotatedSuperclass":{"declaredAnnotat
ions":[],"annotations":[],"type":null,"class":"sun.reflect.annotation.AnnotatedT
ypeFactory$AnnotatedTypeBaseImpl"},"typeParameters":[],"array":false,"enumConsta
nts":null,"annotatedInterfaces":[],"class":"java.lang.Class","annotation":false,
"componentType":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass
":{"enclosingConstructor":null,"annotations":[],"memberClass":false,"declaredCon
structors":[null],"declaredFields":[],"superclass":null,"canonicalName":"java.la
ng.Object","package":null,"protectionDomain":null,"enclosingMethod":null,"enum":
false,"declaringClass":null,"constructors":[null],"synthetic":false,"declaredCla
sses":[],"name":"java.lang.Object","fields":[],"classLoader":null,"primitive":fa
lse,"methods":[null,null,null,null,null,null,null,null,null],"classes":[],"typeN
ame":"java.lang.Object","declaredMethods":[null,null,null,null,null,null,null,nu
ll,null,null,null,null],"modifiers":1,"interface":false,"genericInterfaces":[],"
annotatedSuperclass":null,"typeParameters":[],"array":false,"enumConstants":null
,"annotatedInterfaces":[],"class":"java.lang.Class","annotation":false,"componen
tType":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":null,"l
ocalClass":false,"enclosingClass":null,"signers":null,"simpleName":"Object","ano
nymousClass":false},"localClass":false,"enclosingClass":null,"signers":null,"sim
pleName":"RegistrationRequest","anonymousClass":false},"configuration":{"remoteH
ost":"http://172.24.95.36:5555","id":"http://172.24.95.36:5555","capabilities":[
{"browserName":"chrome","maxInstances":5,"platform":"WIN8_1","platformName":"WIN
8_1","seleniumProtocol":"WebDriver","server:CONFIG_UUID":"38e19500-492d-4465-87b
f-68881b68f2aa"}],"downPollingLimit":2,"hub":"http://172.24.95.35:4444/grid/regi
ster","nodePolling":2000,"nodeStatusCheckTimeout":5000,"proxy":"org.openqa.grid.
selenium.proxy.DefaultRemoteProxy","register":true,"registerCycle":10000,"unregi
sterIfStillDownAfter":60000,"enablePlatformVerification":true,"cleanUpCycle":200
0,"custom":{},"host":"172.24.95.36","maxSession":5,"servlets":[],"withoutServlet
s":[],"browserTimeout":0,"debug":false,"port":5555,"role":"node","timeout":1800}
,"description":null,"name":null}
14:33:54.811 DEBUG [BaseRemoteProxy.getNewInstance] - Using class org.openqa.gri
d.selenium.proxy.DefaultRemoteProxy
14:33:54.819 DEBUG [BaseRemoteProxy.setupTimeoutListener] - starting cleanup thr
ead
14:33:54.820 DEBUG [BaseRemoteProxy$CleanUpThread.run] - cleanup thread starting
...
14:33:54.822 INFO [DefaultGridRegistry.add] - Registered a node http://172.24.95
.36:5555
14:33:54.824 DEBUG [RegistrationServlet.lambda$process$0] - proxy added http://1
72.24.95.36:5555
thanks @liulirun for your information. I list mine in the below: V3.11
C:\SeleniumGrid>TITLE SELENIUM_HUD
C:\SeleniumGrid>set SERVER_PORT=4444
C:\SeleniumGrid>set JAR_NAME=selenium-server-standalone-3.11.0.jar
C:\SeleniumGrid>java -jar selenium-server-standalone-3.11.0.jar -port 4444 -role hub -debug -timeout 600 -browserTimeout 3600 21:23:02.064 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.11. 0', revision: 'e59cfb3' 21:23:02.064 INFO [GridLauncherV3$2.launch] - Launching Selenium Grid hub on por t 4444 2018-06-07 21:23:02.892:INFO::main: Logging initialized @2242ms to org.seleniumh q.jetty9.util.log.StdErrLog 21:23:03.408 INFO [Hub.start] - Selenium Grid hub is up and running 21:23:03.408 INFO [Hub.start] - Nodes should register to http://HubIP:4 444/grid/register/ 21:23:03.408 INFO [Hub.start] - Clients should connect to http://HubIP: 4444/wd/hub 21:24:13.362 DEBUG [RegistrationServlet.process] - getting the following registr ation request : {"class":{"enclosingConstructor":null,"annotations":[],"memberC lass":false,"declaredConstructors":[null,null,null,null],"declaredFields":[null, null,null,null,null,null,null],"superclass":{"enclosingConstructor":null,"annota tions":[],"memberClass":false,"declaredConstructors":[null],"declaredFields":[], "superclass":null,"canonicalName":"java.lang.Object","package":null,"protectionD omain":null,"enclosingMethod":null,"enum":false,"declaringClass":null,"construct ors":[null],"synthetic":false,"declaredClasses":[],"name":"java.lang.Object","fi elds":[],"classLoader":null,"primitive":false,"methods":[null,null,null,null,nul l,null,null,null,null],"classes":[],"typeName":"java.lang.Object","declaredMetho ds":[null,null,null,null,null,null,null,null,null,null,null,null],"modifiers":1, "interface":false,"genericInterfaces":[],"annotatedSuperclass":null,"typeParamet ers":[],"array":false,"enumConstants":null,"annotatedInterfaces":[],"class":"jav a.lang.Class","annotation":false,"componentType":null,"declaredAnnotations":[]," interfaces":[],"genericSuperclass":null,"localClass":false,"enclosingClass":null ,"signers":null,"simpleName":"Object","anonymousClass":false},"canonicalName":"o rg.openqa.grid.common.RegistrationRequest","package":{"specificationVendor":"Ora cle Corporation","declaredAnnotations":[],"implementationVersion":"9.4.7.v201709 14","sealed":false,"annotations":[],"implementationTitle":"HttpComponents Apache HttpClient Mime","hCode":-250690871,"packages":[null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null],"specificationTitle":"HttpComponents Apache H ttpClient Mime","name":"org.openqa.grid.common","implementationVendor":"Eclipse. org - Jetty","class":"java.lang.Package","specificationVersion":"3.1"},"protecti onDomain":{"classLoader":null,"permissions":null,"principals":[],"codeSource":nu ll,"class":"java.security.ProtectionDomain"},"enclosingMethod":null,"enum":false ,"declaringClass":null,"constructors":[null,null,null,null],"synthetic":false,"d eclaredClasses":[],"name":"org.openqa.grid.common.RegistrationRequest","fields": [null,null,null],"classLoader":{"parent":null,"systemClassLoader":null,"uRLs":[" file:/C:/SeleniumGrid/selenium-server-standalone-3.11.0.jar"],"class":"sun.misc. Launcher$AppClassLoader"},"primitive":false,"methods":[null,null,null,null,null, null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"cla sses":[],"typeName":"org.openqa.grid.common.RegistrationRequest","declaredMethod s":[null,null,null,null,null,null,null,null,null,null,null],"modifiers":1,"inter face":false,"genericInterfaces":[],"annotatedSuperclass":{"declaredAnnotations": [],"annotations":[],"type":null,"class":"sun.reflect.annotation.AnnotatedTypeFac tory$AnnotatedTypeBaseImpl"},"typeParameters":[],"array":false,"enumConstants":n ull,"annotatedInterfaces":[],"class":"java.lang.Class","annotation":false,"compo nentType":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":{"en closingConstructor":null,"annotations":[],"memberClass":false,"declaredConstruct ors":[null],"declaredFields":[],"superclass":null,"canonicalName":"java.lang.Obj ect","package":null,"protectionDomain":null,"enclosingMethod":null,"enum":false, "declaringClass":null,"constructors":[null],"synthetic":false,"declaredClasses": [],"name":"java.lang.Object","fields":[],"classLoader":null,"primitive":false,"m ethods":[null,null,null,null,null,null,null,null,null],"classes":[],"typeName":" java.lang.Object","declaredMethods":[null,null,null,null,null,null,null,null,nul l,null,null,null],"modifiers":1,"interface":false,"genericInterfaces":[],"annota tedSuperclass":null,"typeParameters":[],"array":false,"enumConstants":null,"anno tatedInterfaces":[],"class":"java.lang.Class","annotation":false,"componentType" :null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":null,"localCl ass":false,"enclosingClass":null,"signers":null,"simpleName":"Object","anonymous Class":false},"localClass":false,"enclosingClass":null,"signers":null,"simpleNam e":"RegistrationRequest","anonymousClass":false},"configuration":{"remoteHost":" http://NodeName:5555","id":"http://NodeName:5555","capabilities":[{"brow serName":"internet explorer","maxInstances":3,"platform":"WINDOWS","platformName ":"WINDOWS","seleniumProtocol":"WebDriver","server:CONFIG_UUID":"56e72e37-4df1-4 41c-bb4f-21bf179694c9"},{"browserName":"chrome","chrome_binary":"C:/Program File s (x86)/Google/Chrome/Application/chrome.exe","maxInstances":3,"platform":"WINDO WS","platformName":"WINDOWS","seleniumProtocol":"WebDriver","server:CONFIG_UUID" :"4783b93e-0974-43dd-95b2-a3c6560b7aae"},{"browserName":"firefox","maxInstances" :3,"platform":"WINDOWS","platformName":"WINDOWS","seleniumProtocol":"WebDriver", "server:CONFIG_UUID":"5a052f12-cc48-4d11-b49b-586971462fc6"}],"downPollingLimit" :2,"hub":"http://HubIP:4444/grid/register","nodePolling":5000,"nodeStat usCheckTimeout":5000,"proxy":"org.openqa.grid.selenium.proxy.DefaultRemoteProxy" ,"register":true,"registerCycle":5000,"unregisterIfStillDownAfter":60000,"enable PlatformVerification":true,"custom":{},"host":"NodeName","maxSession":3,"ser vlets":[],"withoutServlets":[],"browserTimeout":0,"debug":false,"port":5555,"rol e":"node","timeout":1800},"description":null,"name":null} 21:24:13.675 DEBUG [BaseRemoteProxy.getNewInstance] - Using class org.openqa.gri d.selenium.proxy.DefaultRemoteProxy 21:24:13.690 DEBUG [BaseRemoteProxy.setupTimeoutListener] - starting cleanup thr ead 21:24:13.706 DEBUG [BaseRemoteProxy$CleanUpThread.run] - cleanup thread starting ... 21:24:13.706 INFO [DefaultGridRegistry.add] - Registered a node http://NodeName:5555 21:24:13.706 DEBUG [RegistrationServlet.lambda$process$0] - proxy added http://NodeName:5555
V3.12
C:\SeleniumGrid>TITLE SELENIUM_HUD
C:\SeleniumGrid>set SERVER_PORT=4444
C:\SeleniumGrid>set JAR_NAME=selenium-server-standalone-3.12.0.jar
C:\SeleniumGrid>java -jar selenium-server-standalone-3.12.0.jar -port 4444 -role hub -debug -timeout 600 -browserTimeout 3600 21:31:35.561 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.12. 0', revision: '7c6e0b3' 21:31:35.561 INFO [GridLauncherV3$2.launch] - Launching Selenium Grid hub on por t 4444 2018-06-07 21:31:36.093:INFO::main: Logging initialized @1352ms to org.seleniumh q.jetty9.util.log.StdErrLog 21:31:36.546 INFO [Hub.start] - Selenium Grid hub is up and running 21:31:36.546 INFO [Hub.start] - Nodes should register to http://HubIP:4 444/grid/register/ 21:31:36.546 INFO [Hub.start] - Clients should connect to http://HubIP: 4444/wd/hub 21:31:44.359 DEBUG [RegistrationServlet.process] - getting the following registr ation request : {"class":{"enclosingConstructor":null,"annotations":[],"memberC lass":false,"declaredConstructors":[null,null,null,null],"declaredFields":[null, null,null,null,null,null,null],"superclass":{"enclosingConstructor":null,"annota tions":[],"memberClass":false,"declaredConstructors":[null],"declaredFields":[], "superclass":null,"canonicalName":"java.lang.Object","package":null,"protectionD omain":null,"enclosingMethod":null,"enum":false,"declaringClass":null,"construct ors":[null],"synthetic":false,"declaredClasses":[],"name":"java.lang.Object","fi elds":[],"classLoader":null,"primitive":false,"methods":[null,null,null,null,nul l,null,null,null,null],"classes":[],"typeName":"java.lang.Object","declaredMetho ds":[null,null,null,null,null,null,null,null,null,null,null,null],"modifiers":1, "interface":false,"genericInterfaces":[],"annotatedSuperclass":null,"typeParamet ers":[],"array":false,"enumConstants":null,"annotatedInterfaces":[],"class":"jav a.lang.Class","annotation":false,"componentType":null,"declaredAnnotations":[]," interfaces":[],"genericSuperclass":null,"localClass":false,"enclosingClass":null ,"signers":null,"simpleName":"Object","anonymousClass":false},"canonicalName":"o rg.openqa.grid.common.RegistrationRequest","package":{"specificationVendor":"Ora cle Corporation","declaredAnnotations":[],"implementationVersion":"9.4.7.v201709 14","sealed":false,"annotations":[],"implementationTitle":"HttpComponents Apache HttpClient Mime","hCode":-250690871,"packages":[null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,n ull,null,null,null,null,null,null,null],"specificationTitle":"HttpComponents Apa che HttpClient Mime","name":"org.openqa.grid.common","implementationVendor":"Ecl ipse.org - Jetty","class":"java.lang.Package","specificationVersion":"3.1"},"pro tectionDomain":{"classLoader":null,"permissions":null,"principals":[],"codeSourc e":null,"class":"java.security.ProtectionDomain"},"enclosingMethod":null,"enum": false,"declaringClass":null,"constructors":[null,null,null,null],"synthetic":fal se,"declaredClasses":[],"name":"org.openqa.grid.common.RegistrationRequest","fie lds":[null,null,null],"classLoader":{"parent":null,"systemClassLoader":null,"uRL s":["file:/C:/SeleniumGrid/selenium-server-standalone-3.12.0.jar"],"class":"sun. misc.Launcher$AppClassLoader"},"primitive":false,"methods":[null,null,null,null, null,null,null,null,null,null,null,null,null,null,null,null,null,null,null],"cla sses":[],"typeName":"org.openqa.grid.common.RegistrationRequest","declaredMethod s":[null,null,null,null,null,null,null,null,null,null],"modifiers":1,"interface" :false,"genericInterfaces":[],"annotatedSuperclass":{"declaredAnnotations":[],"a nnotations":[],"type":null,"class":"sun.reflect.annotation.AnnotatedTypeFactory$ AnnotatedTypeBaseImpl"},"typeParameters":[],"array":false,"enumConstants":null," annotatedInterfaces":[],"class":"java.lang.Class","annotation":false,"componentT ype":null,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":{"enclosi ngConstructor":null,"annotations":[],"memberClass":false,"declaredConstructors": [null],"declaredFields":[],"superclass":null,"canonicalName":"java.lang.Object", "package":null,"protectionDomain":null,"enclosingMethod":null,"enum":false,"decl aringClass":null,"constructors":[null],"synthetic":false,"declaredClasses":[],"n ame":"java.lang.Object","fields":[],"classLoader":null,"primitive":false,"method s":[null,null,null,null,null,null,null,null,null],"classes":[],"typeName":"java. lang.Object","declaredMethods":[null,null,null,null,null,null,null,null,null,nul l,null,null],"modifiers":1,"interface":false,"genericInterfaces":[],"annotatedSu perclass":null,"typeParameters":[],"array":false,"enumConstants":null,"annotated Interfaces":[],"class":"java.lang.Class","annotation":false,"componentType":null ,"declaredAnnotations":[],"interfaces":[],"genericSuperclass":null,"localClass": false,"enclosingClass":null,"signers":null,"simpleName":"Object","anonymousClass ":false},"localClass":false,"enclosingClass":null,"signers":null,"simpleName":"R egistrationRequest","anonymousClass":false},"configuration":{"unregisterIfStillD ownAfter":60000,"role":"node","debug":false,"capabilities":[{"browserName":"inte rnet explorer","maxInstances":3,"platform":"WINDOWS","platformName":"WINDOWS","s eleniumProtocol":"WebDriver","server:CONFIG_UUID":"662d7228-5a0e-47e8-9b1f-52d8e f3df230"},{"browserName":"chrome","chrome_binary":"C:/Program Files (x86)/Google /Chrome/Application/chrome.exe","maxInstances":3,"platform":"WINDOWS","platformN ame":"WINDOWS","seleniumProtocol":"WebDriver","server:CONFIG_UUID":"916359c9-007 a-4418-8b27-5a7f2791f9da"},{"browserName":"firefox","maxInstances":3,"platform": "WINDOWS","platformName":"WINDOWS","seleniumProtocol":"WebDriver","server:CONFIG _UUID":"9dca6c84-a35e-469e-b193-bcbe0900c8fd"}],"remoteHost":"http://NodeName:5555","custom":{},"nodeStatusCheckTimeout":5000,"downPollingLimit":2,"timeout" :1800,"nodePolling":5000,"proxy":"org.openqa.grid.selenium.proxy.DefaultRemotePr oxy","hub":"http://HubIP:4444/grid/register","port":5555,"browserTimeou t":0,"host":"NodeName","servlets":[],"enablePlatformVerification":true,"id": "http://NodeName:5555","withoutServlets":[],"maxSession":3,"registerCycle":5 000,"register":true},"description":null,"name":null} 21:31:44.578 DEBUG [BaseRemoteProxy.getNewInstance] - Using class org.openqa.gri d.selenium.proxy.DefaultRemoteProxy 21:31:44.593 DEBUG [BaseRemoteProxy.setupTimeoutListener] - starting cleanup thr ead 21:31:44.609 DEBUG [BaseRemoteProxy$CleanUpThread.run] - cleanup thread starting ... 21:31:44.609 INFO [DefaultGridRegistry.add] - Registered a node http://NodeName:5555 21:31:44.609 DEBUG [RegistrationServlet.lambda$process$0] - proxy added http://NodeName:5555 21:32:11.111 DEBUG [DefaultRemoteProxy.isAlive] - Failed to check status of node : Failed to connect to NodeName/NodeIP:5555 21:32:37.144 DEBUG [DefaultRemoteProxy.isAlive] - Failed to check status of node : Failed to connect to NodeName/NodeIP:5555 21:32:37.238 INFO [DefaultRemoteProxy.onEvent] - Marking the node http://NodeName:5555 as down: cannot reach the node for 2 tries
Are you using IP6 on these machines too? Or are they only configured for IP4?
I am using IP4.
@shs96c Thanks for your response, in my case, we use IP4 only.

I saw the same problem in Selenium V3.13.0, any update on this issue? Thanks for your work.
Can you please try to start server v.3.13 with an extra system property -Dwebdriver.http.factory=apache and check if the issue still can be reproduuced?
@barancev thanks for your information, I added the option and test it in 3.9.1--still OK, 3.12.0--still same error, 3.13.0--still same error
So, we have to figure out whether it's a hub issue or a node one.
Please run again a hub and a node version 3.12 (or 3.13) and when the hub logs "Failed to connect to XXX" try to access the node by this address manually from the hub host. You can use telnet client for this purpose: telnet <node IP or hostname> <node port>.
@barancev, thanks for your information, sorry on giving you reply a little lately, I did the test about Telnet from 3.9.1, 3.11.0, 3.12.0, even 3.13.0, both of them will show "connecting to ****...could not open connection to the host, on port 5555: connection failed, anything else need to do?
@oceanchow Do you mean you can't connect by telnet to a node in 3.11 too? But the hub can connect to a node in the same situation? Sounds weird...
@barancev, yes, that's why I cost couple of days to discuss with our IT team once I found out the result, according to their conclusion, our network is OK without any limitation. do you have any suggestion on continue the debugging? Thanks for your time.