WebSocket closed with abnormal close code. Code: 1015Fixed

Log file is full of this message and caused the server to crash. This began at 07/12/2022 19:01 EDT. Only option is to unload Rustcord to prevent server from crashing.

07/12/2022 19:01:25|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)
8SecSleeper

Latest release from this morning installed, Server silently crashes after 20 mins or so, 3 times in a row now. Removing again.

Shut Down Server First

» Shut down server, copy new DLL to RustDedicated_Data>Managed

» THEN, you may start your Server

(There should be no errors and compiles without the old bot token error now)

 

Let me know if your issue still persists after.

since 1 am all the bots are broken comes up with this in discord i updated the extension but its not doing anything

[Discord Extension] [Warning]: Discord WebSocket closed with abnormal close code. Code: 1015, reason: An exception has occurred while connecting. 
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)


Merged post

servers were turned off i updated it on gtx under updates as tahts where you do it on them servers i have scall servers also stuck the new dll in manged and they arent working with bots either 
Asset Warmup (366/7804)
[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=3] 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

[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=4] 
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)​

Everytime i try to reload Rustcord or try to install it again this keeps popping up, it wont load no matter how much i change the API Key and restart the whole server from scratch

update all fixed now had to keep turing them offn and on and kepp installing the update 

w3B4C8Rrb6s3h2q.png xOTx

Shut Down Server First

» Shut down server, copy new DLL to RustDedicated_Data>Managed

» THEN, you may start your Server

(There should be no errors and compiles without the old bot token error now)

 

Let me know if your issue still persists after.

Yea I don't play, I restart the whole pc, after replacing the discord extension, 3 crashes in a row, removed the extension and haven't had issues all day. So it's being caused the the extension, I'll try again tomorrow morning. It crashed my server multiple times from ddos from the extension last night when full pop, which basically made everyone quit after the second time lol.

im having same issue since yesterday spam console 

crashed my server with this error

8SecSleeper

Yea I don't play, I restart the whole pc, after replacing the discord extension, 3 crashes in a row, removed the extension and haven't had issues all day. So it's being caused the the extension, I'll try again tomorrow morning. It crashed my server multiple times from ddos from the extension last night when full pop, which basically made everyone quit after the second time lol.

After you shut down the server, copy the new DLL to RustDedicated_Data>Managed, start your server, have you tried reloading the plugin(s) from console?

 

Try reloading RustCord and/or DiscordStatus by o.reload Rustcord & o.reload DiscordStatus.

Side note: Reset your bot token(s) if necessary and reload them again, see if that helps.

Yea woke up to 1 server completly borked and the other spamming. I shut them both down, uninstalled/reinstalled discord exstention and then started... got massive spam with the origional error... Server is downloading 2.1.5

Are there any known issues?
All of my servers with the latest extension update crashed at the same time, the servers with "only" the hotfix (console spam fix) are running smoothly.

RazorRamon

Are there any known issues?
All of my servers with the latest extension update crashed at the same time, the servers with "only" the hotfix (console spam fix) are running smoothly.

which hotfix? my bots are constantly reconnecting and i get kicked from official discord saying my bot tried to join over 1000 times and therefor got reset

If your using a host make sur you are actually running 2.1.5, my host had an old version cached and had to purge it from there system

I loaded the plugin onto my test server and added a bot API and received:

[Discord Extension] [Warning]: Discord WebSocket closed with abnormal close code. Code: 1015, reason: An exception has occurred while connecting.

I have downloaded the updated version of discord core and the newest version of the Discord ext. Any other suggestions? It crashed my main server 4 times before removing the extension all together.

Thanks

Locked automatically