Closed Alphyra closed 5 years ago
I'm currently having the same problem:
...
Caused by: io.github.bonigarcia.wdm.WebDriverManagerException: io.github.bonigarcia.wdm.WebDriverManagerException: A response error is detected: HTTP/1.1 403 Forbidden
at io.github.bonigarcia.wdm.WebDriverManager.handleException(WebDriverManager.java:523)
at io.github.bonigarcia.wdm.WebDriverManager.manage(WebDriverManager.java:471)
at io.github.bonigarcia.wdm.WebDriverManager.handleException(WebDriverManager.java:520)
at io.github.bonigarcia.wdm.WebDriverManager.manage(WebDriverManager.java:471)
at io.github.bonigarcia.wdm.WebDriverManager.setup(WebDriverManager.java:229)
at script1539864441533641382241.run_closure1(script1539864441533641382241.groovy:10)
at script1539864441533641382241.run_closure1(script1539864441533641382241.groovy)
at geb.driver.CallbackDriverFactory.getDriver(CallbackDriverFactory.groovy:29)
... 17 more
Caused by: io.github.bonigarcia.wdm.WebDriverManagerException: A response error is detected: HTTP/1.1 403 Forbidden
at io.github.bonigarcia.wdm.HttpClient.execute(HttpClient.java:167)
at io.github.bonigarcia.wdm.WebDriverManager.getDriversFromXml(WebDriverManager.java:828)
at io.github.bonigarcia.wdm.ChromeDriverManager.getDrivers(ChromeDriverManager.java:50)
at io.github.bonigarcia.wdm.WebDriverManager.filterCandidateUrls(WebDriverManager.java:539)
at io.github.bonigarcia.wdm.WebDriverManager.manage(WebDriverManager.java:456)
... 23 more
Edit: Ok, In my case it was caused by an internal proxy which I had configured. @Alphyra Maybe you could check if you have a proxy configured as well?
Same for me on OperaDriver. Works well on chrome
Hi @Alphyra
Are you inside the corporate environment in that case you have to configure the webdrivermanager with the proper configuration,
WebDriverManager.chromedriver().arch32().browserVersion("81.0.4044.138").proxy(proxyUrl)
.proxyUser(userId).proxyPass(userPass).setup();
proxyUrl--> is the url for proxy for your company userid--> in my case is my windows id for the company password --> in my case is the password I use to login to windows
Hope this can give you some idea :)
The old link is stale. The current one is: https://github.com/bonigarcia/webdrivermanager/blob/master/src/doc/asciidoc/index.adoc#http-response-code-403
Any suggestion about how configure the GITHUBTOKEN environment variable? Tried to add it to mine as a secret but GitHub refuses to accept variables beginning with GITHUB.
Failed to add secret. Secret names must not start with GITHUB_.
Hello,
I faced with error when run test:
io.github.bonigarcia.wdm.WebDriverManagerException: io.github.bonigarcia.wdm.WebDriverManagerException: A response error is detected: HTTP/1.1 403 Forbidden
Driver was not run. Can the reason be in my IP?
Thank you.