-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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]: getting java.lang.RuntimeException: org.openqa.selenium.SessionNotCreatedException:with RemoteWebDriver with latest 4.6.0 grid and selenium 4.6.0 #11327
Comments
@pavanwashimkar, 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! |
Thank you for sharing the details. I have a few questions.
Thank you! |
@pujagani , Thanks for prompt response.
|
Thank you for your response.
|
Hi @pujagani , Thanks for the input. |
Apologies, I did not know you were running the Grid in docker. In 4.6.0 it defaults to using the Java 11 client when using docker. So you are good on that front. We will need a reproducible test script to reproduce the error. |
Hi @pujagani , I am still working on the process to share few test cases with you. Meanwhile just wanted to give some inputs which might help you in debugging this issue.
|
I appreciate the details. However, the test framework used does not help much unless the issue is related to it. The goal is to isolate the issue to Selenium and narrow it down so we can triage and fix it. Thank you for putting the test cases together. Since you are using docker and have a test framework setup, it might be a good idea to put everything in a Github repo with instructions on how to run it so we can reproduce it exactly. Even standalone test cases or reproducible code snippets are fine as long the error is reproducible. |
Closing as we did not get more concrete information. |
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?
As per the solution provided under below issue.
java.util.concurrent.TimeoutException thrown at random netty read timeouts with RemoteWebDriver #9528
I tried but not able to fix this and still getting the same issue.
Can someone please help.
java.lang.RuntimeException: org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Possible causes are invalid address of the remote server or browser start-up failure.
Tried below after installing distr grid latest version (4.6.0)
Include selenium-http-jdk-client. with maven you would do this:
org.seleniumhq.selenium
selenium-http-jdk-client
${selenium.version}
Before creating WebDriver() call:
System.setProperty("webdriver.http.factory", "jdk-http-client");
How can we reproduce the issue?
Relevant log output
Operating System
Linux
Selenium version
selenium-java/4.6.0,selenium-http-jdk-client-4.6.0,System info: os.name: 'Linux', java.version: '11.0.12
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?
ChromeDriver 107 (latest version)
Are you using Selenium Grid?
4.6.0
The text was updated successfully, but these errors were encountered: