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
Unable to run my tests because of connection timed out #299
Comments
Are you behind a proxy? If so, you can to specify hour proxy setup as follows:
Do the same for |
Hi thanks for the reply. After adding the proxy I am seeing the browser getting opened, however I hit another issue
Any idea how to fix this. I am looking in to online help |
That's an issue related with WebDriver, not WebDriverManager. It seems you have a conflict with the version of okhttp, I guess the transitive version used by WebDriver is in conflict with some other. |
@bonigarcia Any suggestions to do the same in Python ? |
Hi,
I am unable to run the tests using bonigarcia dependancy as I hit the issue that is mentioned below.
io.github.bonigarcia.wdm.WebDriverManagerException: org.apache.http.conn.HttpHostConnectException: Connect to chromedriver.storage.googleapis.com:443 [chromedriver.storage.googleapis.com/172.217.17.80, chromedriver.storage.googleapis.com/2a00:1450:400e:805:0:0:0:2010] failed: Connection timed out: connect
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to chromedriver.storage.googleapis.com:443 [chromedriver.storage.googleapis.com/172.217.17.80, chromedriver.storage.googleapis.com/2a00:1450:400e:805:0:0:0:2010] failed: Connection timed out: connect
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:359)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:381)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:237)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:185)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:111)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at io.github.bonigarcia.wdm.HttpClient.execute(HttpClient.java:159)
at io.github.bonigarcia.wdm.WebDriverManager.getDriversFromXml(WebDriverManager.java:996)
This is my code
I am using the dependancy
io.github.bonigarcia webdrivermanager 3.2.0 testI tried adding the proxy and port in the IDE, not sure if am doing it correctly
I have set the no proxy for : *storage.googleapis.com:443
Also added the ip in /etc/hosts file but nothing works
Kindly help
The text was updated successfully, but these errors were encountered: