Skip to content

Server attempts indefinitely to create a session with invalid capabilities #9154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
barancev opened this issue Feb 7, 2021 · 0 comments · Fixed by #9193
Closed

Server attempts indefinitely to create a session with invalid capabilities #9154

barancev opened this issue Feb 7, 2021 · 0 comments · Fixed by #9193
Assignees
Labels
B-grid Everything grid and server related

Comments

@barancev
Copy link
Member

barancev commented Feb 7, 2021

🐛 Bug Report

Server attempts indefinitely to create a session with invalid capabilities

To Reproduce

Start a server and attempt to create a session with invalid capabilities:

FirefoxOptions options = new FirefoxOptions();
options.setCapability("moz:unsupported", "foo");
driver = new RemoteWebDriver(options);

The server tries to start a session, this attempt ends wity a failure, the server puts the request back to the queue and later try again to create a session and so on ad infinem.

Later the client thows SessionNotCreatedException after a timeout, but the server continues its attempts to create a session.

Environment

OS: Win10
Browser: Firefox
Browser version: 83
Browser Driver version: 0.29
Language Bindings version: Java
Selenium Grid version (if applicable): 4.0-alpha-7

@ghost ghost added the A-needs-triaging A Selenium member will evaluate this soon! label Feb 7, 2021
@barancev barancev added the B-grid Everything grid and server related label Feb 7, 2021
@diemol diemol removed the A-needs-triaging A Selenium member will evaluate this soon! label Feb 10, 2021
@pujagani pujagani self-assigned this Feb 12, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
B-grid Everything grid and server related
Projects
None yet
3 participants