Skip to content

[🐛 Bug]: Stop Method Fails to Terminate Node Server #16307

@sathanRaj

Description

@sathanRaj

Description

I started the Browser Node using the org.openqa.selenium.grid.node.httpd.NodeServer class and need to stop the NodeServer in certain use cases.

I tried using the stop() method to stop the NodeServer, but the server does not stop, and the port remains occupied even after calling stop().

Expected behaviour: The stop() method should properly shut down the NodeServer and release the port.

Reproducible Code

//Code used to Start the server
NodeServer nodeServer = new NodeServer();
Server server = nodeServer.asServer(nodeConfiguration);
server.start();

//Code used to Stop the server
server.stop();

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!B-gridEverything grid and server relatedC-javaJava BindingsI-defectSomething is not working as intendedOS-mac

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions