C# client cannot connect to cluster


#1

by jkopmels » Tue Feb 18, 2014 3:41 pm

Just installed the c# client 3.0.3, and tried running the sample code against a development server. No issues occurred.

When connecting to our clustered production server however the error (on mono 4 and mono 4.5) is:

The object was used after being disposed.

System.Threading.WaitHandle.CheckDisposed () in System.Threading.EventWaitHandle.Set () in System.Net.Sockets.Socket.SocketAsyncResult.set_IsCompleted (value=true) in System.Net.Sockets.Socket.SocketAsyncResult.Complete () in System.Net.Sockets.Socket.SocketAsyncResult.Complete (e={System.ObjectDisposedException: The object was used after being disposed. at System.Net.Sockets.Socket.GetSocketOption (SocketOptionLevel optionLevel, SocketOptionName optionName) [0x00000] in :0 at System.Net.Sockets.Socket+Worker.Connect () [0x00000] in :0 }) in System.Net.Sockets.Socket.Worker.Connect () in System.Net.Sockets.Socket.Worker.DispatcherCB (sar={System.Net.Sockets.Socket.SocketAsyncResult}) in

Ani ideas?


#2

Hi jkopmels,

Aerospike currently does not have support for Mono.