-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IO-TCP logs unnecessary error message on flow termination #6931
Labels
Comments
anpin
added a commit
to anpin/akka-mergehub-and-socket-repro
that referenced
this issue
Sep 27, 2023
the net472 version reproduces the issue akkadotnet/akka.net#6931
This is definitely a long-standing bug with Akka.IO - we're using a very sloppy technique for ensuring the mutual destruction of actors inside of here, hence the useless spam in the error logs. We should handle this more appropriately so it doesn't cast off unnecessary exceptions. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Version Information
Version of Akka.NET? 1.5.13
Which Akka.NET Modules? Akka and Akka.Streams
On net472 target TcpStreams extensions logs out unnecessary error message when attached TCP flow is terminated. The message is not produced when target runs net7.0.
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/anpin/akka-mergehub-and-socket-repro
cd akka-mergehub-and-socket-repro/ConsoleApp1
dotnet run --framework net472
dotnet run --framework net7.0
and see no error after Ctrl-CNote: the exception inside the server code was planted to illustrate another error message logged when MergeHub source is failing
Expected behavior
The Monitored actor terminated message is not emitted on both platforms
Actual behavior
The Monitored actor terminated message is emitted on net472, but not on dotnet
Environment
Both Linux and Windows
.NET SDK:
Version: 7.0.400
Commit: 73bf45718d
The text was updated successfully, but these errors were encountered: