Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pool down #1081

Open
mastercoincore opened this issue Mar 25, 2019 · 2 comments
Open

Pool down #1081

mastercoincore opened this issue Mar 25, 2019 · 2 comments

Comments

@mastercoincore
Copy link

Why I get this error and how to fix it?

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+SelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00029] in :0 at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00059] in <e32d3889c5e24db788c761b532f9d8a8>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Boolean& found) [0x00045] in :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

Thank you

@mastercoincore
Copy link
Author

[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 :0
at CoiniumServ.Server.Mining.Stratum.Sockets.Connection.EndReceive (System.IAsyncResult result) [0x00006] in :0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.ReceiveCallback (System.IAsyncResult result) [0x00011] in :0

@mastercoincore
Copy link
Author

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+SelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00029] in :0
at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].MoveNext () [0x00059] in <e32d3889c5e24db788c761b532f9d8a8>:0 at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Boolean& found) [0x00045] in :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 <30b6bb0cc42e47f592a142943b62dded>:0
at CoiniumServ.Server.Mining.Stratum.StratumServer.OnClientDisconnect (System.Object sender, CoiniumServ.Server.Mining.Stratum.Sockets.ConnectionEventArgs e) [0x00027] in <30b6bb0cc42e47f592a142943b62dded>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.OnClientDisconnect (CoiniumServ.Server.Mining.Stratum.Sockets.ConnectionEventArgs e) [0x0000a] in <30b6bb0cc42e47f592a142943b62dded>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.RemoveConnection (CoiniumServ.Server.Mining.Stratum.Sockets.IConnection connection) [0x0008c] in <30b6bb0cc42e47f592a142943b62dded>:0
at CoiniumServ.Server.Mining.Stratum.Sockets.SocketServer.ReceiveCallback (System.IAsyncResult result) [0x00054] in <30b6bb0cc42e47f592a142943b62dded>: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
root@pool3:~/CoinM/src/CoiniumServ/build/bin/Release#

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant