Description
What happened?
I am trying to connect the grid setup in my cloud. I am able to create the session but for some reason, I cant run the tests.
Seems like websocket connection is getting timed out.
I tried to setup in my mac M1 using docker and the tests run fine.
Command used to start Selenium Grid with Docker
SELENIUM_REMOTE_URL=<REMOTE_URL> npx playwright test
Relevant log output
browserType.launch: WebSocket error: connect ETIMEDOUT 100.120.0.11:4444 =========================== logs =========================== <selenium> connecting to https://selenium-grid-hub.shopk8sd.int.aws.zooplus.io/ <selenium> connected to sessionId=12e22eceade9d3318cfff06c4551f4c9 <selenium> using selenium v4 <selenium> retrieved endpoint ws://100.120.0.11:4444/session/12e22eceade9d3318cfff06c4551f4c9/se/cdp for sessionId=12e22eceade9d3318cfff06c4551f4c9 <ws connecting> ws://100.120.0.11:4444/session/12e22eceade9d3318cfff06c4551f4c9/se/cdp <ws error> ws://100.120.0.11:4444/session/12e22eceade9d3318cfff06c4551f4c9/se/cdp error connect ETIMEDOUT 100.120.0.11:4444 <ws connect error> ws://100.120.0.11:4444/session/12e22eceade9d3318cfff06c4551f4c9/se/cdp connect ETIMEDOUT 100.120.0.11:4444 <ws disconnected> ws://100.120.0.11:4444/session/12e22eceade9d3318cfff06c4551f4c9/se/cdp code=1006 reason= <selenium> disconnecting from sessionId=12e22eceade9d3318cfff06c4551f4c9 <selenium> disconnected from sessionId=12e22eceade9d3318cfff06c4551f4c9 ============================================================
Operating System
Ubuntu
Docker Selenium version (tag)
4.6.0