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
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