-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hello,
I recently ran into an issue where connections to vTube Studio, using VTubeStudioJS package, from a remote computer (meaning VTS is on one system and VTubeStudioJS is on another) stopped working reliably. It works fine when used locally (with Localhost, 127.0.0.1, or the FQDN of the computer) and I can hit the WebSocket using a Web Browser WebSocket Client from the remote system as a test (this also confirms it can communicate and Firewall/Network is not an issue). Because the VTubeStudio is integrated into a Script for Firebot (a Twitch Bot), I created a Node.js script that attempts to get the connection information (statistics) from vTube Studio. It used the same WebSocket package as the script. Running it locally, it works as expected (confirming the node.js script is working). Running it remotely I can see the request hitting VTS, but no response and no prompt to allow (just like the Firebot Script).
Basically I can see vTube Studio get the request from the remote system, but it does not seem to respond (I have confirmed this with a Packet Capture). I attempted setting the Timeout from 1 second to 3 seconds in VTubeStudioJS as I had an interesting thing happen. While streaming, the bot was continuously trying to connect to vTube Studio, I streamed longer then normal and eventually the script connected to vTube Studio after almost 1000 attempts (I had Twitch Integrated Throwing System connected as well, so I am not sure how much was from that vs the remote connection). I thought extending the timeout would allow it to respond, but it did not solve the issue once VTS was restarted (it just went back to the way it was before).
At this point, I am not 100% sure if it is something with VTS, if something changed in VTS that now effects VTubeStudioJS, or what the issue could be. I know the script that VTubeStudioJS was used in was not updated, but VTS was updated from the time it was working to the time it stopped working. I figured I would start here to see if something needs to be adjusted to have VTubeStudioJS communicate remotely with the current version of VTS.
Let me know if you what information I can provide to help with this.
vTube Studio Version: 1.32.57