An error occurred while processing feed... Collection was modified; enumeration operation may not execute

I’ve been getting this error alot lately, here’s the Exception:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List1+Enumerator[System.Net.Cookie].MoveNext () [0x00075] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.Collections.Generic/List.cs:818 at System.Net.CookieContainer.GetCookies (System.Uri uri) [0x0019a] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/CookieContainer.cs:415 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x0019f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:96 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.Torrentleech.TorrentleechSettings].FetchIndexerResponse (NzbDrone.Core.Indexers.IndexerRequest request) [0x00044] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:209
at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.Torrentleech.TorrentleechSettings].FetchPage (NzbDrone.Core.Indexers.IndexerRequest request, IParseIndexerResponse parser) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:195 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.Torrentleech.TorrentleechSettings].FetchReleases (IList`1 pageableRequests) [0x0004c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:131

It’s been happening with pretty much all my torrent indexers, the builtin ones, the generic rss ones and the torznab ones.I’m on Ver. 2.0.0.3288 develop.

You get the same error with all of them? I know TL uses cookies and its entirely possible something is wrong there, but the other indexers don’t to my knowledge.

This is from IPTorrents:

15-7-7 23:53:42.2|Error|IPTorrents|An error occurred while processing feed. https://iptorrents.com/torrents/rss?u=;tp=;66;22;5;download

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List1+Enumerator[System.Net.Cookie].MoveNext () [0x00075] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.Collections.Generic/List.cs:818 at System.Net.CookieContainer.GetCookies (System.Uri uri) [0x0019a] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/CookieContainer.cs:415 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x0019f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:96 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.IPTorrents.IPTorrentsSettings].FetchIndexerResponse (NzbDrone.Core.Indexers.IndexerRequest request) [0x00044] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:209
at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.IPTorrents.IPTorrentsSettings].FetchPage (NzbDrone.Core.Indexers.IndexerRequest request, IParseIndexerResponse parser) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:195 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.IPTorrents.IPTorrentsSettings].FetchReleases (IList`1 pageableRequests) [0x0004c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:131

Also got this OWIN error:

15-7-7 20:08:01.3|Error|Owin|/volume1/@appstore/nzbdrone/share/NzbDrone/Microsoft.AspNet.SignalR.Core.dll Warning : 0 : SignalR exception thrown by Task: System.AggregateException: One or more errors occurred —> System.IO.IOException: Write failure —> System.Net.Sockets.SocketException: Connection reset by peer
at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x0005c] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/Socket.cs:1841
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x0006e] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:415
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x0008e] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:418
at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, Int32 offset, Int32 count) [0x00029] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/ResponseStream.cs:132
at System.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00092] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/ResponseStream.cs:156
at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in :0
— End of inner exception stack trace —
–> (Inner exception 0) System.IO.IOException: Write failure —> System.Net.Sockets.SocketException: Connection reset by peer
at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x0005c] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/Socket.cs:1841
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x0006e] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:415
— End of inner exception stack trace —
at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x0008e] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net.Sockets/NetworkStream.cs:418
at System.Net.ResponseStream.InternalWrite (System.Byte[] buffer, Int32 offset, Int32 count) [0x00029] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/ResponseStream.cs:132
at System.Net.ResponseStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00092] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/ResponseStream.cs:156
at Microsoft.Owin.Host.HttpListener.RequestProcessing.ExceptionFilterStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in :0

Update: After restarting Sonarr things seem to be running smoothly again.

Still getting those errors, heres one from bitmetv:

System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
at System.Collections.Generic.List1+Enumerator[System.Net.Cookie].MoveNext () [0x00075] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/corlib/System.Collections.Generic/List.cs:818 at System.Net.CookieContainer.GetCookies (System.Uri uri) [0x0019a] in /spksrc/native/mono/work-native/mono-3.10.0/mcs/class/System/System.Net/CookieContainer.cs:415 at NzbDrone.Common.Http.HttpClient.Execute (NzbDrone.Common.Http.HttpRequest request) [0x0019f] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Common\Http\HttpClient.cs:96 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.BitMeTv.BitMeTvSettings].FetchIndexerResponse (NzbDrone.Core.Indexers.IndexerRequest request) [0x00044] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:209
at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.BitMeTv.BitMeTvSettings].FetchPage (NzbDrone.Core.Indexers.IndexerRequest request, IParseIndexerResponse parser) [0x00000] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:195 at NzbDrone.Core.Indexers.HttpIndexerBase1[NzbDrone.Core.Indexers.BitMeTv.BitMeTvSettings].FetchReleases (IList`1 pageableRequests) [0x0004c] in m:\BuildAgent\work\6c3239faf2b92630\src\NzbDrone.Core\Indexers\HttpIndexerBase.cs:131

Should be fixed on dev now.

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.