Code: Select all
exception class : EUniError
exception message : Error on data writing to the connection: An existing connection was forcibly closed by the remote host. Socket Error Code: 10054($2746).
thread $470 (TBackgroundTaskRunner):
00e779eb RankingsHttpService.exe Uni 1182 HandleInternalError
00e7c2e7 RankingsHttpService.exe Uni 3356 TCustomUniDataSet.Prepare
770d3a61 ntdll.dll KiUserExceptionDispatcher
00480dd5 RankingsHttpService.exe madExcept 3136 IsValidObject2
004b9bc1 RankingsHttpService.exe madExcept 16620 SetLastExceptionHelper
004b9c26 RankingsHttpService.exe madExcept 16655 MyRaiseExceptProc
011aa7ce RankingsHttpService.exe PgClassesUni 5062 TPgSQLConnection.ProcessInternalException
011b0df0 RankingsHttpService.exe PgClassesUni 7841 TPgSQLCommand.InternalExecute
770d3a61 ntdll.dll KiUserExceptionDispatcher
004b9bc1 RankingsHttpService.exe madExcept 16620 SetLastExceptionHelper
004b9c26 RankingsHttpService.exe madExcept 16655 MyRaiseExceptProc
01173598 RankingsHttpService.exe PgSQLNetUni 287 TPgSQLNet.VioWrite
01173677 RankingsHttpService.exe PgSQLNetUni 324 TPgSQLNet.FlushSend
0116abcb RankingsHttpService.exe PgSQLProtocolUni 1590 TPgSQLProtocol.Flush
0116ba08 RankingsHttpService.exe PgSQLProtocolUni 1915 TPgSQLProtocol.InternalExecuteStmt
01169c51 RankingsHttpService.exe PgSQLProtocolUni 1144 TPgSQLProtocol.ExecuteStmt
011b0cca RankingsHttpService.exe PgClassesUni 7813 TPgSQLCommand.InternalExecute
011afb49 RankingsHttpService.exe PgClassesUni 7242 TPgSQLCommand.Execute
011abddc RankingsHttpService.exe PgClassesUni 5622 TPgSQLTransaction.ExecuteSQL
011abeff RankingsHttpService.exe PgClassesUni 5662 TPgSQLTransaction.StartTransaction
011b0247 RankingsHttpService.exe PgClassesUni 7508 TPgSQLCommand.PrepareFetchConnection
011af96c RankingsHttpService.exe PgClassesUni 7177 TPgSQLCommand.Prepare
00e58884 RankingsHttpService.exe CRAccess 4040 TCRRecordSet.InternalPrepare
011b37b1 RankingsHttpService.exe PgClassesUni 9006 TPgSQLRecordSet.InternalPrepare
00d4b56b RankingsHttpService.exe MemData 2635 TData.Prepare
00e588aa RankingsHttpService.exe CRAccess 4051 TCRRecordSet.Prepare
011b25fb RankingsHttpService.exe PgClassesUni 8490 TPgSQLRecordSet.Prepare
00df294f RankingsHttpService.exe MemDS 1068 TMemDataSet.Prepare
00e22301 RankingsHttpService.exe DBAccess 8637 TCustomDADataSet.Prepare
00e7c2d3 RankingsHttpService.exe Uni 3354 TCustomUniDataSet.Prepare
00dfa43a RankingsHttpService.exe MemDS 5092 TMemDataSet.SetPrepared
00fb3f67 RankingsHttpService.exe BSDBUniDACImp 315 TBSUniDataSet.PrepareParams
- It happens in an application, that runs on a server and that executes some tasks, e.g. every hour.
- It never happened before update from UniDac 8.6.x to version 9.x
- Normally all runs fine, but as soon as I make changes to the database with a different application, I start to have these errors
- Readonly access to the same database doesn't seem to have any influence. There are PHP scripts from a website running all the time.
- Currently I use PostgreSQL 13.x. Database and application are running on the same computer, so there is no router or firewall between them. I'm using Win Server 2019, all updates installed.
- The UniDac objects (TUniConnection, TUniDataset) are objects newly created in a new thread
So any hint on how to isolate the problem would be helpfull.
Christian