We recently performed an upgrade from Couchbase Server Enterprise 4.6.3 to 5.1.0. We’re using the .NET SDK version 2.5.10. After the upgrade, we are receiving the following exception upon every Couchbase request:
Handling disconnect for connection 5c2c6a19-8b87-4c16-a447-89bd9869d0dc: “System.ObjectDisposedException: Cannot access a disposed object.
Object name: ‘System.Net.Sockets.Socket’.
at System.Net.Sockets.Socket.Send(Byte buffer, Int32 offset, Int32 size, SocketFlags socketFlags, SocketError& errorCode)
at Couchbase.IO.MultiplexingConnection.Send(Byte request)”
It’s a warning only but our logs are getting spammed with these exceptions about every 10 seconds. Also, on our local developer machines we did a clean install of 5.1.0 and we do not get the same exceptions as we are in our upper environments.
We register ICluster and IBucket as singletons in our .NET Core 2.0.1 application.
Any insight into what we should do to fix this issue would be greatly appreciated.