EVERYONE CALM DOWN. I am sure this issue is being worked on.
WebSocket closed with abnormal close code. Code: 1015Fixed
Discord Status -
Went and created a whole new bot, new Bot Token installed and uploaded.
Current Error Code -
DiscordStatus was compiled successfully in 2039ms
Fallback handler could not load library C:/TCAFiles/Users/xOTx2/127963/RustDedicated_Data/Mono/data-000001EAB9CF2190.dll
Could not initialize plugin 'DiscordStatus v4.0.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.WebSockets.Socket.Disconnect (System.Boolean attemptReconnect, System.Boolean shouldResume, System.Boolean requested) [0x0008c] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.WebSockets.Socket.Shutdown () [0x00001] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.BotClient.ShutdownBot () [0x0003a] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.BotClient.RemoveClient (Oxide.Ext.Discord.DiscordClient client) [0x00032] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.Disconnect () [0x00029] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.CloseClient (Oxide.Ext.Discord.DiscordClient client) [0x0000f] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginRemoved (Oxide.Core.Plugins.Plugin plugin) [0x0001d] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginAdded (Oxide.Core.Plugins.Plugin plugin) [0x00001] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00038] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <99d545163fdd4d57a562df7989f2ca0a>:0
No previous version to rollback plugin: DiscordStatus
-------------------------------------------------------------------------------------------------------------------------------
RustCord Status -
Downloaded RustCord brand new, without any Bot Token this is the error below.
No Bot Token Error -
Rustcord was compiled successfully in 2170ms
Fallback handler could not load library C:/TCAFiles/Users/xOTx2/127963/RustDedicated_Data/Mono/data-000001EAC4EDE020.dll
[Rustcord] Attempting to create default config...
Could not initialize plugin 'Rustcord v3.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.WebSockets.Socket.Disconnect (System.Boolean attemptReconnect, System.Boolean shouldResume, System.Boolean requested) [0x0008c] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.WebSockets.Socket.Shutdown () [0x00001] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.BotClient.ShutdownBot () [0x0003a] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.BotClient.RemoveClient (Oxide.Ext.Discord.DiscordClient client) [0x00032] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.Disconnect () [0x00029] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.CloseClient (Oxide.Ext.Discord.DiscordClient client) [0x0000f] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginRemoved (Oxide.Core.Plugins.Plugin plugin) [0x0001d] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Ext.Discord.DiscordClient.OnPluginAdded (Oxide.Core.Plugins.Plugin plugin) [0x00001] in <b3ca87e8d438492cbba2c036d52b9214>:0
at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00038] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <99d545163fdd4d57a562df7989f2ca0a>:0
Rolling back plugin to last good version: Rustcord
Failed to call hook 'OnServerInitialized' on plugin 'Rustcord v3.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Rustcord.OnServerInitialized () [0x00000] in <81daefe9e78e4147a337750ea77ac83a>:0
at Oxide.Plugins.Rustcord.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x012d4] in <81daefe9e78e4147a337750ea77ac83a>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc99cb05b42e4ea494cdf294badea406>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
-------------------------------------------------------------------------------------------------------------------------------
With Bot Token - (Yes, there is RustCord in Plugins & in Config folders, as per below first line.)
Could not load plugin 'RustCord' (no plugin found with that file name)
Rcon Error: System.IO.IOException: Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
. ---> System.Net.Sockets.SocketException: An existing connection was forcibly closed by the remote host.
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <14e3453b740b4bd690e8d4e5a013a715>:0
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <14e3453b740b4bd690e8d4e5a013a715>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Fleck.WebSocketConnection+<>c.<Receive>b__63_0 (System.IAsyncResult result) [0x00017] in <ab99eefdd17e4a4e88de8ba5c29af877>:0
Failed to call hook 'ReloadCommand' on plugin 'RustCore v2.0.5589' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000fb] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
Rcon Error: System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine.
. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine.
at System.Net.Sockets.Socket.EndReceive (System.IAsyncResult asyncResult) [0x00012] in <14e3453b740b4bd690e8d4e5a013a715>:0
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x00057] in <14e3453b740b4bd690e8d4e5a013a715>:0
--- End of inner exception stack trace ---
at System.Net.Sockets.NetworkStream.EndRead (System.IAsyncResult asyncResult) [0x0009b] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Fleck.WebSocketConnection+<>c.<Receive>b__63_0 (System.IAsyncResult result) [0x00017] in <ab99eefdd17e4a4e88de8ba5c29af877>:0
Failed to call hook 'ReloadCommand' on plugin 'RustCore v2.0.5589' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000fb] in <99d545163fdd4d57a562df7989f2ca0a>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <99d545163fdd4d57a562df7989f2ca0a>:0
same issue
same Mjsu The update did not work for me
well, its written in the description that it only stops spam, you will have to wait for a full fix
NeXTAwell, its written in the description that it only stops spam, you will have to wait for a full fix
It is still using
Oxide.Ext.Discord
As you can see above in most of the lines. Who knows ¯\_(ツ)_/¯
Hope the codes can help 👍
even after putting in the new Oxide.Ext.Discord.dll and restarting the servers; I get this in the logs:
7/13/2022 4:02:48 AM|Fatal|WebSocket.connect|WebSocketSharp.WebSocketException: An error has occurred during a TLS handshake. ---> System.AggregateException: One or more errors occurred. ---> System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception. ---> Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_NOT_DONE
at Mono.Unity.Debug.CheckAndThrow (Mono.Unity.UnityTls+unitytls_errorstate errorState, Mono.Unity.UnityTls+unitytls_x509verify_result verifyResult, System.String context, Mono.Security.Interface.AlertDescription defaultAlert) [0x00036] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Mono.Unity.UnityTlsContext.ProcessHandshake () [0x00082] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake (Mono.Net.Security.AsyncOperationStatus status) [0x0003e] in <14e3453b740b4bd690e8d4e5a013a715>:0
at (wrapper remoting-invoke-with-check) Mono.Net.Security.MobileAuthenticatedStream.ProcessHandshake(Mono.Net.Security.AsyncOperationStatus)
at Mono.Net.Security.AsyncHandshakeRequest.Run (Mono.Net.Security.AsyncOperationStatus status) [0x00006] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Mono.Net.Security.AsyncProtocolRequest+<ProcessOperation>d__24.MoveNext () [0x000ff] in <14e3453b740b4bd690e8d4e5a013a715>:0
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <fb001e01371b4adca20013e0ac763896>:0
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <fb001e01371b4adca20013e0ac763896>:0
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at Mono.Net.Security.AsyncProtocolRequest+<StartOperation>d__23.MoveNext () [0x0008b] in <14e3453b740b4bd690e8d4e5a013a715>:0
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <fb001e01371b4adca20013e0ac763896>:0
at Mono.Net.Security.MobileAuthenticatedStream+<ProcessAuthentication>d__47.MoveNext () [0x00254] in <14e3453b740b4bd690e8d4e5a013a715>:0
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00011] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in <fb001e01371b4adca20013e0ac763896>:0
at System.Threading.Tasks.Task.Wait () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at Mono.Net.Security.MobileAuthenticatedStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000d] in <14e3453b740b4bd690e8d4e5a013a715>:0
at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x00006] in <14e3453b740b4bd690e8d4e5a013a715>:0
at WebSocketSharp.WebSocket.setClientStream () [0x000f6] in <271c58b7a8684db5a2c92be17a81f252>:0
--- End of inner exception stack trace ---
at WebSocketSharp.WebSocket.setClientStream () [0x00116] in <271c58b7a8684db5a2c92be17a81f252>:0
at WebSocketSharp.WebSocket.doHandshake () [0x00001] in <271c58b7a8684db5a2c92be17a81f252>:0
at WebSocketSharp.WebSocket.connect () [0x0004f] in <271c58b7a8684db5a2c92be17a81f252>:0
[Discord Extension] [Warning]: Discord WebSocket closed with abnormal close code. Code: 1015, reason: An exception has occurred while connecting.
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
[Discord Extension] [Warning]: Attempting to reconnect to Discord... [Retry=38]
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)
I have noticed that Discord Chat no longer works as well.
Seeing the following message as well.
[Discord Extension] [Warning]: Attempting to reconnect to Discord... [Retry=47]
I haven't changed anything server/networking or discord wise and I don't recall this being problematic after the force wipe/update (at least not right away).
I have completely rebooted the hosts, and hypervisors just to be certain. I am not sure if I believe that we have an issue with networking(ports are opened, server can communicate properly, etc), I think it's probably the TLS implementation.
This line seems to be the culprit:
Mono.Security.Interface.TlsException: Handshake failed - error code: UNITYTLS_INTERNAL_ERROR, verify result: UNITYTLS_X509VERIFY_NOT_DONE
xOTx
It is still using
Oxide.Ext.DiscordAs you can see above in most of the lines. Who knows ¯\_(ツ)_/¯
Hope the codes can help 👍
I still get the messaging, it's just slightly less frequent.
4weed2weed0EVERYONE CALM DOWN. I am sure this issue is being worked on.
RAGEEE
nightmarerustI still get the messaging, it's just slightly less frequent.
All I know is that

FYI, the author, MJSU, has posted a new working version in the #support channel of the uMod Discord. He had to bump up TLS to 1.2 to get it working. He is currently unable to upload it to the uMod website, but I can confirm that it fixed the issue and my bot is connecting successfully again with this version from Discord.
quietconundrum
FYI, the author, MJSU, has posted a new working version in the #support channel of the uMod Discord. He had to bump up TLS to 1.2 to get it working. He is currently unable to upload it to the uMod website, but I can confirm that it fixed the issue and my bot is connecting successfully again with this version from Discord.
Discord Invite Link?
xOTxDiscord Invite Link?
DMed 👍
quietconundrum
DMed 👍
dm it to me as well please, thank you
martin293dm it to me as well please, thank you
sent 👍
Locked automatically