com.microsoft.sqlserver.jdbc.SQLServerException: The TDS protocol stream is not valid.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 2747946, 1 year ago
The TDS protocol stream is not valid.
via coderanch.com by Unknown author, 1 year ago
via Super User by QuakeCore
, 1 year ago
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".
via Stack Overflow by R.Hasan
, 2 months ago
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "Only TLS1.2 protocol can be enabled in SP800_131 strict mode". ClientConnectionId:960c823d-4db9-4ac2-b2c4-2802a7b432d2
via hivmr.com by Unknown author, 1 year ago
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: FIPS mode: only SunJSSE TrustManagers may be used. ClientConnectionId:48715f5b-a62e-45fa-aad9-6cc361d88672
via baidu.com by Unknown author, 1 year ago
驱动程序无法通过使用安全套接字层(SSL)加密与 SQL Server 建立安全连接。错误:“java.lang.RuntimeException: Could not generate DH keypair”。
com.microsoft.sqlserver.jdbc.SQLServerException: The TDS protocol stream is not valid.
at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerConnection.throwInvalidTDS(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSReader.throwInvalidTDS(Unknown Source)
at com.microsoft.sqlserver.jdbc.TDSReader.skip(Unknown Source)
at com.microsoft.sqlserver.jdbc.ServerDTVImpl.skipValue(Unknown Source)
at com.microsoft.sqlserver.jdbc.DTV.skipValue(Unknown Source)
at com.microsoft.sqlserver.jdbc.Column.skipValue(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.skipColumns(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.discardCurrentRow(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.fetchBufferNext(Unknown Source)
at com.microsoft.sqlserver.jdbc.SQLServerResultSet.close(Unknown Source)
at oracle.odi.runtime.agent.execution.sql.concurrent.FastJDBCRecordSet.close(FastJDBCRecordSet.java:124)
at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:103)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:724)

Users with the same issue

2 times, 3 months ago
2 times, 6 months ago
28 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 month ago
Samebug visitor profile picture
Unknown user
2 times, 6 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.