question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

TDS error under high load

See original GitHub issue

We are using:

  • 6.1.0 driver (build from source)
  • SQL Server 2014

We are experiencing problems with the JDBC driver under high load. The test we are running works fine up to a certain limit. Then the driver logs something like:

Jun 21, 2017 9:39:24 AM com.microsoft.sqlserver.jdbc.TDSParser throwUnexpectedTokenException SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb: getNextResult: Encountered unexpected unknown token (0x83) Jun 21, 2017 9:39:24 AM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDSToken SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb got unexpected value in TDS response at offset:5166 Jun 21, 2017 9:39:25 AM com.microsoft.sqlserver.jdbc.TDSParser throwUnexpectedTokenException SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb: batch completion: Encountered unexpected TDS_RETURN_VALUE (0xAC) Jun 21, 2017 9:39:25 AM com.microsoft.sqlserver.jdbc.TDSReader throwInvalidTDSToken SEVERE: ConnectionID:19 ClientConnectionId: abfb1747-17a7-44cb-abba-6c861c55d9bb got unexpected value in TDS response at offset:461

We suspect some kind of a transfer error (incomplete transfer), but we do not really know what’s going on.

The other thing which is strange is that we do not see stack trace as with other connection errors. It seems the exception is suppressed somewhere.

Do you have an idea what’s causing the problem or how we could debug it? Activate additional logging/integrate additional logs in the source code?

Thanks,

Juergen

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
jubaxcommented, Jun 28, 2017

git fetch --tags

did retrieve the missing tags. Thanks!

0reactions
peterbaecommented, Feb 1, 2018

Hi @ChristinaSi, could you provide the debug logs / stack for the error you’re seeing?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TDS error under high load · Issue #357 · microsoft/mssql-jdbc
SQL Server 2014. We are experiencing problems with the JDBC driver under high load. The test we are running works fine up to...
Read more >
IO10716: TDS client hangs under heavy load - IBM
The ITDS client hangs when under heavy load as a result of a timeout value not being passed correctly to the select call....
Read more >
Troubleshooting Error Codes | TDS TV+
Error occurs when device has difficulty downloading a show from the TDS server. Press ok and exit screen and then try again. You...
Read more >
Linq .Contains with large set causes TDS error - Stack Overflow
We use a SQL function taking a varchar(max) delimited list of values as an argument and returning a table variable. The linq looks...
Read more >
Internet | Connection Speed Slowness - TDS Telecom
When the Internet goes out, it's very frustrating—and it can be hard to know where to start. Luckily, there are ways to be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found