I just had my server crashing.
Host says it was a detected process crash.
Before restart initiated the last thing that was written in the log was this:
2:28 PM [Warning] [Discord Extension] [Warning]: Discord WebSocket closed with abnormal close code. Code: 1000, reason:
Discord extension causes server crash
These errors are also in the log:
12:24 [Error] [Discord Extension] [Error]: Discord API has returned error Discord Code: 40060 Discord Error: Interaction has already been acknowledged. Request: [POST] https://discord.com/api/v9/interactions/1067404535460532234/aW50ZXJhY3Rpb246MTA2NzQwNDUzNTQ2MDUzMjIzNDplZFFtMUtmRU1KNWVoSVhuS05sa0h5UWZsS1ozTGNzQmg0ODExVlVyRENmMmg3YTY2dUtzWlJva0s5NnpHd1F2amlpVEUxYU45OVVwNXU1YkkwRVIwd0JNWmh0WUx6Q05ONFdjTkp5V3owcVNzblpGbTEyNGlNQmdnTnNuQjlMRQ/callback (Response Code: BadRequest) Content-Type: application/json
Discord Errors:
Request Body:
{
"type": 4,
"data": {
"content": "The log data for this message was not found. If it's older than 30 days then it may have been deleted.",
"flags": 64
}
same
Even though it is inevitable that errors will occur, is it possible to prevent the server from crashing when an error does occur?
Sure. Find the plugin that causes this and deinstall it.