You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi we continue to see the following exception despite this fix 9c70847
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Remote connection sent preamble length of 1230262351, which is greater than maximum allowed size of 1024.) ---> System.InvalidOperationException: Remote connection sent preamble length of 1230262351, which is greater than maximum allowed size of 1024. at Orleans.Runtime.Messaging.ConnectionPreambleHelper.Read(ConnectionContext connection) in /_/src/Orleans.Core/Networking/ConnectionPreamble.cs:line 96 at Orleans.Runtime.Messaging.GatewayInboundConnection.RunInternal() in /_/src/Orleans.Runtime/Networking/GatewayInboundConnection.cs:line 110 at Orleans.Runtime.Messaging.Connection.Run() in /_/src/Orleans.Core/Networking/Connection.cs:line 87 --- End of inner exception stack trace ---ConnectionPreambleHelperConnectionPreambleGatewayInboundConnection
Hi we continue to see the following exception despite this fix 9c70847
System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Remote connection sent preamble length of 1230262351, which is greater than maximum allowed size of 1024.) ---> System.InvalidOperationException: Remote connection sent preamble length of 1230262351, which is greater than maximum allowed size of 1024. at Orleans.Runtime.Messaging.ConnectionPreambleHelper.Read(ConnectionContext connection) in /_/src/Orleans.Core/Networking/ConnectionPreamble.cs:line 96 at Orleans.Runtime.Messaging.GatewayInboundConnection.RunInternal() in /_/src/Orleans.Runtime/Networking/GatewayInboundConnection.cs:line 110 at Orleans.Runtime.Messaging.Connection.Run() in /_/src/Orleans.Core/Networking/Connection.cs:line 87 --- End of inner exception stack trace ---ConnectionPreambleHelperConnectionPreambleGatewayInboundConnection
The reason for this is the Task managed by this TaskCompletionSource not being observed https://github.com/dotnet/orleans/blob/main/src/Orleans.Core/Networking/Connection.cs#L152
An easy fix would be to observe it as it was done by earlier fix.
_initializationTcs.Task.Ignore();
Happy to to raise a PR.
Thanks in advance
The text was updated successfully, but these errors were encountered: