[Backport v1.5] Fix: Akka.Remote should not shutdown on invalid TLS traffic#7952
Merged
Aaronontheweb merged 1 commit intoNov 25, 2025
Merged
Conversation
5a09173 to
46b1876
Compare
…et#7939) When TLS is enabled, invalid traffic (like HTTP requests) hitting the Akka.Remote port would cause the entire ActorSystem to shut down with exit code 79. This was due to overly aggressive TLS handshake failure handling introduced in akkadotnet#7839. Changes: - Modified TcpTransport to only trigger CoordinatedShutdown for client-side TLS handshake failures (outbound connections we initiate) - Server-side TLS failures (incoming invalid connections) now just log a warning and reject the connection without shutting down - Added test to verify servers remain running when invalid traffic hits the TLS port This makes Akka.Remote resilient to port scanners, misconfigured clients, or malicious traffic while maintaining strict security for legitimate connections. Fixes akkadotnet#7938
46b1876 to
fea4231
Compare
This was referenced Nov 26, 2025
This was referenced Dec 11, 2025
This was referenced Jan 7, 2026
This was referenced May 21, 2026
Open
Open
Closed
Open
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Backport of #7939 to v1.5 branch.
Original PR: #7939