Skip to content

[πŸ› Bug]: Unable to register selenium node to remote selenium hub 4 Β #14573

@capnand

Description

@capnand

What happened?

I'm using selenium grid 4.22.0
I'm running selenium hub in a k8 cluster and all required ports like 4444, 4442, 4443 are correctly exposed and working.
So when Im trying to register my local windows as a node to remote selenium hub, Im a having issues
I tried in two ways

  1. java -jar selenium-server-4.22.0.jar node --publish-events tcp://:4442 --subscribe-events tcp://:4443
    it is sending multiple registration requests to hub
    image

  2. java -jar selenium-server-4.22.0.jar node --publish-events tcp://:4442 --subscribe-events tcp://:4443 --host
    Im getting Caused by: java.net.BindException: Cannot assign requested address: bind
    image

How can we reproduce the issue?

note use selenium grid 4
1.run selenium hub in k8 cluster or run selenium hub in different machine
2. try connecting selenium node to remote selenium hub

Relevant log output

1. java -jar selenium-server-4.22.0.jar node --publish-events tcp://<hubip>:4442 --subscribe-events tcp://<hubip>:4443 
it is sending multiple registration requests to hub
![image](https://github.com/user-attachments/assets/5e7d16c9-466f-468d-a39f-43f86f908dbe)

2. java -jar selenium-server-4.22.0.jar node --publish-events tcp://<hubip>:4442 --subscribe-events tcp://<hubip>:4443  --host <public ip of node>
Im getting Caused by: java.net.BindException: Cannot assign requested address: bind
![image](https://github.com/user-attachments/assets/2352ad0c-1161-44cb-afe7-3e9bf99fb444)

Operating System

windows 10

Selenium version

4.22.0

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

nothing

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

nothing

Are you using Selenium Grid?

4.22.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-gridEverything grid and server relatedI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions