Open mastercoincore opened 5 years ago
[Error] [StratumServer] [CoinM] SocketException on ReceiveCallback
System.Net.Sockets.SocketException (0x80004005): Connection reset by peer
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in
Still searching f´how to solve this:
[Fatal] [Program] [global] Terminating because of unhandled exception!
System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.Dictionary2+Enumerator[TKey,TValue].MoveNext () [0x00013] in <b0fbce3aded24cd69a2794df353ebd0a>:0 at System.Linq.Enumerable+SelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00029] in 2[TSource,TResult].MoveNext () [0x00059] in <e32d3889c5e24db788c761b532f9d8a8>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable
1[T] source, System.Boolean& found) [0x00045] in
Why I get this error and how to fix it?
System.InvalidOperationException: Collection was modified; enumeration operation may not execute. at System.Collections.Generic.Dictionary:0 at System.Linq.Enumerable+WhereSelectEnumerableIterator:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in :0 at CoiniumServ.Mining.MinerManager.Remove (CoiniumServ.Server.Mining.Stratum.Sockets.IConnection connection) [0x0006c] in <8beadd9b76614206b27720157cc6e796>:0 at CoiniumServ.Server.Mining.Stratum.StratumServer.OnClientDisconnect (System.Object sender, CoiniumServ.Server.Mining.Stratum.Sockets.ConnectionEventArgs e) [0x00027] in <8beadd9b76614206b27720157cc6e796>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.OnClientDisconnect (CoiniumServ.Server.Mining.Stratum.Sockets.ConnectionEventArgs e) [0x0000a] in <8beadd9b76614206b27720157cc6e796>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.RemoveConnection (CoiniumServ.Server.Mining.Stratum.Sockets.IConnection connection) [0x0008c] in <8beadd9b76614206b27720157cc6e796>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.ReceiveCallback (System.IAsyncResult result) [0x00054] in <8beadd9b76614206b27720157cc6e796>:0
at System.Net.Sockets.SocketAsyncResult+<>c.b__27_0 (System.Object state) [0x0000b] in :0
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00008] in :0
at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00074] in :0
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in :0
2+Enumerator[TKey,TValue].MoveNext () [0x00013] in <b0fbce3aded24cd69a2794df353ebd0a>:0 at System.Linq.Enumerable+SelectEnumerableIterator
2[TSource,TResult].MoveNext () [0x00029] in2[TSource,TResult].MoveNext () [0x00059] in <e32d3889c5e24db788c761b532f9d8a8>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable
1[T] source, System.Boolean& found) [0x00045] inThank you