Closed plagov closed 2 years ago
@plagov, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
So, I'm not sure what to do with this; There's not much we can do without a way to consistently reproduce your issue.
We have refresh tests that run on Linux for Chrome via Remote driver that are consistently passing https://github.com/SeleniumHQ/selenium/runs/5128937182?check_suite_focus=true#step:9:304
So at the very least we need more information. Do you have more of an error message, chromedriver logs, or Server logs?
Hi, @plagov. Please follow the issue template, we need more information to reproduce the issue.
Either a complete code snippet and URL/HTML (if more than one file is needed, provide a GitHub repo and instructions to run the code), the specific versions used, or a more detailed description to help us understand the issue.
Note: If you cannot share your code and URL/HTML, any complete code snippet and URL/HTML that reproduces the issue is good enough.
Reply to this issue when all information is provided, thank you.
@titusfortner I really don't know what else can I provide for you to reproduce it consistently. This issue doesn't reproduce consistently in my code so I could describe the concrete state and configuration.
If you think that the refresh action is well tested in Selenium 4 and works as expected, then sure - let's close this issue and keep it in history. Maybe someone else will experience the same issue and will be able to provide more details.
At this point, I really don't have anything more to add here.
Yes, we do have tests for this. If anyone else bumps into this issue, please provide a code snippet to reproduce it.
We did with a colleague an additional analysis of this issue and looks like it happens because of an expired timeout from the RemoteWebDriver. In our program, we have cases when the driver waits for 5 min for the next command. Until then it stays idle and waits. The waiting time is floating and it isn't 5 min every time. But when it was close or reached 5 min, then this issue happened.
So, we solved that by increasing the timeout for the driver through an environment variable: SE_NODE_SESSION_TIMEOUT
.
Sorry, for a "false alarm". I hope, that will help someone else should anyone encounter the same.
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?
I'm creating a RemoteWebDriver. I'm doing a page refresh as follows:
From time to time it fails with the following error message:
This issue doesn't happen every time. Instead, it fails occasionally. I'm using the following docker image with the Testcontainers library:
selenium/standalone-chrome:97.0-20220121
How can we reproduce the issue?
Operating System
Linux
Selenium version
Java 4.1.1
What are the browser(s) and version(s) where you see this issue?
Chrome 97.0.4692.99
What are the browser driver(s) and version(s) where you see this issue?
chromedriverVersion: 97.0.4692.71
Are you using Selenium Grid?
No response