Skip to content

[🐛 Bug]: Unable to Create Grid Node #10073

@Metonya

Description

@Metonya

What happened?

Hello,
I'm trying to get the grid up and running with Selenium 4.0. I get an error when I try to connect the Node after I stand up the hub.
I don't have this problem when I start it as standalone.
https://gist.github.com/Metonya/506fd064b6f724a1f47144c01cfad986

How can we reproduce the issue?

java -jar selenium-server-4.0.0.jar hub
java -jar selenium-server-4.0.0.jar node --detect-drivers true

Relevant log output

Node;
INFO [NodeServer$1.lambda$start$1] - Sending registration event...

Hub;
Caused by: org.openqa.selenium.json.JsonException: Unable to create instance of class org.openqa.selenium.grid.data.NodeStatus
...
Caused by: java.lang.IllegalArgumentException: Slot ID must be set
        at org.openqa.selenium.internal.Require.nonNull(Require.java:56)
        at org.openqa.selenium.grid.data.Slot.<init>(Slot.java:38)
        at org.openqa.selenium.grid.data.Slot.fromJson(Slot.java:116)
        ... 40 more

Status;
6:27
{
  "value": {
    "ready": false,
    "message": "Selenium Grid not ready.",
    "nodes": [
    ]
  }
}

Operating System

Windows 10

Selenium version

Java Selenium 4.0

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

Chrome

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

96.0.4664.45

Are you using Selenium Grid?

4.0.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