bonigarcia / webdrivermanager

Automated driver management and other helper features for Selenium WebDriver in Java
https://bonigarcia.dev/webdrivermanager/
Apache License 2.0
2.52k stars 671 forks source link

Facing issue when executing jar in jenkins pipeline #1277

Closed Parshwa1812 closed 2 months ago

Parshwa1812 commented 3 months ago

Hello Team,

I am using webdrivermanager 5.6.0 dependency in maven project and when we are executing the project jar in jenkins pipeline. At time of execution we are getting below exception. Kindly provide solution for this like which URLs/APIs should be whitelisted to resolve below exception.

Exception - java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at com.medline.framework.Test_Grid.runTestCase(Test_Grid.java:19) at com.medline.framework.DriverParallel_Grid.lambda$start$0(DriverParallel_Grid.java:78) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833) Caused by: io.github.bonigarcia.wdm.config.WebDriverManagerException: org.apache.hc.client5.http.HttpHostConnectException: Connect to https://googlechromelabs.github.io:443 [googlechromelabs.github.io/185.199.110.153, googlechromelabs.github.io/185.199.111.153, googlechromelabs.github.io/185.199.108.153, googlechromelabs.github.io/185.199.109.153] failed: Connection timed out: no further information

bonigarcia commented 2 months ago

Please follow the issue template to report any issue.

bonigarcia commented 2 months ago

Also, take a look to the doc since this problem seems related with some connectivity problem at your end.