-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
[🐛 Bug]: Selenium Grid 4.29 - GoAway Errors #15805
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
Comments
@tgoswami013, thank you for creating this issue. We will troubleshoot it as soon as we can. Selenium Triage Team: remember to follow the Triage Guide |
Please verify that this issue still occurs with the latest version. If it no longer applies, you can close this issue or update your comment. This issue will be marked "awaiting answer" and may be closed automatically if no response is received. |
Currently Selenium Grid is not managed by me it is managed at server level by DevOps Team. I can not upgrade the Selenium Grid. Could you please provide some information looking at logs and code, what could be the possible reason for GoAway. |
That is usuall an infrastructure issue. You need to correlate the status of the machine with the moment when it happens. What processes are open, if more browsers are open at the same time, what is the load and memory usage, etc. It is hard for us to say where the issue is without you doing a deeper analysis and providing more information. |
For message "GoAway", we had a long discussion before #14258. |
Thank you @VietND96 I will try this with the DevOps team and update here if fixed. |
Hi @VietND96 We have set below paramaters in ingress but still getting same GoAway error nginx.ingress.kubernetes.io/http2: "false" |
Here is the complete file apiVersion: networking.k8s.io/v1 |
|
@VietND96 None of the test is taking more than 10 minutes. Is this time for Each test case or for whole suite consiting of all the test cases. Also, few test cases fail in less than 10 seconds on login page with GoAway error. |
Actually, it is the duration since the session was created. If your framework is implemented to reuse the same session across tests in a suite, it would be a problem. |
@VietND96 Let me ask the DevOps team to increase it but we are closing browser after every test. Multiple teams are running the grid on same time. I am not sure how they have writting their scripts. For us, we always quit the session after test execution. |
@VietND96 We increased the timeout to 30 minutes, which has reduced the number of GOAWAY errors, but they still happen occasionally. We checked the Selenium Grid session IDs, and confirmed that each test case uses a unique session, so there’s no session sharing issue. Another thing we noticed: when more teams start using the Grid at the same time, we begin to see more GOAWAY errors — but those teams don’t seem to be affected by them as reported by them to us. |
Hey @VietND96 anything else we should try. Please suggest. |
Look at code snippet System.setProperty("webdriver.http.factory", "jdk-http-client");
System.setProperty("jdk.httpclient.http.version", "1.1");
System.setProperty("webdriver.http.timeout", "180000");
System.setProperty("jdk.httpclient.http2.disabled", "true");
System.setProperty("jdk.httpclient.debug", "true"); I am not sure you get these props from which document? Let's remove all these and try below System.setProperty("webdriver.httpclient.readTimeout", "1800"); //Unit in seconds
System.setProperty("webdriver.httpclient.version", "HTTP_1_1"); |
Hi @VietND96 Thanks a lot, I think below solution is working. I will confirm by running multiple builds. So far No GoAway seen.
|
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi, We are getting random GoAway errors while running Selenium Java Scripts on Selenium Grid Server. This behavior is random, sometimes I am getting single GoAway sometimes I am getting 10+ while running the similar set of scripts.
We are using Selenium and Grid version 4.29.0 and Java version is 19.
Here are the RemoteDriver capabilities we are using. Also I have attached below the server logs when we get GoAway.
Reproducible Code
Debugging Logs
ℹ️ Last known working version:
4.29
The text was updated successfully, but these errors were encountered: