Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for SSLHandshakeException (0.15 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/RetryConnectionTest.kt

    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLSocket
    import okhttp3.ConnectionSpec
    import okhttp3.OkHttpClientTestRule
    import okhttp3.TestValueFactory
    import okhttp3.TlsVersion
    import okhttp3.tls.internal.TlsUtil.localhost
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            Regex(
              """connectFailed: null \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): .*(?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""",
            ),
          ).assertLogMatch(
            Regex(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

    import assertk.assertions.startsWith
    import java.io.IOException
    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 24.3K bytes
    - Viewed (1)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    package okhttp3.internal.connection
    
    import java.io.InterruptedIOException
    import java.net.ProtocolException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean =
      when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/internal/tls/ClientAuthTest.kt

    import java.security.SecureRandom
    import java.security.cert.X509Certificate
    import java.util.Arrays
    import javax.net.ssl.KeyManager
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLSocketFactory
    import javax.net.ssl.TrustManager
    import javax.security.auth.x500.X500Principal
    import kotlin.test.assertFailsWith
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt

        client.connectionPool.evictAll()
        assertEquals(0, client.connectionPool.connectionCount())
    
        // Force reuse. This appears flaky (30% of the time) even though sessions are reused.
        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

    import java.net.HttpURLConnection.HTTP_UNAVAILABLE
    import java.net.ProtocolException
    import java.net.Proxy
    import java.net.SocketTimeoutException
    import java.security.cert.CertificateException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.canReuseConnectionFor
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue May 27 14:58:02 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

    import java.util.concurrent.atomic.AtomicBoolean
    import java.util.concurrent.atomic.AtomicInteger
    import java.util.concurrent.atomic.AtomicReference
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import javax.net.ssl.SSLProtocolException
    import javax.net.ssl.SSLSocket
    import javax.net.ssl.SSLSocketFactory
    import kotlin.test.assertFailsWith
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 146.6K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

    import java.util.concurrent.TimeUnit
    import java.util.concurrent.atomic.AtomicReference
    import java.util.zip.GZIPInputStream
    import javax.net.SocketFactory
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLProtocolException
    import javax.net.ssl.TrustManager
    import javax.net.ssl.TrustManagerFactory
    import javax.net.ssl.X509TrustManager
    import kotlin.test.assertFailsWith
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
Back to top