Created
July 3, 2019 14:42
-
-
Save szczad/aecbee10eda0e1735127cff5ee7b36f0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Original error: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | |
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03' | |
System info: host: 'VCFCVIEW030673', ip: '10.109.113.133', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_202-release' | |
Driver info: driver.version: AndroidDriver | |
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208) | |
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217) | |
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) | |
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42) | |
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94) | |
at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95) | |
at com.example.appium.AppiumManager.initDriver(AppiumManager.java:103) | |
at com.example.steps.PrinterManagerDef.initializeActivity(PrinterManagerDef.java:19) | |
at ?.Initialize printer manager activity(file:src/test/resources/features/PriterManager.feature:4) | |
Caused by: java.lang.reflect.InvocationTargetException | |
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:186) | |
at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217) | |
at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239) | |
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552) | |
at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42) | |
at io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) | |
at io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) | |
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:213) | |
at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:131) | |
at io.appium.java_client.DefaultGenericMobileDriver.<init>(DefaultGenericMobileDriver.java:38) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:84) | |
at io.appium.java_client.AppiumDriver.<init>(AppiumDriver.java:94) | |
at io.appium.java_client.android.AndroidDriver.<init>(AndroidDriver.java:95) | |
at com.example.appium.AppiumManager.initDriver(AppiumManager.java:103) | |
at com.example.steps.PrinterManagerDef.initializeActivity(PrinterManagerDef.java:19) | |
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at cucumber.runtime.Utils$1.call(Utils.java:26) | |
at cucumber.runtime.Timeout.timeout(Timeout.java:16) | |
at cucumber.runtime.Utils.invoke(Utils.java:20) | |
at cucumber.runtime.java.JavaStepDefinition.execute(JavaStepDefinition.java:57) | |
at cucumber.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:50) | |
at cucumber.runner.TestStep.executeStep(TestStep.java:65) | |
at cucumber.runner.TestStep.run(TestStep.java:50) | |
at cucumber.runner.PickleStepTestStep.run(PickleStepTestStep.java:43) | |
at cucumber.runner.TestCase.run(TestCase.java:46) | |
at cucumber.runner.Runner.runPickle(Runner.java:50) | |
at cucumber.runtime.Runtime$1.run(Runtime.java:103) | |
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) | |
at java.util.concurrent.FutureTask.run(FutureTask.java:266) | |
at cucumber.runtime.Runtime$SameThreadExecutorService.execute(Runtime.java:271) | |
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) | |
at cucumber.runtime.Runtime.run(Runtime.java:100) | |
at cucumber.api.cli.Main.run(Main.java:26) | |
at com.example.TestRunner.test(TestRunner.java:23) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124) | |
at org.testng.internal.Invoker.invokeMethod(Invoker.java:583) | |
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:719) | |
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:989) | |
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125) | |
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) | |
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) | |
at java.lang.Thread.run(Thread.java:748) | |
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | |
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192) | |
at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946) | |
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:316) | |
at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:310) | |
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1639) | |
at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223) | |
at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037) | |
at sun.security.ssl.Handshaker.process_record(Handshaker.java:965) | |
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064) | |
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367) | |
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395) | |
at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379) | |
at okhttp3.internal.connection.RealConnection.connectTls(RealConnection.java:318) | |
at okhttp3.internal.connection.RealConnection.establishProtocol(RealConnection.java:282) | |
at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:167) | |
at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:257) | |
at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:135) | |
at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:114) | |
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) | |
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) | |
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) | |
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:126) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:147) | |
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:121) | |
at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:200) | |
at okhttp3.RealCall.execute(RealCall.java:77) | |
at org.openqa.selenium.remote.internal.OkHttpClient.execute(OkHttpClient.java:103) | |
at org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:105) | |
... 52 more | |
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | |
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:397) | |
at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:302) | |
at sun.security.validator.Validator.validate(Validator.java:262) | |
at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324) | |
at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229) | |
at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124) | |
at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621) | |
... 80 more | |
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target | |
at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141) | |
at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126) | |
at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) | |
at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:392) | |
... 86 more |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment