com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:aae3c3a9-9b39-4141-aeda-577e06a28dfd".

Super User | QuakeCore | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Unable to connect to sql server 2012 with SSL encryption enabled using sqljdbc4

    Super User | 1 year ago | QuakeCore
    com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server did not return a response. The connection has been closed. ClientConnectionId:aae3c3a9-9b39-4141-aeda-577e06a28dfd".
  2. 0

    SSL Exceptions Seemingly caused by Apache Axis2

    Stack Overflow | 2 years ago | D Sass
    com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:a67d09bf-be47-4910-9d8c-fd040468a1cb".
  3. 0

    How to connect to Azure SQL with JDBC

    Stack Overflow | 10 months ago | user824276
    java.io.IOException: Broken pipe ClientConnectionId:1a3032c8-493d-4f99-8641-d0f02211d82c
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java catch block been skiped

    Stack Overflow | 5 months ago | Ilya_Gazman
    com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "SQL Server returned an incomplete response. The connection has been closed. ClientConnectionId:abc482bd-cef4-4fbf-b264-175f24f10137".
  6. 0

    Java 1.6 to 1.7 causes database connection to throw “The driver could not establish a secure connection to SQL Server by using SSL encryption.”

    Stack Overflow | 3 years ago | Matthew
    com.microsoft.sqlserver.jdbc.SQLServerException: The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Connection reset".

    5 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      SQL Server did not return a response. The connection has been closed. ClientConnectionId:aae3c3a9-9b39-4141-aeda-577e06a28dfd

      at com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload()
    2. com.microsoft.sqlserver
      TDSChannel$ProxyInputStream.read
      1. com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.ensureSSLPayload(IOBuffer.java:651)
      2. com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.readInternal(IOBuffer.java:708)
      3. com.microsoft.sqlserver.jdbc.TDSChannel$SSLHandshakeInputStream.read(IOBuffer.java:700)
      4. com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.readInternal(IOBuffer.java:895)
      5. com.microsoft.sqlserver.jdbc.TDSChannel$ProxyInputStream.read(IOBuffer.java:883)
      5 frames
    3. Java JSSE
      SSLSocketImpl.startHandshake
      1. sun.security.ssl.InputRecord.readFully(InputRecord.java:442)
      2. sun.security.ssl.InputRecord.read(InputRecord.java:480)
      3. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:927)
      4. sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
      5. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1339)
      6. sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1323)
      6 frames
    4. com.microsoft.sqlserver
      TDSChannel.enableSSL
      1. com.microsoft.sqlserver.jdbc.TDSChannel.enableSSL(IOBuffer.java:1618)
      1 frame