I'm working with Selenium Grid 4.9.1, and I would like to connect my chromebook (cb) node to my osx (mac) hub, so I can do automation.
My issue is that I keep getting "HTTP connect timed out".
14:36:31.452 DEBUG [Http1Exchange.sendHeadersAsync] - [Event Bus Listener Notifier] [269ms] Http1Exchange response created in advance
14:36:31.452 DEBUG [Http1Exchange.sendHeadersAsync] - [Event Bus Listener Notifier] [269ms] Http1Exchange initiating connect async
14:36:31.455 DEBUG [PlainHttpConnection.connectAsync] - [Event Bus Listener Notifier] [272ms] PlainHttpConnection(SocketTube(1)) registering connect timer: ConnectTimerEvent, TimeoutEvent[id=2, duration=PT10S, deadline=2023-05-15T21:36:41.452483Z]
14:36:31.455 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [273ms] HttpClientImpl(1) next timeout: 9997
14:36:31.455 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [273ms] HttpClientImpl(1) next expired: 0
14:36:31.455 DEBUG [PlainHttpConnection.connectAsync] - [Event Bus Listener Notifier] [273ms] PlainHttpConnection(SocketTube(1)) registering connect event
14:36:31.455 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [273ms] HttpClientImpl(1) Next deadline is 3000
14:36:31.456 DEBUG [HttpClientImpl$SelectorAttachment.register] - [HttpClient-1-SelectorManager] [274ms] SelectorAttachment Registering jdk.internal.net.http.PlainHttpConnection$ConnectEvent@4a0522ef for 8 (true)
14:36:31.456 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [274ms] HttpClientImpl(1) next timeout: 9996
14:36:31.456 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [274ms] HttpClientImpl(1) next expired: 0
14:36:31.457 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [274ms] HttpClientImpl(1) Next deadline is 3000
14:36:34.461 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [3s 278ms] HttpClientImpl(1) next timeout: 6991
14:36:34.461 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [3s 279ms] HttpClientImpl(1) next expired: 0
14:36:34.461 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [3s 279ms] HttpClientImpl(1) Next deadline is 3000
14:36:37.462 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [6s 280ms] HttpClientImpl(1) next timeout: 3990
14:36:37.463 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [6s 281ms] HttpClientImpl(1) next expired: 0
14:36:37.463 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [6s 281ms] HttpClientImpl(1) Next deadline is 3000
14:36:40.464 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [9s 282ms] HttpClientImpl(1) next timeout: 988
14:36:40.465 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [9s 282ms] HttpClientImpl(1) next expired: 0
14:36:40.465 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [9s 283ms] HttpClientImpl(1) Next deadline is 988
14:36:41.457 DEBUG [PlainHttpConnection$ConnectTimerEvent.handle] - [HttpClient-1-SelectorManager] [10s 274ms] PlainHttpConnection(SocketTube(1)) HTTP connect timed out
14:36:41.457 DEBUG [Exchange.cancel] - [HttpClient-1-SelectorManager] [10s 275ms] Exchange cancel exchImpl: HTTP/1.1
http://100.115.92.25:9999/status GET, with "java.net.ConnectException: HTTP connect timed out"
14:36:41.458 DEBUG [Exchange.cancel] - [HttpClient-1-SelectorManager] [10s 275ms] Exchange Cancelling exchImpl: HTTP/1.1
http://100.115.92.25:9999/status GET
14:36:41.458 DEBUG [Http1Exchange.cancelImpl] - [HttpClient-1-SelectorManager] [10s 276ms] Http1Exchange
http://100.115.92.25:9999/status: java.net.ConnectException: HTTP connect timed out
14:36:41.459 DEBUG [Http1Exchange.lambda$cancelImpl$9] - [pool-1-thread-1] [10s 277ms] Http1Exchange
http://100.115.92.25:9999/status: completed cf with java.net.ConnectException: HTTP connect timed out
14:36:41.459 DEBUG [Http1Exchange.lambda$cancelImpl$9] - [pool-1-thread-2] [10s 277ms] Http1Exchange
http://100.115.92.25:9999/status: completed cf with java.net.ConnectException: HTTP connect timed out
14:36:41.460 DEBUG [PlainHttpConnection.close] - [HttpClient-1-SelectorManager] [10s 278ms] PlainHttpConnection(SocketTube(1)) Closing channel: channel registered with selector, key.interestOps=8, sa.interestOps=8
14:36:41.460 DEBUG [Exchange.checkFor407] - [pool-1-thread-3] [10s 278ms] Exchange checkFor407: no response - java.net.ConnectException: HTTP connect timed out
14:36:41.460 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.signalError] - [HttpClient-1-SelectorManager] [10s 278ms] SocketTube(1) signal read error: java.io.IOException: connection closed locally
14:36:41.461 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.signalError] - [HttpClient-1-SelectorManager] [10s 278ms] SocketTube(1) got read error: java.io.IOException: connection closed locally
14:36:41.461 DEBUG [Http1Exchange.lambda$cancelImpl$9] - [pool-1-thread-3] [10s 278ms] Http1Exchange
http://100.115.92.25:9999/status: completed cf with java.net.ConnectException: HTTP connect timed out
14:36:41.461 DEBUG [SocketTube$InternalReadPublisher$InternalReadSubscription.read] - [HttpClient-1-SelectorManager] [10s 279ms] SocketTube(1) error raised before subscriber subscribed: java.io.IOException: connection closed locally
14:36:41.461 DEBUG [JdkHttpClient.execute] - Ending request (GET) /status in 10054ms
14:36:41.461 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [10s 279ms] HttpClientImpl(1) next timeout: 0
14:36:41.462 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [10s 279ms] HttpClientImpl(1) next expired: 0
14:36:41.462 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-1-SelectorManager] [10s 280ms] HttpClientImpl(1) Next deadline is 3000
14:36:41.463 DEBUG [SeleniumSpanExporter$1.lambda$export$4] - SpanData{spanContext=ImmutableSpanContext{traceId=06e452516516dfb77b09007726a4bf0c, spanId=8c88df3d8b024bea, traceFlags=01, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=true}, parentSpanContext=ImmutableSpanContext{traceId=00000000000000000000000000000000, spanId=0000000000000000, traceFlags=00, traceState=ArrayBasedTraceState{entries=[]}, remote=false, valid=false}, resource=Resource{schemaUrl=
https://opentelemetry.io/schemas/1.19.0, attributes={
service.name="unknown_service:java", telemetry.sdk.language="java",
telemetry.sdk.name="opentelemetry", telemetry.sdk.version="1.25.0"}}, instrumentationScopeInfo=InstrumentationScopeInfo{name=default, version=null, schemaUrl=null, attributes={}}, name=httpclient.execute, kind=INTERNAL, startEpochNanos=1684186591399000000, endEpochNanos=1684186601461277689, attributes=AttributesMap{data={span.kind=client, http.target=/status, http.method=GET}, capacity=128, totalAddedValues=3}, totalAttributeCount=3, events=[], totalRecordedEvents=0, links=[], totalRecordedLinks=0, status=ImmutableStatusData{statusCode=UNSET, description=}, hasEnded=true}
14:36:41.466 DEBUG [LocalDistributor.add] - Exception while adding Node
http://100.115.92.25:9999org.openqa.selenium.TimeoutException: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
Build info: version: '4.9.1', revision: 'eb2032df7f'
System info:
os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '11.7.7', java.version: '17.0.7'
Driver info: driver.version: unknown
at org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute(JdkHttpClient.java:336)
at org.openqa.selenium.remote.tracing.TracedHttpClient.execute(TracedHttpClient.java:55)
at org.openqa.selenium.grid.node.remote.RemoteNode.getStatus(RemoteNode.java:213)
at org.openqa.selenium.grid.distributor.local.LocalDistributor.add(LocalDistributor.java:329)
at org.openqa.selenium.grid.distributor.local.LocalDistributor.register(LocalDistributor.java:315)
at org.openqa.selenium.events.EventListener.accept(EventListener.java:43)
at org.openqa.selenium.events.EventListener.accept(EventListener.java:25)
at org.openqa.selenium.events.zeromq.UnboundZmqEventBus$PollingRunnable.lambda$notifyListeners$2(UnboundZmqEventBus.java:305)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.HttpClientImpl.send(HttpClientImpl.java:567)
at java.net.http/jdk.internal.net.http.HttpClientFacade.send(HttpClientFacade.java:123)
at org.openqa.selenium.remote.http.jdk.JdkHttpClient.execute(JdkHttpClient.java:307)
... 12 more
Caused by: java.net.http.HttpConnectTimeoutException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.MultiExchange.toTimeoutException(MultiExchange.java:580)
at java.net.http/jdk.internal.net.http.MultiExchange.getExceptionalCF(MultiExchange.java:527)
at java.net.http/jdk.internal.net.http.MultiExchange.lambda$responseAsyncImpl$7(MultiExchange.java:447)
at java.base/java.util.concurrent.CompletableFuture.uniHandle(CompletableFuture.java:934)
at java.base/java.util.concurrent.CompletableFuture$UniHandle.tryFire(CompletableFuture.java:911)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:510)
at java.base/java.util.concurrent.CompletableFuture.completeExceptionally(CompletableFuture.java:2162)
at java.net.http/jdk.internal.net.http.Http1Exchange.lambda$cancelImpl$9(Http1Exchange.java:483)
... 3 more
Caused by: java.net.ConnectException: HTTP connect timed out
at java.net.http/jdk.internal.net.http.MultiExchange.toTimeoutException(MultiExchange.java:581)
... 10 more
14:36:41.468 INFO [Node.<init>] - Binding additional locator mechanisms: relative
14:36:41.470 DEBUG [HttpClientImpl.<init>] - [Event Bus Listener Notifier] [10s 288ms] HttpClientImpl(2) proxySelector is sun.net.spi.DefaultProxySelector@2b3b769d (user-supplied=false)
14:36:41.470 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 288ms] HttpClientImpl(2) next timeout: 0
14:36:41.470 DEBUG [HttpTracing.inject] - Injecting (GET) /status into OpenTelemetryContext{tracer=io.opentelemetry.sdk.trace.SdkTracer@5123a213, context={}, span id=0000000000000000, trace id=00000000000000000000000000000000} at org.openqa.selenium.grid.node.remote.RemoteNode:211
14:36:41.470 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 288ms] HttpClientImpl(2) next expired: 0
14:36:41.471 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 289ms] HttpClientImpl(2) Next deadline is 3000
14:36:41.471 DEBUG [JdkHttpClient.execute] - Executing request: (GET) /status
14:36:41.471 DEBUG [HttpClientImpl.sendAsync] - [Event Bus Listener Notifier] [10s 289ms] HttpClientImpl(2) ClientImpl (async) send
http://100.115.92.25:9999/status GET
14:36:41.471 DEBUG [Exchange.establishExchange] - [Event Bus Listener Notifier] [10s 289ms] Exchange establishing exchange for
http://100.115.92.25:9999/status GET,
proxy=null
14:36:41.471 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 289ms] HttpClientImpl(2) next timeout: 180000
14:36:41.472 DEBUG [Http2ClientImpl.getConnectionFor] - [Event Bus Listener Notifier] [10s 289ms] Http2ClientImpl not found in connection pool
14:36:41.472 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 289ms] HttpClientImpl(2) next expired: 0
14:36:41.472 DEBUG [ExchangeImpl.get] - [Event Bus Listener Notifier] [10s 290ms] ExchangeImpl get: Trying to get HTTP/2 connection
14:36:41.472 DEBUG [HttpClientImpl$SelectorManager.run] - [HttpClient-2-SelectorManager] [10s 290ms] HttpClientImpl(2) Next deadline is 3000
14:36:41.472 DEBUG [ExchangeImpl.createExchangeImpl] - [Event Bus Listener Notifier] [10s 290ms] ExchangeImpl handling HTTP/2 connection creation result
14:36:41.472 DEBUG [ExchangeImpl.createExchangeImpl] - [Event Bus Listener Notifier] [10s 290ms] ExchangeImpl new Http1Exchange, try to upgrade
14:36:41.472 DEBUG [PlainHttpConnection.<init>] - [Event Bus Listener Notifier] [10s 290ms] PlainHttpConnection(?) Initial receive buffer size is: 131072
14:36:41.472 DEBUG [PlainHttpConnection.<init>] - [Event Bus Listener Notifier] [10s 290ms] PlainHttpConnection(?) Initial send buffer size is: 131072
14:36:41.473 DEBUG [Exchange.checkFor407] - [Event Bus Listener Notifier] [10s 291ms] Exchange checkFor407: all clear
14:36:41.473 DEBUG [Http1Exchange.sendHeadersAsync] - [Event Bus Listener Notifier] [10s 291ms] Http1Exchange Sending headers only
14:36:41.473 DEBUG [Http1AsyncReceiver.subscribe] - [Event Bus Listener Notifier] [10s 291ms] Http1AsyncReceiver(SocketTube(2)) Subscribed pending jdk.internal.net.http.Http1Response$HeadersReader@71c8521c queue.isEmpty: true