InvalidOperationException at REST.Bucket.FireRequestsError
(19:09:18) | [Oxide] 19:09 [Error] An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
  at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <3e4da02cf86b4fc686ed0ac61bffc210>:0 
  at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in :0 
  at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in :0 
  at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in :0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <1f0c1ef1ad524c38bbc5536809c46b48>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <1f0c1ef1ad524c38bbc5536809c46b48>:0


What is this trying to tell me ? 

Replying to wrong thread, disregard. If plugin does this, unload and reload
i use newest version 1.0.5 and very often i have this message
An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
  at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0
Getting this error in the console every so often.

An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0​
Getting same issue
An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
  at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 ​


Merged post

[Discord Extension] A web request exception occured (internal error) [RETRY=0/3]. (WebException: The request timed out)
  at System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) [0x00049] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
  at System.Net.HttpWebRequest.GetResponse () [0x0000e] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
  at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x000b3] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
[Discord Extension] Request URL: [POST] https://discordapp.com/api/channels/680966360851021834/messages
An exception was thrown! (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x0015e] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x00062] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0 

This is causing lag spikes on my servers.. Can you please fix the erros? This is new after the update

having same issue too but another issue is causing lag spikes. i will send it once i find it again
[Discord Extension] Discord ratelimit reached. (Ratelimit info: remaining: 0, limit: 5, reset: 1588907783, time now: 1588907781
[Discord Extension] Discord ratelimit reached. (Ratelimit info: remaining: 0, limit: 5, reset: 1588907783, time now: 1588907781

This is causing lag spikes

Edit: Issues need to be fixed. Starting to cause some serious lag on my servers.

An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.) at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <437ba245d8404784b9fbab9b439ac908>:0 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <437ba245d8404784b9fbab9b439ac908>:0
An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.)
at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <fb001e01371b4adca20013e0ac763896>:0
at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <fb001e01371b4adca20013e0ac763896>:0
at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
(14:03:43) | An exception was thrown! (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.REST.Request.Fire (Oxide.Ext.Discord.REST.Bucket bucket) [0x0015e] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x00062] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <fb001e01371b4adca20013e0ac763896>:0

Got this error spamming time to time, using Discord Reward plugin. Sometimes Plguin reload itself because of this error and works fine then after certain time again. Contacted plugin dev. he said contact Discord Extension dev.

[DiscordRewards] Sending request for member list from Discord server... (18:44:31) | An exception was thrown! (InvalidOperationException: Collection was modified; enumeration operation may not execute.) at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in :0 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in :0 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in :0 at System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00039] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Oxide.Ext.Discord.REST.Bucket.FireRequests () [0x0002f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at Oxide.Ext.Discord.REST.Bucket.RunThread () [0x0001f] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at Oxide.Ext.Discord.REST.Bucket.<.ctor>b__27_0 () [0x00000] in <618cbb3cd1f24a338ef71fa504209e7a>:0 at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in :0 at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in :0 at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in :0 at System.Threading.ThreadHelper.ThreadStart () [0x00008] in :0

This is from an old version of the extension. Please update.

MJSU

This is from an old version of the extension. Please update.

Hmmm... i just installed version from my host gameserverkins. Ok will try to reinstall it

MJSU

This is from an old version of the extension. Please update.

Yes worked, just reinstalled and erros gone now! Thanks!