Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[🐛 Bug]: 504 Gateway Time-out for Selenium Grid sessions #1808

Closed
johnqa opened this issue Mar 15, 2023 · 4 comments · Fixed by #2047
Closed

[🐛 Bug]: 504 Gateway Time-out for Selenium Grid sessions #1808

johnqa opened this issue Mar 15, 2023 · 4 comments · Fixed by #2047

Comments

@johnqa
Copy link

johnqa commented Mar 15, 2023

What happened?

Hi,

I am trying to run some selenium tests with Selenium Grid deployed in a Kubernetes cluster.

I have noticed some random errors regarding the sessions so in order to have a proper way of reproducing them, I set a scale of 1 for Chrome browser and having the browser pod restarting after every session.

What I notice now is that after some (usually just 1) successful sessions being executed, the sessions existing in the queue are failing when trying to connect to browser pod with 504 Gateway Time-out.

if exception_class == ErrorInResponseException:
                raise exception_class(response, value)
>           raise exception_class(value)
E           selenium.common.exceptions.WebDriverException: Message: <html>
E           <head><title>504 Gateway Time-out</title></head>
E           <body>
E           <center><h1>504 Gateway Time-out</h1></center>
E           <hr><center>nginx</center>
E           </body>
E           </html>

I have tried with both c# and python clients and also on Firefox and with countless configs. Same issue in every case.

I am running the python script (attached) like this:
python -m pytest -n 3 --reruns 3 ./webdriver_test.py
webdriver_test.py.txt

Command used to start Selenium Grid with Docker

I install Selenium Grid in a Kubernetes cluster with latest provided helm chart setting the following environment variables:
hub:
- name: SE_SESSION_REQUEST_TIMEOUT 
  value: "3600"


chrome node:
- name: SE_DRAIN_AFTER_SESSION_COUNT
  value: "1"
- name: SE_NODE_SESSION_TIMEOUT
  value: "60"

Relevant log output

--------------------------------------------- hub logs ---------------------------------------------

2023-03-15 12:46:36,464 INFO Included extra file "/etc/supervisor/conf.d/selenium-grid-hub.conf" during parsing
2023-03-15 12:46:36,468 INFO RPC interface 'supervisor' initialized
2023-03-15 12:46:36,469 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2023-03-15 12:46:36,469 INFO supervisord started with pid 7
2023-03-15 12:46:37,472 INFO spawned: 'selenium-grid-hub' with pid 9
Tracing is disabled
2023-03-15 12:46:37,480 INFO success: selenium-grid-hub entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
12:46:38.476 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
12:46:38.481 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
12:46:38.797 INFO [BoundZmqEventBus.<init>] - XPUB binding to [binding to tcp://*:4442, advertising as tcp://10.42.7.81:4442], XSUB binding to [binding to tcp://*:4443, advertising as tcp://10.42.7.81:4443]
12:46:38.974 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://10.42.7.81:4442 and tcp://10.42.7.81:4443
12:46:39.003 INFO [UnboundZmqEventBus.<init>] - Sockets created
12:46:40.062 INFO [UnboundZmqEventBus.<init>] - Event bus ready
12:46:41.690 INFO [Hub.execute] - Started Selenium Hub 4.6.0 (revision 79f1c02ae20): http://10.42.7.81:4444
12:46:56.187 INFO [Node.<init>] - Binding additional locator mechanisms: id, name, relative
12:46:56.892 INFO [GridModel.setAvailability] - Switching Node cebaebbd-d910-4748-bac8-8dbdae973ef5 (uri: http://10.42.4.101:5555) from DOWN to UP
12:46:56.893 INFO [LocalDistributor.add] - Added node cebaebbd-d910-4748-bac8-8dbdae973ef5 at http://10.42.4.101:5555. Health check every 120s
12:47:01.272 INFO [Node.<init>] - Binding additional locator mechanisms: name, id, relative
12:47:01.286 INFO [GridModel.setAvailability] - Switching Node b3537fd4-1c15-4f85-a511-00bd6a7d005b (uri: http://10.42.4.112:5555) from DOWN to UP
12:47:01.286 INFO [LocalDistributor.add] - Added node b3537fd4-1c15-4f85-a511-00bd6a7d005b at http://10.42.4.112:5555. Health check every 120s
12:47:15.668 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:47:15.668 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:47:15.668 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:47:15.674 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 442b0666-e9aa-4f6b-9afe-6bc1b580d84e.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:47:15.675 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 2c71104e-6d96-4593-90db-b52485cfd9e6.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:47:15.681 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 442b0666-e9aa-4f6b-9afe-6bc1b580d84e.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:47:15.682 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 2c71104e-6d96-4593-90db-b52485cfd9e6.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:47:15.682 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "f33904b8139aeb6ddfe53144ce220bfd","eventTime": 1678884435668063530,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:47:15.683 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session 442b0666-e9aa-4f6b-9afe-6bc1b580d84e
12:47:15.683 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "ebdb1883dbf6a14858ee260df444bb53","eventTime": 1678884435667867874,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:47:15.685 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "f33904b8139aeb6ddfe53144ce220bfd","eventTime": 1678884435682148495,"eventName": "exception","attributes": {"exception.message": "Will retry session 442b0666-e9aa-4f6b-9afe-6bc1b580d84e","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:47:15.686 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session 2c71104e-6d96-4593-90db-b52485cfd9e6
12:47:15.688 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "ebdb1883dbf6a14858ee260df444bb53","eventTime": 1678884435682199154,"eventName": "exception","attributes": {"exception.message": "Will retry session 2c71104e-6d96-4593-90db-b52485cfd9e6","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:47:17.295 INFO [GridModel.setAvailability] - Switching Node cebaebbd-d910-4748-bac8-8dbdae973ef5 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:47:17.320 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: a02a354a1479e897b1417c0307d44c76
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.motRcd}, goog:chromeOptions: {debuggerAddress: localhost:44683}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:47:31.108 INFO [Node.<init>] - Binding additional locator mechanisms: relative, id, name
12:47:31.124 INFO [GridModel.setAvailability] - Switching Node d73fbc30-dde5-42ec-aac8-44460760a1e6 (uri: http://10.42.7.104:5555) from DOWN to UP
12:47:31.124 INFO [LocalDistributor.add] - Added node d73fbc30-dde5-42ec-aac8-44460760a1e6 at http://10.42.7.104:5555. Health check every 120s
12:47:48.304 INFO [GridModel.release] - Releasing slot for session id a02a354a1479e897b1417c0307d44c76
12:47:48.304 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: a02a354a1479e897b1417c0307d44c76
12:47:59.724 INFO [Node.<init>] - Binding additional locator mechanisms: relative, id, name
12:48:00.215 INFO [GridModel.setAvailability] - Switching Node 39309bac-02cd-4083-92f6-c66f9adbf765 (uri: http://10.42.4.101:5555) from DOWN to UP
12:48:00.215 INFO [LocalDistributor.add] - Added node 39309bac-02cd-4083-92f6-c66f9adbf765 at http://10.42.4.101:5555. Health check every 120s
12:48:00.219 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:48:00.221 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:48:00.227 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 442b0666-e9aa-4f6b-9afe-6bc1b580d84e.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:48:00.228 INFO [LocalDistributor.newSession] - Unable to find a free slot for request 442b0666-e9aa-4f6b-9afe-6bc1b580d84e.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:48:00.229 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "f33904b8139aeb6ddfe53144ce220bfd","eventTime": 1678884480220656724,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:48:00.229 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session 442b0666-e9aa-4f6b-9afe-6bc1b580d84e
12:48:00.230 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "f33904b8139aeb6ddfe53144ce220bfd","eventTime": 1678884480228061038,"eventName": "exception","attributes": {"exception.message": "Will retry session 442b0666-e9aa-4f6b-9afe-6bc1b580d84e","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:48:02.510 INFO [GridModel.setAvailability] - Switching Node 39309bac-02cd-4083-92f6-c66f9adbf765 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:48:02.590 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 7679786abb98a4d112b190687a2c1bb6
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.oVbsoP}, goog:chromeOptions: {debuggerAddress: localhost:38457}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:48:33.899 INFO [GridModel.release] - Releasing slot for session id 7679786abb98a4d112b190687a2c1bb6
12:48:33.899 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 7679786abb98a4d112b190687a2c1bb6
12:49:00.326 INFO [Node.<init>] - Binding additional locator mechanisms: name, relative, id
12:49:00.723 INFO [GridModel.setAvailability] - Switching Node 84383511-a5f1-4f6c-a8ce-791dd2bfa913 (uri: http://10.42.4.101:5555) from DOWN to UP
12:49:00.723 INFO [LocalDistributor.add] - Added node 84383511-a5f1-4f6c-a8ce-791dd2bfa913 at http://10.42.4.101:5555. Health check every 120s
12:49:00.726 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:49:00.726 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:49:00.727 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b624bdc6-12e3-48be-a6fa-ca96b5c8534f.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:49:00.728 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b624bdc6-12e3-48be-a6fa-ca96b5c8534f.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:49:00.729 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "40d6b3c004629d658b394a9c14cdd230","eventTime": 1678884540725792459,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:49:00.729 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session b624bdc6-12e3-48be-a6fa-ca96b5c8534f
12:49:00.730 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "40d6b3c004629d658b394a9c14cdd230","eventTime": 1678884540728252616,"eventName": "exception","attributes": {"exception.message": "Will retry session b624bdc6-12e3-48be-a6fa-ca96b5c8534f","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:49:03.215 INFO [GridModel.setAvailability] - Switching Node 84383511-a5f1-4f6c-a8ce-791dd2bfa913 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:49:03.289 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 055c59cfc5c5c4f0bc939cdc9b2a9df6
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.kchYuN}, goog:chromeOptions: {debuggerAddress: localhost:43755}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:50:29.995 INFO [GridModel.release] - Releasing slot for session id 055c59cfc5c5c4f0bc939cdc9b2a9df6
12:50:29.995 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 055c59cfc5c5c4f0bc939cdc9b2a9df6
12:50:31.327 WARN [DefaultChannelPipeline.onUnhandledInboundException] - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
org.openqa.selenium.WebDriverException: java.lang.IllegalArgumentException: statusCode
Build info: version: '4.6.0', revision: '79f1c02ae20'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-425.13.1.el8_7.x86_64', java.version: '11.0.16'
Driver info: driver.version: unknown
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.send(JdkHttpClient.java:232)
at org.openqa.selenium.netty.server.WebSocketMessageHandler.lambda$channelRead0$0(WebSocketMessageHandler.java:47)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: statusCode
at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl.sendClose(WebSocketImpl.java:301)
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.lambda$send$2(JdkHttpClient.java:215)
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.send(JdkHttpClient.java:222)
... 9 more
12:51:05.296 INFO [Node.<init>] - Binding additional locator mechanisms: id, relative, name
12:51:05.597 INFO [GridModel.setAvailability] - Switching Node 69984d14-5d6b-404d-994e-af5e82600d59 (uri: http://10.42.4.101:5555) from DOWN to UP
12:51:05.598 INFO [LocalDistributor.add] - Added node 69984d14-5d6b-404d-994e-af5e82600d59 at http://10.42.4.101:5555. Health check every 120s
12:51:05.599 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:51:05.600 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:51:05.600 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:51:05.601 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b5596825-3dd8-47ba-909a-b081bc97d3b0.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:51:05.601 INFO [LocalDistributor.newSession] - Unable to find a free slot for request caa2efc8-3439-4014-9465-36bb90d521af.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:51:05.601 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b5596825-3dd8-47ba-909a-b081bc97d3b0.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:51:05.601 INFO [LocalDistributor.newSession] - Unable to find a free slot for request caa2efc8-3439-4014-9465-36bb90d521af.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:51:05.602 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "6e4a1f367317866c310c076c756d6e35","eventTime": 1678884665599668505,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:51:05.602 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "ec5f1b15313c8d8759348a7aeeb7a3f3","eventTime": 1678884665599500070,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:51:05.602 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session b5596825-3dd8-47ba-909a-b081bc97d3b0
12:51:05.602 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session caa2efc8-3439-4014-9465-36bb90d521af
12:51:05.603 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "6e4a1f367317866c310c076c756d6e35","eventTime": 1678884665601408503,"eventName": "exception","attributes": {"exception.message": "Will retry session b5596825-3dd8-47ba-909a-b081bc97d3b0","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:51:05.603 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "ec5f1b15313c8d8759348a7aeeb7a3f3","eventTime": 1678884665601506660,"eventName": "exception","attributes": {"exception.message": "Will retry session caa2efc8-3439-4014-9465-36bb90d521af","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:51:07.492 INFO [GridModel.setAvailability] - Switching Node 69984d14-5d6b-404d-994e-af5e82600d59 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:51:07.576 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 24df03fae7e150620af597184ed24e79
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.sA1FEV}, goog:chromeOptions: {debuggerAddress: localhost:42449}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:52:35.067 INFO [GridModel.release] - Releasing slot for session id 24df03fae7e150620af597184ed24e79
12:52:35.067 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 24df03fae7e150620af597184ed24e79
12:53:26.481 INFO [Node.<init>] - Binding additional locator mechanisms: name, relative, id
12:53:26.788 INFO [GridModel.setAvailability] - Switching Node 79f6aa41-9018-4c02-bc12-d54f36a81783 (uri: http://10.42.4.101:5555) from DOWN to UP
12:53:26.789 INFO [LocalDistributor.add] - Added node 79f6aa41-9018-4c02-bc12-d54f36a81783 at http://10.42.4.101:5555. Health check every 120s
12:53:26.790 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:53:26.790 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:53:26.792 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b5596825-3dd8-47ba-909a-b081bc97d3b0.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }
12:53:26.793 INFO [LocalDistributor.newSession] - Unable to find a free slot for request b5596825-3dd8-47ba-909a-b081bc97d3b0.
Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}
12:53:26.794 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "6e4a1f367317866c310c076c756d6e35","eventTime": 1678884806790431641,"eventName": "Session request received by the Distributor","attributes": {"logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:53:26.795 WARN [SeleniumSpanExporter$1.lambda$export$1] - Will retry session b5596825-3dd8-47ba-909a-b081bc97d3b0
12:53:26.795 WARN [SeleniumSpanExporter$1.lambda$export$3] - {"traceId": "6e4a1f367317866c310c076c756d6e35","eventTime": 1678884806794113484,"eventName": "exception","attributes": {"exception.message": "Will retry session b5596825-3dd8-47ba-909a-b081bc97d3b0","logger": "org.openqa.selenium.grid.distributor.local.LocalDistributor","request.payload": "[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]"}}
12:53:28.784 INFO [GridModel.setAvailability] - Switching Node 79f6aa41-9018-4c02-bc12-d54f36a81783 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:53:28.801 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: bf2ac9f9357ad50ae153c00deb301c3c
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.VBjOtU}, goog:chromeOptions: {debuggerAddress: localhost:42129}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:54:56.194 INFO [GridModel.release] - Releasing slot for session id bf2ac9f9357ad50ae153c00deb301c3c
12:54:56.194 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: bf2ac9f9357ad50ae153c00deb301c3c
12:56:27.820 INFO [Node.<init>] - Binding additional locator mechanisms: relative, name, id
12:56:28.141 INFO [GridModel.setAvailability] - Switching Node b1d49395-3b68-4f71-8394-0534e132e216 (uri: http://10.42.4.101:5555) from DOWN to UP
12:56:28.142 INFO [LocalDistributor.add] - Added node b1d49395-3b68-4f71-8394-0534e132e216 at http://10.42.4.101:5555. Health check every 120s
12:56:28.143 INFO [LocalDistributor.newSession] - Session request received by the Distributor:
[Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platform: ANY, platformName: LINUX, version: }, Capabilities {browserName: chrome, goog:chromeOptions: {args: [--no-sandbox, --disable-dev-shm-usage, --ignore-certificate-errors], extensions: []}, platformName: LINUX}]
12:56:30.393 INFO [GridModel.setAvailability] - Switching Node b1d49395-3b68-4f71-8394-0534e132e216 (uri: http://10.42.4.101:5555) from UP to DRAINING
12:56:30.408 INFO [LocalDistributor.newSession] - Session created by the Distributor. Id: 9256c20a3d347960a96763c36b6057fa
Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.BeEDRP}, goog:chromeOptions: {debuggerAddress: localhost:46675}, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: ANY, platformName: ANY, proxy: {}, se:bidiEnabled: false, se:cdp: ws://10.42.4.101:4444/sessi..., se:cdpVersion: 107.0.5304.87, se:vnc: ws://10.42.4.101:4444/sessi..., se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, version: , webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:57:57.511 INFO [GridModel.release] - Releasing slot for session id 9256c20a3d347960a96763c36b6057fa
12:57:57.511 INFO [LocalSessionMap.lambda$new$0] - Deleted session from local Session Map, Id: 9256c20a3d347960a96763c36b6057fa
12:57:58.847 WARN [DefaultChannelPipeline.onUnhandledInboundException] - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
org.openqa.selenium.WebDriverException: java.lang.IllegalArgumentException: statusCode
Build info: version: '4.6.0', revision: '79f1c02ae20'
System info: os.name: 'Linux', os.arch: 'amd64', os.version: '4.18.0-425.13.1.el8_7.x86_64', java.version: '11.0.16'
Driver info: driver.version: unknown
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.send(JdkHttpClient.java:232)
at org.openqa.selenium.netty.server.WebSocketMessageHandler.lambda$channelRead0$0(WebSocketMessageHandler.java:47)
at io.netty.util.concurrent.AbstractEventExecutor.runTask(AbstractEventExecutor.java:174)
at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:167)
at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:470)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:566)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.IllegalArgumentException: statusCode
at java.net.http/jdk.internal.net.http.websocket.WebSocketImpl.sendClose(WebSocketImpl.java:301)
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.lambda$send$2(JdkHttpClient.java:215)
at org.openqa.selenium.remote.http.jdk.JdkHttpClient$5.send(JdkHttpClient.java:222)
... 9 more
13:00:50.705 INFO [Node.<init>] - Binding additional locator mechanisms: name, relative, id
13:00:51.081 INFO [GridModel.setAvailability] - Switching Node 70eac5f8-7335-4928-a980-8c44dbb74253 (uri: http://10.42.4.101:5555) from DOWN to UP
13:00:51.081 INFO [LocalDistributor.add] - Added node 70eac5f8-7335-4928-a980-8c44dbb74253 at http://10.42.4.101:5555. Health check every 120s
--------------------------------------------- -------- ---------------------------------------------

--------------------------------------------- chrome node logs -------------------------------------
Starting Selenium Grid Node...
2023-03-15 12:44:36,777 INFO success: xvfb entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-15 12:44:36,777 INFO success: vnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2023-03-15 12:44:36,777 INFO success: novnc entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
12:44:37.200 INFO [LoggingOptions.configureLogEncoding] - Using the system default encoding
12:44:37.205 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
12:44:37.576 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://selenium-hub:4442 and tcp://selenium-hub:4443
12:44:37.698 INFO [UnboundZmqEventBus.<init>] - Sockets created
12:44:38.701 INFO [UnboundZmqEventBus.<init>] - Event bus ready
12:44:38.978 INFO [NodeServer.createHandlers] - Reporting self as: http://10.42.4.101:5555
12:44:39.002 INFO [NodeOptions.getSessionFactories] - Detected 1 available processors
12:44:39.100 INFO [NodeOptions.report] - Adding chrome for {"browserVersion": "107.0","se:noVncPort": 7900,"browserName": "chrome","platformName": "LINUX","se:vncEnabled": true} 1 times
12:44:39.178 INFO [Node.<init>] - Binding additional locator mechanisms: id, name, relative
12:44:39.516 INFO [NodeServer$1.start] - Starting registration process for Node http://10.42.4.101:5555
12:44:39.517 INFO [NodeServer.execute] - Started Selenium node 4.6.0 (revision 79f1c02ae20): http://10.42.4.101:5555
12:44:39.530 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
12:44:39.802 INFO [NodeServer.lambda$createHandlers$2] - Node has been added
Starting ChromeDriver 107.0.5304.62 (1eec40d3a5764881c92085aaee66d25075c159aa-refs/branch-heads/5304@{#942}) on port 26483
Only local connections are allowed.
Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping ChromeDriver safe.
ChromeDriver was started successfully.
[1678884435.798][SEVERE]: CreatePlatformSocket() failed: Address family not supported by protocol (97)
[1678884436.876][SEVERE]: CreatePlatformSocket() failed: Address family not supported by protocol (97)
12:47:17.281 WARN [ProtocolHandshake.createSession] - Support for Legacy Capabilities is deprecated; You are sending the following invalid capabilities: [version, platform]; Please update to W3C Syntax: https://www.selenium.dev/blog/2022/legacy-protocol-support/
12:47:17.292 INFO [LocalNode.checkSessionCount] - Draining Node, configured sessions value (1) has been reached.
12:47:17.296 INFO [LocalNode.newSession] - Session created by the Node. Id: a02a354a1479e897b1417c0307d44c76, Caps: Capabilities {acceptInsecureCerts: false, browserName: chrome, browserVersion: 107.0.5304.87, chrome: {chromedriverVersion: 107.0.5304.62 (1eec40d3a576..., userDataDir: /tmp/.com.google.Chrome.motRcd}, goog:chromeOptions: {debuggerAddress: localhost:44683}, networkConnectionEnabled: false, pageLoadStrategy: normal, platformName: ANY, proxy: Proxy(), se:cdp: http://localhost:44683, se:cdpVersion: 107.0.5304.87, se:vncEnabled: true, se:vncLocalAddress: ws://10.42.4.101:7900, setWindowRect: true, strictFileInteractability: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}, unhandledPromptBehavior: dismiss and notify, webauthn:extension:credBlob: true, webauthn:extension:largeBlob: true, webauthn:virtualAuthenticators: true}
12:47:48.302 INFO [SessionSlot.stop] - Stopping session a02a354a1479e897b1417c0307d44c76
12:47:48.303 INFO [LocalNode.lambda$new$3] - Node draining complete!
12:47:49.307 INFO [NodeServer.lambda$createHandlers$3] - Shutting down
2023-03-15 12:47:49,648 INFO exited: selenium-node (exit status 0; expected)
2023-03-15 12:47:49,648 WARN received SIGINT indicating exit request
2023-03-15 12:47:49,649 INFO waiting for xvfb, vnc, novnc to die
2023-03-15 12:47:51,653 INFO stopped: novnc (terminated by SIGTERM)
2023-03-15 12:47:52,655 INFO stopped: vnc (terminated by SIGTERM)
2023-03-15 12:47:52,656 INFO waiting for xvfb to die
2023-03-15 12:47:53,658 INFO stopped: xvfb (terminated by SIGTERM)
--------------------------------------------- -------- ---------------------------------------------

Operating System

RedHat

Docker Selenium version (tag)

4.8.1-20230306

@github-actions
Copy link

@johnqa, thank you for creating this issue. We will troubleshoot it as soon as we can.


Info for maintainers

Triage this issue by using labels.

If information is missing, add a helpful comment and then I-issue-template label.

If the issue is a question, add the I-question label.

If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted label.

If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C), add the applicable G-* label, and it will provide the correct link and auto-close the issue.

After troubleshooting the issue, please add the R-awaiting answer label.

Thank you!

@diemol
Copy link
Member

diemol commented Mar 15, 2023

That 504 seems to come from ngnix, which Grid does not have. I assume you have that layer on top and you need to adjust the timeout there.

@johnqa
Copy link
Author

johnqa commented Mar 16, 2023

Thank you, indeed it seemes to be an issue outside Selenium Grid. The timeout on the ingress controller of Kubernetes cluster was set to 60 seconds. By making it higher I have no more 504 errors.

Basically I added this annotation to the nginx ingress: nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"

Copy link

github-actions bot commented Dec 9, 2023

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants