explanation of error message

Hi

We run into this from time to time:

"System.Exception: CatchUpError —> System.AggregateException: One or more errors occurred. —> System.ObjectDisposedException: Cannot access a disposed object.

Object name: ‘ES-67274413-1531-43fc-8b3f-073cb108b68c’.
— End of inner exception stack trace —
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task1.get_Result()
at EventStore.ClientAPI.EventStoreStreamCatchUpSubscription.ReadEventsTill(IEventStoreConnection connection, Boolean resolveLinkTos, UserCredentials userCredentials, Nullable1 lastCommitPosition, Nullable1 lastEventNumber)
at EventStore.ClientAPI.EventStoreCatchUpSubscription.b__0(Object _)"

Any hints? :slight_smile:

Are we mismanaging the connection…

Looks like a disposed connection perhaps?

Indeed a closed connection… Sorry, I’m getting a bad habit of writing posts before experimenting in linqpad…