-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[🐛 Bug]: Error while creating session, because of java.util.concurrent.TimeoutException #2373
Comments
@zsbutosi, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
I saw headless is mentioned, but I am not sure selenide pass which argument? |
@VietND96 Thank you for the response. As I see, the problem is when I try to run multiple browser sessions in one chrome-node. |
@VietND96 I think I found a solution. So currently it seems to be working with the following env variables: So it seems that xvfb is a must have to use GRID. Also an other weird thing is that the chrome-node info in GRID states the following:
But as I said before, vnc and novnc is disabled. Thx |
Thanks for your feedback, I think a note on README also mentioned a similar issue https://github.com/SeleniumHQ/docker-selenium?tab=readme-ov-file#headless |
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. |
What happened?
Hi!
We have been using selenium grid docker image in kubernetes setup for almost 2 years now.
But since the 4.23.0 version, we get
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: Could not start a new session. java.util.concurrent.TimeoutException
errors.I can reproduce it locally with docker container too.
I have tried the docker image
4.23.0-20240727
,4.23.1-20240820
and thenightly
build too, with the same result.For testing framework, we are using selenide, with kotlin and java21.
Currently we are using selenide version 7.4.2, which is using selenium 4.23.1.
The browser config for chrome is the following:
and we also set
Configuration.headless
as true for the selenide config.Command used to start Selenium Grid with Docker (or Kubernetes)
Operating System
Ubuntu
Docker Selenium version (image tag)
4.23.1-20240820
Selenium Grid chart version (chart version)
N/A
The text was updated successfully, but these errors were encountered: