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
alexeyzimarev
changed the title
Connection disposed exception with TCP event reader
[DEV-4] Connection disposed exception with TCP event reader
Mar 20, 2023
alexeyzimarev
changed the title
[DEV-4] Connection disposed exception with TCP event reader
Connection disposed exception with TCP event reader
Mar 21, 2023
Describe the bug
A customer reported seeing the following stack trace:
The crash seems to be coming from this line:
replicator/src/EventStore.Replicator.Esdb.Tcp/TcpEventReader.cs
Line 54 in 2f29572
It appears that
_connection
object's state wasConnectionState.Closed
when callingConnectAsync()
(not sure why, maybe it was in the middle of a reconnection but this hypothesis doesn't seem to make sense since based on a quick glance at the code it appears that it's the first time we're calling ConnectAsync to establish the connection):https://github.com/EventStore/EventStoreDB-Client-Dotnet-Legacy/blob/f29fb7f0c89bd1a7b7390379373b7266261da934/src/EventStore.ClientAPI/Internal/EventStoreConnectionLogicHandler.cs#L112
DEV-74
The text was updated successfully, but these errors were encountered: