Randomly lost connection errors
Posted: Fri 07 Dec 2012 09:16
Hi,
I changed from 5.1.2 to 6.0.1 (with XE2) and tested to three customers. Each of them has 20-40 computers in network. With 6.0.1 there is one or two computer in each network with connection errors like these two.
The errors occur randomly after tens of successfully executions. Then other tens successfully and again errors.
I changed back to 5.1.2 only on these computers and all is normal now. Of course with my application recompiled with 5.1.2.
Best Regards,
Cristian Peta
exception class : TDBXError
exception message : Lost connection to MySQL server during query Socket error on write. WSAGetLastError return 10054($2746).
main thread ($7fc):
008895d9 +051 WinArhi.exe Data.DBXCommon 11134 +8 TDBXContext.Error
00b40956 +10a WinArhi.exe Data.DBXDynalink 826 +21 TDBXMethodTable.RaiseError
00b40fa7 +013 WinArhi.exe Data.DBXDynalink 992 +1 TDBXDynalinkConnection.CheckResult
00b40f76 +01e WinArhi.exe Data.DBXDynalink 972 +1 TDBXDynalinkConnection.CreateAndBeginTransaction
exception class : EOleException
exception message : Can't connect to MySQL server on '192.168.121.2' (10061) Socket error on connect. WSAGetLastError return 10060($274C).
main thread ($1510):
006b534d +0c1 WinArhi.exe Datasnap.DBClient 4677 +6 TCustomClientDataSet.DoGetRecords
006ac25f +1b7 WinArhi.exe Datasnap.DBClient 1147 +25 TCustomClientDataSet.OpenCursor
005173a9 +055 WinArhi.exe Data.DB 11314 +12 TDataSet.SetActive
I changed from 5.1.2 to 6.0.1 (with XE2) and tested to three customers. Each of them has 20-40 computers in network. With 6.0.1 there is one or two computer in each network with connection errors like these two.
The errors occur randomly after tens of successfully executions. Then other tens successfully and again errors.
I changed back to 5.1.2 only on these computers and all is normal now. Of course with my application recompiled with 5.1.2.
Best Regards,
Cristian Peta
exception class : TDBXError
exception message : Lost connection to MySQL server during query Socket error on write. WSAGetLastError return 10054($2746).
main thread ($7fc):
008895d9 +051 WinArhi.exe Data.DBXCommon 11134 +8 TDBXContext.Error
00b40956 +10a WinArhi.exe Data.DBXDynalink 826 +21 TDBXMethodTable.RaiseError
00b40fa7 +013 WinArhi.exe Data.DBXDynalink 992 +1 TDBXDynalinkConnection.CheckResult
00b40f76 +01e WinArhi.exe Data.DBXDynalink 972 +1 TDBXDynalinkConnection.CreateAndBeginTransaction
exception class : EOleException
exception message : Can't connect to MySQL server on '192.168.121.2' (10061) Socket error on connect. WSAGetLastError return 10060($274C).
main thread ($1510):
006b534d +0c1 WinArhi.exe Datasnap.DBClient 4677 +6 TCustomClientDataSet.DoGetRecords
006ac25f +1b7 WinArhi.exe Datasnap.DBClient 1147 +25 TCustomClientDataSet.OpenCursor
005173a9 +055 WinArhi.exe Data.DB 11314 +12 TDataSet.SetActive