selenium: [π Bug]: ERROR error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE_108): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
What happened?
Dec 10, 2022 1:30:28 PM org.openqa.selenium.remote.service.DriverService findExecutable WARNING: Unable to obtain driver using Selenium Manager: Unsuccessful command executed: [C:\Users<user>\AppData\Local\Temp\selenium-manager17283176393723006992415082342136659\selenium-manager.exe, --driver, chromedriver] WARN Sending fatal alert BadCertificate ERROR error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE_108): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
Build info: version: β4.7.1β, revision: βc6795baf1a3β System info: os.name: βWindows 10β, os.arch: βx86β, os.version: β10.0β, java.version: β1.8.0_341β Driver info: driver.version: unknown
How can we reproduce the issue?
Using Selenium Manager 4.7.1 to launch chrome v108
Relevant log output
Dec 10, 2022 1:30:28 PM org.openqa.selenium.remote.service.DriverService findExecutable
WARNING: Unable to obtain driver using Selenium Manager: Unsuccessful command executed: [C:\Users\<user>\AppData\Local\Temp\selenium-manager17283176393723006992415082342136659\selenium-manager.exe, --driver, chromedriver]
WARN Sending fatal alert BadCertificate
ERROR error sending request for url (https://chromedriver.storage.googleapis.com/LATEST_RELEASE_108): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
Build info: version: '4.7.1', revision: 'c6795baf1a3'
System info: os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_341'
Driver info: driver.version: unknown
Operating System
Windows
Selenium version
4.7.1
What are the browser(s) and version(s) where you see this issue?
chrome 108
What are the browser driver(s) and version(s) where you see this issue?
NA
Are you using Selenium Grid?
4.7.1
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 29 (12 by maintainers)
Great, thanks a lot, @vicozohili. It seems the new change fixes the issue.
I have just created a PR about it (#11449). It will be available for the next version of Selenium.
Thank you @titusfortner above step resolved issue.
@patilpratikn can you download the latest version from here https://github.com/SeleniumHQ/selenium/blob/trunk/common/manager/windows/selenium-manager.exe
and run:
I have any issue like this in selenium 4.8.0, but I sove it in the following way.
The issue occured mainly because you could not connet the Internet, for example, you are in a local network which could not connect the Internet but only some local services.
To solve it, you can install the browser webdriver, letβs use the chrome as an example, you can also refers this: