Javax.net.ssl.SSLHandshakeException: закрытие соединения с удаленным хостом во время поддержки рукопожатияJAVA

Программисты JAVA общаются здесь
Ответить Пред. темаСлед. тема
Anonymous
 Javax.net.ssl.SSLHandshakeException: закрытие соединения с удаленным хостом во время поддержки рукопожатия

Сообщение Anonymous »


Я пытаюсь автоматизировать приложение Android на Mac с помощью appium (версия 1.5.3). я получаю ошибку ниже. Пожалуйста, помогите.

WebDriverException: javax.net.ssl.SSLHandshakeException: удаленный хост закрытое соединение во время рукопожатия Информация о сборке: версия: 'неизвестно', ревизия: '1969d75', время: '2016-10-18 09:43:45 -0700' Информация о системе: хост: «AKASHs-MacBook-Pro.local», ip: «192.168.1.4», os.name: «Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: «1.8.0_121» Информация о драйвере: driver.version: AndroidDriver на io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:84) в org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601) в io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:42) в io.appium.java_client.AppiumDriver.execute(AppiumDriver.java:1) в io.appium.java_client.android.AndroidDriver.execute(AndroidDriver.java:1) в org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:241) в org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:128) в org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:141) в io.appium.java_client.DefaultGenericMobileDriver.(DefaultGenericMobileDriver.java:38) в io.appium.java_client.AppiumDriver.(AppiumDriver.java:90) в io.appium.java_client.AppiumDriver.(AppiumDriver.java:128) по адресу io.appium.java_client.android.AndroidDriver.(AndroidDriver.java:72) по адресу com.test1.Test1.setUp(Test1.java:33) на sun.reflect.NativeMethodAccessorImpl.invoke0(собственный метод) в sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) в sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) в java.lang.reflect.Method.invoke(Method.java:498) в org.testng.internal.MethodInvocateHelper.invokeMethod(MethodIndictionHelper.java:104) в org.testng.internal.Invoker.invokeMethod(Invoker.java:645) в org.testng.internal.Invoker.invokeTestMethod(Invoker.java:851) по адресу org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1177) по адресу org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129) в org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112) в org.testng.TestRunner.privateRun(TestRunner.java:756) в org.testng.TestRunner.run(TestRunner.java:610) по адресу org.testng.SuiteRunner.runTest(SuiteRunner.java:387) по адресу org.testng.SuiteRunner.runSequentially(SuiteRunner.java:382) по адресу org.testng.SuiteRunner.privateRun(SuiteRunner.java:340) по адресу org.testng.SuiteRunner.run(SuiteRunner.java:289) по адресу org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) по адресу org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) по адресу org.testng.TestNG.runSuitesSequentially(TestNG.java:1293) по адресу org.testng.TestNG.runSuitesLocally(TestNG.java:1218) по адресу org.testng.TestNG.runSuites(TestNG.java:1133) по адресу org.testng.TestNG.run(TestNG.java:1104) по адресу org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132) в org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:236) в org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:81) Причина: javax.net.ssl.SSLHandshakeException: Закрытое соединение с удаленным хостом во время рукопожатия в sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:992) по адресу sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1375) в sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1403) в sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1387) в org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:394) в org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:353) в org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141) в org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) в org.apache.http.impl.execchain.MainClientExec.installRoute(MainClientExec.java:380) в org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) в org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) в org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) в org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) в org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) в org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:71) в org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:55) в org.openqa.selenium.remote.internal.ApacheHttpClient.fallBackExecute(ApacheHttpClient.java:142) в org.openqa.selenium.remote.internal.ApacheHttpClient.execute(ApacheHttpClient.java:88) в org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:108) в org.openqa.selenium.remote.ProtocolHandshake.createSession(ProtocolHandshake.java:64) в org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:141) в io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:69) ... еще 37 Причина: java.io.EOFException: отключение узла SSL неправильно в sun.security.ssl.InputRecord.read(InputRecord.java:505) в sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:973) ... еще 58
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «JAVA»