So what I'm noticing are random ETIMEDOUT errors at any point in a test (beg/med/end). There doesn't seem to be any rhyme or reason as to which tests this occurs on or when. The error I'm seeing is:
Failed: ETIMEDOUT connect ETIMEDOUT <ip>
The stack trace is:
[chrome #01-3] ├--Spec completed
[chrome #01-3] ├--Failed assertions: 1
[chrome #01-3] ├----Failed: ETIMEDOUT connect ETIMEDOUT 52.0.174.230:4444
[chrome #01-3] ├----Error: ETIMEDOUT connect ETIMEDOUT 52.0.174.230:4444
[chrome #01-3] at ClientRequest.<anonymous> (C:\dev\project\e2e\node_modules\selenium-webdriver\http\index.js:238:15)
[chrome #01-3] at ClientRequest.emit (events.js:200:13)
[chrome #01-3] at Socket.socketErrorListener (_http_client.js:410:9)
[chrome #01-3] at Socket.emit (events.js:200:13)
[chrome #01-3] at emitErrorNT (internal/streams/destroy.js:91:8)
[chrome #01-3] at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
[chrome #01-3] at processTicksAndRejections (internal/process/task_queues.js:84:9)
I've tried everything I can think of including different chrome options, changing AWSVPC settings, changing selenium hub/chrome docker versions, and changing the amount of tests that run in the cluster at any given time but all to no avail.
Using docker images selenium/hub:3.141.59 and same with chrome node selenium/node-chrome:3.141.59.
Any ideas on how to resolve this error?