2025-07-11 05:08:10,893 [296] ERROR NHibernate.Transaction.AdoTransaction - Commit failed MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException (110): Connection timed out at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) at MySql.Data.MySqlClient.TimedStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, Boolean execAsync) at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count) at MySql.Data.MySqlClient.MySqlStream.ReadFullyAsync(Stream stream, Byte[] buffer, Int32 offset, Int32 count, Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.LoadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.LoadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQueryAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlTransaction.CommitAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlTransaction.Commit() at NHibernate.Transaction.AdoTransaction.Commit() 2025-07-11 13:10:34,745 [158] ERROR NHibernate.Transaction.AdoTransaction - Commit failed MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered during command execution. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Fatal error encountered attempting to read the resultset. ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Reading from the stream has failed. ---> System.IO.IOException: Unable to read data from the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException (110): Connection timed out at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) --- End of inner exception stack trace --- at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 count) at MySql.Data.MySqlClient.TimedStream.ReadAsync(Byte[] buffer, Int32 offset, Int32 count, Boolean execAsync) at MySql.Data.MySqlClient.TimedStream.Read(Byte[] buffer, Int32 offset, Int32 count) at MySql.Data.MySqlClient.MySqlStream.ReadFullyAsync(Stream stream, Byte[] buffer, Int32 offset, Int32 count, Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.LoadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.LoadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQueryAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlTransaction.CommitAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlTransaction.Commit() at NHibernate.Transaction.AdoTransaction.Commit() 2025-07-11 14:25:36,050 [39] ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: INSERT INTO `PurchaseOrderInvoice` (`OrderType`, `OrderNumber`, `InvoiceType`, `InvoiceCode`, `InvoiceNumber`, `SupplierId`, `SupplierName`, `SupplierTaxNumber`, `InvoiceDate`, `ReceiveDate`, `InvoiceAmount`, `TaxRate`, `InvoiceStatus`, `Remark`, `AttachmentFile`, `Creator`, `CreateTime`, `Updater`, `UpdateTime`, `Reviewer`, `ReviewDate`, `IsDeleted`) VALUES (?p0, ?p1, ?p2, ?p3, ?p4, ?p5, ?p6, ?p7, ?p8, ?p9, ?p10, ?p11, ?p12, ?p13, ?p14, ?p15, ?p16, ?p17, ?p18, ?p19, ?p20, ?p21);SELECT LAST_INSERT_ID() MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd) 2025-07-11 14:25:36,058 [39] ERROR NHibernate.Util.ADOExceptionReporter - Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' 2025-07-11 14:25:56,854 [38] ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: INSERT INTO `PurchaseOrderInvoice` (`OrderType`, `OrderNumber`, `InvoiceType`, `InvoiceCode`, `InvoiceNumber`, `SupplierId`, `SupplierName`, `SupplierTaxNumber`, `InvoiceDate`, `ReceiveDate`, `InvoiceAmount`, `TaxRate`, `InvoiceStatus`, `Remark`, `AttachmentFile`, `Creator`, `CreateTime`, `Updater`, `UpdateTime`, `Reviewer`, `ReviewDate`, `IsDeleted`) VALUES (?p0, ?p1, ?p2, ?p3, ?p4, ?p5, ?p6, ?p7, ?p8, ?p9, ?p10, ?p11, ?p12, ?p13, ?p14, ?p15, ?p16, ?p17, ?p18, ?p19, ?p20, ?p21);SELECT LAST_INSERT_ID() MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd) 2025-07-11 14:25:56,857 [38] ERROR NHibernate.Util.ADOExceptionReporter - Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' 2025-07-11 14:26:13,772 [39] ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: INSERT INTO `PurchaseOrderInvoice` (`OrderType`, `OrderNumber`, `InvoiceType`, `InvoiceCode`, `InvoiceNumber`, `SupplierId`, `SupplierName`, `SupplierTaxNumber`, `InvoiceDate`, `ReceiveDate`, `InvoiceAmount`, `TaxRate`, `InvoiceStatus`, `Remark`, `AttachmentFile`, `Creator`, `CreateTime`, `Updater`, `UpdateTime`, `Reviewer`, `ReviewDate`, `IsDeleted`) VALUES (?p0, ?p1, ?p2, ?p3, ?p4, ?p5, ?p6, ?p7, ?p8, ?p9, ?p10, ?p11, ?p12, ?p13, ?p14, ?p15, ?p16, ?p17, ?p18, ?p19, ?p20, ?p21);SELECT LAST_INSERT_ID() MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd) 2025-07-11 14:26:13,774 [39] ERROR NHibernate.Util.ADOExceptionReporter - Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' 2025-07-11 14:27:10,073 [50] ERROR NHibernate.AdoNet.AbstractBatcher - Could not execute query: INSERT INTO `PurchaseOrderInvoice` (`OrderType`, `OrderNumber`, `InvoiceType`, `InvoiceCode`, `InvoiceNumber`, `SupplierId`, `SupplierName`, `SupplierTaxNumber`, `InvoiceDate`, `ReceiveDate`, `InvoiceAmount`, `TaxRate`, `InvoiceStatus`, `Remark`, `AttachmentFile`, `Creator`, `CreateTime`, `Updater`, `UpdateTime`, `Reviewer`, `ReviewDate`, `IsDeleted`) VALUES (?p0, ?p1, ?p2, ?p3, ?p4, ?p5, ?p6, ?p7, ?p8, ?p9, ?p10, ?p11, ?p12, ?p13, ?p14, ?p15, ?p16, ?p17, ?p18, ?p19, ?p20, ?p21);SELECT LAST_INSERT_ID() MySql.Data.MySqlClient.MySqlException (0x80004005): Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber' at MySql.Data.MySqlClient.MySqlStream.ReadPacketAsync(Boolean execAsync) at MySql.Data.MySqlClient.NativeDriver.GetResultAsync(Int32 affectedRow, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.GetResultAsync(Int32 statementId, Int32 affectedRows, Int64 insertedId, Boolean execAsync) at MySql.Data.MySqlClient.Driver.NextResultAsync(Int32 statementId, Boolean force, Boolean execAsync) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlDataReader.NextResultAsync(Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReaderAsync(CommandBehavior behavior, Boolean execAsync, CancellationToken cancellationToken) at MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) at MySql.Data.MySqlClient.MySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) at System.Data.Common.DbCommand.ExecuteReader() at NHibernate.AdoNet.AbstractBatcher.DoExecuteReader(DbCommand cmd) 2025-07-11 14:27:10,075 [50] ERROR NHibernate.Util.ADOExceptionReporter - Duplicate entry '84372893' for key 'PurchaseOrderInvoice.UIndex_InvoiceNumber'