Niterux
Niterux2w ago

An existing connection was forcibly closed by the remote host

This error just randomly started coming up and I have no idea why, I never updated any of the surrounding code and this wasn't happening yesterday, system reboot isn't fixing it, and im not sending any weird data to the VLC Media Player or anything like that it's literally just asking for its status, why is this happening?? It seems to keep happening at random points in the code where it requests VLC, not in the same place every time. Could this do with the Deno update? https://github.com/Niterux/ChristmasMicScript/blob/main/main.js#L284
GitHub
ChristmasMicScript/main.js at main · Niterux/ChristmasMicScript
The script I use for microphone radio in Team Fortress 2 - Niterux/ChristmasMicScript
No description
4 Replies
Niterux
NiteruxOP2w ago
it seems like it might have something to do with the alltalk code I added but that doesn't interact with VLC at all so... ?????
Niterux
NiteruxOP2w ago
yeah it seems to be crashing because of my alltalk code but I have no idea why, that code interracts with Team Fortress 2 which a completely different completely unrelated program to VLC Media Player which shares no resources with it, what is happening. when I comment out line 107 the crashes just... stop?? but why??? this gotta be a Deno bug right or am I going crazy (and btw the request that fails isn't always related to forcepause so it's DEFINITELY not because of alltalk directly...)
GitHub
ChristmasMicScript/main.js at main · Niterux/ChristmasMicScript
The script I use for microphone radio in Team Fortress 2 - Niterux/ChristmasMicScript
Niterux
NiteruxOP2w ago
the only real explanations I could come up with is that it's either a Deno bug or some sort of Windows limitation (though I don't see why Windows would be limited in this way) someone please shed light on this so I can find a solution I've found a potential lead, it seems to happen when the rcon response takes a long time to come through... but why would it be, does receiving the rcon response somehow cancel VLC's response? I intentionally lagged the game by running "snd_restart" like 10 times at once (which restarts the audio system which causes a lot of lag) and then writing to the console output myself to cause the alltalk code to be triggered which then again triggered the VLC fetch error