Discord Extension [Exception]: A web request exception occured (internal error)

Hey, since I started using Discord Extension I get these error messages.
Also my server crashes or kicks all players off the server.

I have already tried everything and really do not know what to do.

[Discord Extension] [Exception]: A web request exception occured (internal error) [RETRY=1/3].
Request URL: [POST] https://discord.com/api/v9/channels/1056578662637518919/messages
System.Net.WebException: The request timed out
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0 0b/s in, 0b/s out
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0 (WebException: The request timed out)
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0
[Discord Extension] [Exception]: A web request exception occured (internal error) [RETRY=2/3].
Request URL: [POST] https://discord.com/api/v9/channels/1056578662637518919/messages
System.Net.WebException: The request timed out
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0 0b/s in, 0b/s out
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0 (WebException: The request timed out)
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0
[Discord Extension] [Exception]: A web request exception occured (internal error) [RETRY=3/3].
Request URL: [POST] https://discord.com/api/v9/channels/1056578662637518919/messages
System.Net.WebException: The request timed out
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0 0b/s in, 0b/s out
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0 (WebException: The request timed out)
at System.Net.HttpWebRequest.GetRequestStream () [0x0004d] in <14e3453b740b4bd690e8d4e5a013a715>:0
at Oxide.Ext.Discord.Rest.Request.WriteRequestData (System.Net.WebRequest request) [0x0002d] in <04348bf9a35746d283d4a8b439245576>:0
at Oxide.Ext.Discord.Rest.Request.Fire () [0x00022] in <04348bf9a35746d283d4a8b439245576>:0
Failed to check connectivity to the companion server: System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00026] in <fb001e01371b4adca20013e0ac763896>:0 0b/s in, 0b/s out
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.TaskAwaiter`1[TResult].GetResult () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Net.Http.HttpClientHandler+<SendAsync>d__64.MoveNext () [0x004f5] in <7ebf3529ba0e4558a5fa1bc982aa8605>: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) [0x0001a] 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`1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at System.Net.Http.HttpClient+<SendAsyncWorker>d__47.MoveNext () [0x000ca] in <7ebf3529ba0e4558a5fa1bc982aa8605>: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) [0x0001a] 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.TaskAwaiter`1[TResult].GetResult () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at CompanionServer.Server+<CheckConnectivity>d__21.MoveNext () [0x0011e] in <245085fa93de4363be9f9c5b2616271c>:0
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted. 184fps 153gc 8m1s
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted. 0b/s in, 0b/s out
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.
27.12.2022 19:44:27|Error|WebSocket.send|The sending has been interrupted.

Looks like your server is having network issues. There are error messages not from the extension as well that indicate it's not only the extension having issues.

I noticed that too, but all the other error messages only appear when the extension is installed. Without the extension, the server actually runs fine.

I do not have much experience in the area but have a guess. could it be related to the Windows firewall?

Merged post

Myip/76561############/2yndain kicked: Packet Flooding: Player Tick
NullReferenceException: Object reference not set to an instance of an object
Myip/76561############/2yndain has auth level 2

This also happens only when Extension is installed



Merged post

The server actually does not hang because of the error. I have always copied the error directly from the CMD, which is bad for Windows.

I also noticed that I have used Discord Extension on Linux (same server and hoster) there were no error messages.

Can only imagine that it is due to the Windows firewall but I have partly completely disabled and the error messages were not gone. or Windows works at server startup worse whereby this has network problems when starting the server.

Merged post

The server actually does not hang because of the error. I have always copied the error directly from the CMD, which is bad for Windows.

I also noticed that I have used Discord Extension on Linux (same server and hoster) there were no error messages.

Can only imagine that it is due to the Windows firewall but I have partly completely disabled and the error messages were not gone. or Windows works at server startup worse whereby this has network problems when starting the server.