Hi!
Try to disable TTL for all connections entrance to the database.
Hope it help.
If this answer ok, mark as resolved and Upvoted
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
We have on going issue within our one of the job running every few minutes but every day it's keep failing 2-3 times randomly, no specific timing.
Basically Client m/c running BCP job which trying contact target database sql server 2014.
We checked TLS and it's all same on both Client and server.
We also have updated ODBC drive 13.
When I am checking the Sql Server Error log, every time it shows following error on Server:
Error:
Network error code 0x80090330 occurred while establishing a connection; the connection has been closed. This may have been caused by client or server login timeout expiration. Time spent during login: total 136 ms, enqueued 0 ms, network writes 0 ms, network reads 1 ms, establishing SSL 134 ms, network reads during SSL 98 ms, network writes during SSL 0 ms, secure calls during SSL 36 ms, enqueued during SSL 0 ms, negotiating SSPI 0 ms, network reads during SSPI 0 ms, network writes during SSPI 0 ms, secure calls during SSPI 0 ms, enqueued during SSPI 0 ms, validating login 0 ms, including user-defined login processing 0 ms. [CLIENT: 10.X.X.X)
When I check log where our job running, I see following error:
SQLState = 08001, NativeError = 10054
Error = [Microsoft][ODBC Driver 13 for SQL Server]SSL Provider: An existing connection was forcibly closed by the remote host.
SQLState = 08001, NativeError = 10054
Error = [Microsoft][ODBC Driver 13 for SQL Server]Client unable to establish connection
Any idea what happening when job is failing?
Hi!
Try to disable TTL for all connections entrance to the database.
Hope it help.
If this answer ok, mark as resolved and Upvoted
Hi @Pds ,
What the version of SQL Server and OS are you using?
Could you please try to install SP3 and SP3 CU4 for SQL Server 2014 if you have not installed them?
Please refer to TLS 1.2 support for Microsoft SQL Server which might help.
Best Regards,
Amelia
Not much help, but I looked up the code 0x80090330 the in the old Error Lookup utility and it tells me /The specified data could not be decrypted. /
But I don't think it is a TLS issue, because I would not expect such errors to be intermittent.
It could be something in your network that is eating bits and thereby disrupting communication. Although in that case, you could not only see errors on login. Unless the issue is in with the communication the AD?
Thanks Erland.
I even don't think so any TLS issue.
It's strange that randomly having issue so couldn't find it out but every time it has Network Error code 0x80090330 because I turned on Trace Flag otherwise I am not gonna know the error code.
Any Driver related Issue?
I can see in my Job scheduler following Error whenever I see error code 0x80090330.
SQLState = 08001, NativeError = 10054 Error = [Microsoft][ODBC Driver 13 for SQL Server]SSL Provider: An existing connection was forcibly closed by the remote host.
SQLState = 08001, NativeError = 10054
Error = [Microsoft][ODBC Driver 13 for SQL Server]Client unable to establish connection
Thanks once again Erland.
So which version of driver you want me to update?
It will be on Sql server 2014, right or both Job scheduler server (where code getting executed) ?
Do you think that actual Server Memory also causing issue as we have total 8 GB and 6 GB is allocated?