Greetings. We are getting SQL Server connectivity errors on a very intermittent basis. We've looked everywhere and all the info we have is posted below from the various sources. Note that this is not occurring from just one app server but a few, and that
it's also occurring on more than one SQL Server instance.
Application Error (more details lower in the thread):
The connection error occurred again last night (log message):
System.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake.
SQL Message Captured:
- Interesting to note the high time to establish SSL in yellow
- <value>Network
error code 0x2746 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 12109 ms, enqueued 0 ms, network writes 1 ms, network reads 2109 ms,establishing SSL 9997 ms, network reads during SSL 9997 ms, network writes during SSL 0 ms, secure calls during SSL 0 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: myIPAddress]</value>
Network Capture (trace file attached):
- There are several retransmissions from the SQL instance to the App server (myAppServer (myIPAddress)
- Then there is a reset request from the app server to the SQL instance
- 467 2016-07-19 08:27:00.405430160 10.7.50.10
10.7.4.125 TCP 68 44590→ 1433 [RST, ACK] Seq=1496031372 Ack=1496031636 Win=0 Len=0
- Also see the below regarding SSL Self Signed Fallback.
...^......$....*....+....,....0....1.$..U......:............v,..M...K.?.....j...B..w.}./{........0...........%....&....'....'....(............[1496030773
bytes missing in capture file]...^......$....*....+....,....0....1.$..U......:............v,..M...K.?.....j...B..w.}./{.....[1496030819 bytes missing
in capture file]...0...........%....&....'....'....(...............................W.......y`...3.....@..!.F...B0....*.<./.=.5...
.'.....+.#.,.$. .
.@.2.j.8.......G........
myDBServer.
...............
..................................m........`...Q..W......`.....N&.
.~ot.U.zr3 .... B0....j.zO.'Q\..5..X..@q....gP...<.. ...................0...0..b...........T...Iu....0.0
. *.H..
.....0;1907..U...0.S.S.L._.S.e.l.f._.S.i.g.n.e.d._.F.a.l.l.b.a.c.k0..
160714073545Z.
460714073545Z0;1907..U...0.S.S.L._.S.e.l.f._.S.i.g.n.e.d._.F.a.l.l.b.a.c.k0..0
. *.H..
.........0.......R..H...4.....Jr.U.4rl'..?.N
.- .._k...-... q...j...[(.2'...Nc.4......WbTI..W..j.;..(+S/..U..P%..&..;.....#..Y....E....o{a.6..h5.....0
. *.H..
............/....;.u..8...... F].X..xP-.^\.H.[......@...G...lG:*......wJ...Eh......$....;.........s......f.,.n......PP#.G......->7.:............................1.XL..&....P...JM.....]D....v?N....`E{N..._?.9.OG....w..Ph.......!....5..e.m......Po.....G.../s...X..[..!]...g....*.8..K..+Y=.............P.w......"...........j...p.....,....U..
mol.D].w')..!..N.)........J2F.!.4.....C.....c..............Pf..|..
p..PC.f.7....
....~sGT...4f./.L..j...dp.....T.>............(....p......U.
All ideas are welcome, thanks!
Thanks in advance! ChrisRDBA