ObjectDisposedException: Cannot access a disposed objectError

Hello,

I have these errors
Is there something im doing wrong ?

[Discord Extension] An error has occured: Response: An exception has occurred during an OnMessage event.
8-2-2020 10:46:42|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object.
 Object name: 'SslStream'.                              238fps 98gc 23m52s
                          at System.Net.Security.SslStream.CheckDisposed () [0x00008] in <0079a30f96a047348857e1cecc6c638a>:0
                          at System.Net.Security.SslStream.get_Impl () [0x00000] in <0079a30f96a047348857e1cecc6c638a>:0
                          at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <0079a30f96a047348857e1cecc6c638a>:0
                          at WebSocketSharp.Ext+<>c__DisplayClass54_0.<ReadBytesAsync>b__0 (System.IAsyncResult ar) [0x00002] in <8fe7f8665ff548909c2f26d557e5093a>:0

I hope somebody can help me out.

Good afternoon.

Tonight, I came across a heap of errors when adding Discord status to a clean installed server. The error log is as follows.

DiscordStatus was compiled successfully in 1848ms
DiscordStatus was compiled successfully in 1848ms 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
Unloaded plugin Discord Status v2.0.4 by Tricky
Unloaded plugin Discord Status v2.0.4 by Tricky 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
Fallback handler could not load library E:/UserFiles/RadboudV/26309/RustDedicated_Data/Mono/data-00000078F06E1EB0.dll
Loaded plugin Discord Status v2.0.4 by Tricky
Loaded plugin Discord Status v2.0.4 by Tricky 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Discord socket opened!
[Discord Extension] Discord socket opened! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Your bot was found in 1 Guilds!
[Discord Extension] Your bot was found in 1 Guilds! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
3/21/2020 2:45:15 AM|Error|WebSocket.messagec|System.ArgumentNullException: Value cannot be null.
                           Parameter name: source
                             at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0000d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
                             at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
                             at Oxide.Ext.Discord.WebSockets.SocketListner.SocketMessage (System.Object sender, WebSocketSharp.MessageEventArgs e) [0x00f5e] in <a141f1996e934ec597a4fcdd8f3a7ede>:0 
                             at WebSocketSharp.Ext.Emit[TEventArgs] (System.EventHandler`1[TEventArgs] eventHandler, System.Object sender, TEventArgs e) [0x00009] in <7126fb4f5c5b40029458a4f975f98d13>:0 
                             at WebSocketSharp.WebSocket.messagec (WebSocketSharp.MessageEventArgs e) [0x00003] in <7126fb4f5c5b40029458a4f975f98d13>:0 
[Discord Extension] An error has occured: Response: An exception has occurred during an OnMessage event.
[Discord Extension] An error has occured: Response: An exception has occurred during an OnMessage event. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Attempting to reconnect to Discord...
[Discord Extension] Attempting to reconnect to Discord... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Discord connection closed uncleanly: code 1006, Reason: 
[Discord Extension] Discord connection closed uncleanly: code 1006, Reason:  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Attempting to reconnect to Discord...
[Discord Extension] Attempting to reconnect to Discord... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
3/21/2020 2:45:15 AM|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object.
                           Object name: 'SslStream'.
                             at System.Net.Security.SslStream.CheckDisposed () [0x00008] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
                             at System.Net.Security.SslStream.get_Impl () [0x00000] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
                             at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <ae22a4e8f83c41d69684ae7f557133d9>:0 
                             at WebSocketSharp.Ext+<>c__DisplayClass55_1.<ReadBytesAsync>b__1 (System.IAsyncResult ar) [0x00002] in <7126fb4f5c5b40029458a4f975f98d13>:0 
[Discord Extension] Discord socket opened!
[Discord Extension] Discord socket opened! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Attempting resume opcode...
[Discord Extension] Attempting resume opcode... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Discord socket opened!
[Discord Extension] Discord socket opened! 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Warning: tried to create a heartbeat when one is already registered.
[Discord Extension] Warning: tried to create a heartbeat when one is already registered. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
[Discord Extension] Attempting resume opcode...
[Discord Extension] Attempting resume opcode... 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)
 
Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <a141f1996e934ec597a4fcdd8f3a7ede>:0 
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <4c9b9eac076449ffb703b7c77b74c3b1>:0 
  at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <4c9b9eac076449ffb703b7c77b74c3b1>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0 
Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <a141f1996e934ec597a4fcdd8f3a7ede>:0 
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <4c9b9eac076449ffb703b7c77b74c3b1>:0 
  at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <4c9b9eac076449ffb703b7c77b74c3b1>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <ac41dd3599754d448b8c218b34645820>:0  
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)​

When the error happened, the discord bot was active but was not able to fetch its data from the server to the status bar ( world map seed and such ). I think it because the "game" status cannot be chosen because when I edited it from that to "playing", everything worked.  

Hi keep getting this error
|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object. 0b/s in, 0b/s out
Object name: 'SslStream'.
at System.Net.Security.SslStream.CheckDisposed () [0x00008] in <---------------------------------------->:0
[Discord Extension] Invalid Session ID opcode recieved!​
Also keep getting this 
|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object.

And other plugins are saying. 
Missing plugin dependency DiscordCore:

I have it setup and working, just keep getting these errors.

[Discord Extension] Discord socket opened!
12/05/2020 6:07:38 PM|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'MobileAuthenticatedStream'.
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <ID>:0 1fps 125gc 1h23m36s
at Mono.Net.Security.MobileAuthenticatedStream+<StartOperation>d__58.MoveNext () [0x001bf] in <ID>:0 2kb/s in, 25kb/s out
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <ID>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <ID>:0
at System.Runtime.CompilerServices.TaskAwaiter.Hand12/05/2020 6:07:38 PM|Fatal|WebSocket.<startReceiving>b__170_2|System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'SslStream'.
at System.Net.Security.SslStream.CheckDisposed () [0x00008] in <ID>:0
at System.Net.Security.SslStream.get_Impl () [0x00000] in <ID>:0
at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <ID>:0
at WebSocketSharp.Ext+<>c__DisplayClass54_0.<ReadBytesAsync>b__0 (System.IAsyncResult ar) [0x00002] in <ID>:0
at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00006] in <aID>:0
at WebSocketSharp.Ext+<>c__DisplayClass54_0.<ReadBytesAsync>b__0 (System.IAsyncResult ar) [0x00002] in <ID>:0
eption: Cannot access a disposed object.
Object name: 'SslStream'.
at System.Net.Security.SslStream.CheckDisposed () [0x00008] in <ID>:0
at System.Net.Security.SslStream.get_Impl () [0x00000] in <ID>:0
at System.Net.Security.SslStream.EndRead (System.IAsyncResult asyncResult) [0x00000] in <ID>:0
at WebSocketSharp.Ext+<>c__DisplayClass54_0.<ReadBytesAsync>b__0 (System.IAsyncResult ar) [0x00002] in <ID>:0​