Hi.I've migrated one web app from .NET Core 3.1 to. NET 6, Fb Core provider from v7.5.0 to 9.0.1
new app works but sometimes doesn't start on first run and got in console: Failed to load resource: the server responded with a status of 500 (Internal Server Error)
After I reload it, works fine a while.
...
FirebirdSql.Data.FirebirdClient.FbException (0x80004005): Error writing data to the connection.
Error reading data from the connection.
---> FirebirdSql.Data.Common.IscException: Error writing data to the connection.
Error reading data from the connection.
---> System.IO.IOException: Missing 4 bytes to fill total 4.
at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadBytesAsync(Byte[] buffer, Int32 count, CancellationToken cancellationToken)
at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadInt32Async(CancellationToken cancellationToken)
at FirebirdSql.Data.Client.Managed.XdrReaderWriter.ReadOperationAsync(CancellationToken cancellationToken)
at FirebirdSql.Data.Client.Managed.AuthBlock.ProcessContAuthResponseAsync(CancellationToken cancellationToken)
at FirebirdSql.Data.Client.Managed.GdsConnection.IdentifyAsync(String database, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at FirebirdSql.Data.Client.Managed.GdsConnection.IdentifyAsync(String database, CancellationToken cancellationToken)
at FirebirdSql.Data.Client.ClientFactory.CreateManagedDatabaseAsync(ConnectionString options, CancellationToken cancellationToken)
at FirebirdSql.Data.Client.ClientFactory.CreateManagedDatabaseAsync(ConnectionString options, CancellationToken cancellationToken)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.ConnectAsync(CancellationToken cancellationToken)
at FirebirdSql.Data.FirebirdClient.FbConnectionInternal.ConnectAsync(CancellationToken cancellationToken)
at FirebirdSql.Data.FirebirdClient.FbConnection.OpenAsync(CancellationToken cancellationToken)
ob.UseFirebird("database=" + userSettings.Host + ":" + userSettings.Path + userSettings.DbName + ".fdb" +