I am currently trying to connect a node (PC #1) to my distributed selenium grid (PC #2), but my node is unable to make the connection. (PC #1 is Windows 10, PC #2 is Windows 11)
I am using the selenium-server-4.7.2.jar file and have exposed the ports being used by the machines.
The commands I'm using to run the hub (in 5 terminals):
java -jar selenium-server-4.7.2.jar event-bus
java -jar selenium-server-4.7.2.jar sessions
java -jar selenium-server-4.7.2.jar sessionqueue
java -jar selenium-server-4.7.2.jar distributor --sessions http://localhost:5556 --sessionqueue http://localhost:5559 --bind-bus false
java -jar selenium-server-4.7.2.jar router --sessions http://localhost:5556 --distributor http://localhost:5553 --sessionqueue http://localhost:5559
Each of these terminals responds with success messages.
The command I run on my node:
java -jar selenium-server-4.7.2.jar node --publish-events http://<hubip>:4442 --subscribe-events http://<hubip>:4443
This terminal responds with the following messages:
Connecting to http://<hubip>:4442 and http://<hubip>:4443
Connecting to http://<hubip>:4442 and http://<hubip>:4443 Failed
Failure #1. Retrying.
Connecting to http://<hubip>:4442 and http://<hubip>:4443
Connecting to http://<hubip>:4442 and http://<hubip>:4443 Failed
Failure #2. Retrying.
...and so on
Any ideas? Would really appreciate the help.
EDIT1: I have also tried adding the --host
param to the commands, for both the node and hub, using the IPv6 of my default gateway. The node gets to a later step this way, but I instead get stuck with a loop of Sending registration event...
EDIT2: I get the same result as EDIT1 when replacing http
with tcp