[๐Ÿ› Bug]: Selenium 4 Node is not registering with Hub in same machine in windows 10

See original GitHub issue

What happened?

When the user tried to launch the selenium 4 hub with selenium server version as 4.1.2 or 4.2.1. User is successfully able to launch the Hub without any issues.

But something when the user tried to register the node with the Hub, the user keep on getting โ€œsending registration eventโ€.

Hub launching: image

Node Lanching: image

Note: I have opened port number 5555 for recognition as well.

Hence can anyone please provide the solution here.

How can we reproduce the issue?

1. Download the selenium server 4.1.2 or selenium standalone server 4.2.1 

2. Run the command: 
   ===============
   java -jar selenium-server-<version>.jar hub

3. Run the command:
   ===============
   java -jar selenium-server-<version>.jar node

Relevant log output

D:\Grid 4>java -jar selenium-server-4.1.2.jar node
10:06:06.736 INFO [LogManager$RootLogger.log] - Using the system default encoding
10:06:06.736 INFO [OpenTelemetryTracer.createTracer] - Using OpenTelemetry for tracing
10:06:07.238 INFO [UnboundZmqEventBus.<init>] - Connecting to tcp://0.0.0.0:4442 and tcp://0.0.0.0:4443
10:06:07.291 INFO [UnboundZmqEventBus.<init>] - Sockets created
10:06:08.294 INFO [UnboundZmqEventBus.<init>] - Event bus ready
10:06:09.245 INFO [NodeServer.createHandlers] - Reporting self as: http://192.168.1.35:5555
10:06:10.968 INFO [NodeOptions.getSessionFactories] - Detected 8 available processors
10:06:11.017 INFO [NodeOptions.discoverDrivers] - Discovered 2 driver(s)
10:06:11.050 INFO [NodeOptions.report] - Adding Chrome for {"browserName": "chrome"} 8 times
10:06:11.050 INFO [NodeOptions.report] - Adding Firefox for {"browserName": "firefox"} 8 times
10:06:11.050 INFO [Node.<init>] - Binding additional locator mechanisms: name, id, relative
10:06:12.676 INFO [NodeServer$1.start] - Starting registration process for node id 1707cdec-ae09-43c6-a813-f12545b9d42d
10:06:12.684 INFO [NodeServer.execute] - Started Selenium node 4.1.2 (revision 9a5a329c5a): http://192.168.1.35:5555
10:06:12.684 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:06:22.701 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:06:32.715 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:06:42.745 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:06:52.753 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:02.764 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:12.771 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:22.784 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:32.806 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:42.816 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:07:52.830 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:08:02.854 INFO [NodeServer$1.lambda$start$1] - Sending registration event...
10:08:12.722 INFO [NodeServer$1.lambda$start$1] - Sending registration event...

Operating System

Windows 10

Selenium version

4.1.2 or 4.2.1

What are the browser(s) and version(s) where you see this issue?

NA

What are the browser driver(s) and version(s) where you see this issue?

NA

Are you using Selenium Grid?

4.1.2 or 4.2.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
diemolcommented, Jun 14, 2022

I believe @manu141 is right. I am not able to reproduce this issue.

Hub image Node image

Iโ€™ll close this issue and when fine logs are provided we can reopen.

0reactions
github-actions[bot]commented, Jul 15, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Selenium Grid 4 Nodes do not register in the Hub
When I run the hub in the --log-level FINEST I found that the hub can not connect to the node by port 5555....
Read more >
Selenium Grid Tutorial: Setup and Example of Cross Browser ...
Hi I have got an error when i was running the statement in Node machine. Exception in thread โ€œmainโ€ java.lang.Unsupported โ€”โ€”โ€”โ€”โ€” Could not...
Read more >
Selenium Grid Setup: The Complete Guide - Medium
First, download and install JDK on both hub and node(s), then navigate to the Oracle web page to download and install the latest...
Read more >
Learn Selenium Grid - Next Generation Automation
A node is supposed to have different platforms i.e. different operating system and browsers. The node does not need the same platform for...
Read more >
Selenium plugin "couldn't register this node : Hub is down or ...
So I supposse it's not a network problem but a Jenkins configuration problem. I tried with a Windows 8 and a VM Ubuntu...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found