-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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]: Download of chromedriver fails with socket exception 10054 #12788
Comments
@olafrose, 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! |
Is it a problem from the last Chrome update or from a Selenium update? Selenium Manager isn't downloading from a different location. Is it always failing, or intermittent? |
It might be related to proxy settings: https://www.selenium.dev/documentation/selenium_manager/#configuration |
The machine running the tests is behind an autoproxy, so if selenium manager doesn't automatically respect these settings i need a way to configure it to use the autoproxy. I don't see that option in the CLI parameters, so any hints there would be appreciated. |
I haven't noticed the error before updating selenium, but then i haven't ran the tests in quite some time because our test manager was away...
Right now it is always failing and the same user that runs the wget also is used to execute the tests. |
Ah, I know selenium supports with setProxyAutoconfigUrl |
The fix for this has been merged. If 4.17 does not address it, please open a new ticket with updated 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?
After the latest chrome update selenium manager can't download the correct chrome webdriver anymore.
While trying to diagnose the problem I found the following:
Running
./selenium-manager.exe --browser chrome --debug
in a powershell on windows 11 i get the following output:
DEBUG chromedriver not found in PATH DEBUG chrome detected at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe DEBUG Running command: wmic datafile where name='C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe' get Version /value DEBUG Output: "\r\r\n\r\r\nVersion=117.0.5938.89\r\r\n\r\r\n\r\r\n\r" DEBUG Detected browser: chrome 117.0.5938.89 DEBUG Discovering versions from https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json DEBUG Required driver: chromedriver 117.0.5938.88 DEBUG Downloading chromedriver 117.0.5938.88 from https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.88/win64/chromedriver-win64.z ip ERROR error sending request for url (https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/117.0.5938.88/win64/chromedriver-win64.zip): error tr ying to connect: Eine vorhandene Verbindung wurde vom Remotehost geschlossen. (os error 10054)
As this looked like a proxy config issue to me at first glance i tried to wget the chromedriver zip and - targetting the exact same URI where selenium manager failed wget downloaded the file without issues.
How can we reproduce the issue?
`./selenium-manager.exe --browser chrome --debug`
Relevant log output
Operating System
Windows 11
Selenium version
.Net 4.12.4
What are the browser(s) and version(s) where you see this issue?
Chrome 117.0.5938.89
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 117.0.5938.88
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: