YouTube Player Connection with Websocket was lost error

PhantomBot Version: 3.1.2 (stable) (Revision: 992c8752)
OS Version: Linux 4.15.0-66-generic (amd64)
Java Version: 11.0.4+10-LTS
Browser and Version (for Panel Support): Firefox 76.0.1 (64-bit) and Chrome 81.0.4044.138 (Official Build) (64-bit)
Stock PhantomBot: Yes

I’m not sure what’s going on here as I’ve completely disabled the ufw firewall on my VPS - but I noticed that my YouTube player would just randomly disconnect from the websocket after sitting on the page for a minute or two. I thought it was a problem with the VPS so I did a hard reset on it and then a fresh install of PhantomBot, then setup an nginx proxy pass server block and started up the bot. Accessing the panel was fine, accessing the YouTube player panel worked as well. But after about a minute, the panel disconnected again despite me doing absolutely nothing on the page (it is just open on my second monitor and I’m watching it). I’ve tried both Firefox and Chrome - neither browser seems to make a difference. The logs are below, and noticeably, the YouTube player disconnects multiple times in a few seconds and the log times get a bit wonky?

[05-17-2020 @ 12:56:58.683 GMT] The working directory is: /home/secondubly/phantombot
[05-17-2020 @ 12:56:58.837 GMT] Detected Java 11.0.4 running on Linux 4.15.0-66-generic (amd64)
[05-17-2020 @ 12:56:58.860 GMT]
[05-17-2020 @ 12:56:58.883 GMT] PhantomBot Version: 3.1.2 (stable)
[05-17-2020 @ 12:56:58.893 GMT] Build Revision: 992c8752
[05-17-2020 @ 12:56:58.894 GMT] Creator: mast3rplan
[05-17-2020 @ 12:56:58.894 GMT] Developers: PhantomIndex, Kojitsari, ScaniaTV, Zackery (Zelakto) & IllusionaryOne
[05-17-2020 @ 12:56:58.894 GMT] https://phantombot.tv/
[05-17-2020 @ 12:56:58.895 GMT]
[05-17-2020 @ 12:57:00.529 GMT]
[05-17-2020 @ 12:57:00.859 GMT] Validated Twitch API (apioauth) OAUTH Token.
[05-17-2020 @ 12:57:00.901 GMT] Validated Twitch CHAT (oauth) OAUTH Token.
[05-17-2020 @ 12:57:02.265 GMT] Loaded module: core/misc.js (Enabled)
[05-17-2020 @ 12:57:02.301 GMT] Loaded module: core/jsTimers.js (Enabled)
[05-17-2020 @ 12:57:02.570 GMT] Loaded module: core/updates.js (Enabled)
[05-17-2020 @ 12:57:03.014 GMT] Loaded module: core/chatModerator.js (Enabled)
[05-17-2020 @ 12:57:03.062 GMT] Loaded module: core/fileSystem.js (Enabled)
[05-17-2020 @ 12:57:03.965 GMT] Loaded module: core/lang.js (Enabled)
[05-17-2020 @ 12:57:03.988 GMT] Loaded module: core/commandPause.js (Enabled)
[05-17-2020 @ 12:57:04.057 GMT] Loaded module: core/logging.js (Enabled)
[05-17-2020 @ 12:57:04.101 GMT] Loaded module: core/commandRegister.js (Enabled)
[05-17-2020 @ 12:57:04.124 GMT] Loaded module: core/whisper.js (Enabled)
[05-17-2020 @ 12:57:04.171 GMT] Loaded module: core/commandCoolDown.js (Enabled)
[05-17-2020 @ 12:57:04.195 GMT] Loaded module: core/keywordCoolDown.js (Enabled)
[05-17-2020 @ 12:57:04.222 GMT] Loaded module: core/gameMessages.js (Enabled)
[05-17-2020 @ 12:57:04.258 GMT] Loaded module: core/patternDetector.js (Enabled)
[05-17-2020 @ 12:57:04.412 GMT] Loaded module: core/permissions.js (Enabled)
[05-17-2020 @ 12:57:04.485 GMT] Loaded module: core/streamInfo.js (Enabled)
[05-17-2020 @ 12:57:04.545 GMT] Loaded module: core/timeSystem.js (Enabled)
[05-17-2020 @ 12:57:04.592 GMT] Loaded module: core/initCommands.js (Enabled)
[05-17-2020 @ 12:57:04.625 GMT] Loaded module: core/panelCommands.js (Enabled)
[05-17-2020 @ 12:57:04.812 GMT] Loaded module: commands/customCommands.js (Enabled)
[05-17-2020 @ 12:57:04.844 GMT] Loaded module: commands/dualstreamCommand.js (Disabled)
[05-17-2020 @ 12:57:04.860 GMT] Loaded module: commands/highlightCommand.js (Disabled)
[05-17-2020 @ 12:57:04.877 GMT] Loaded module: commands/nameConverter.js (Disabled)
[05-17-2020 @ 12:57:04.896 GMT] Loaded module: commands/lastseenCommand.js (Enabled)
[05-17-2020 @ 12:57:04.922 GMT] Loaded module: commands/deathctrCommand.js (Disabled)
[05-17-2020 @ 12:57:04.948 GMT] Loaded module: commands/topCommand.js (Disabled)
[05-17-2020 @ 12:57:04.974 GMT] Loaded module: commands/streamCommand.js (Enabled)
[05-17-2020 @ 12:57:05.026 GMT] Loaded module: handlers/hostHandler.js (Disabled)
[05-17-2020 @ 12:57:05.051 GMT] Loaded module: handlers/bitsHandler.js (Enabled)
[05-17-2020 @ 12:57:05.083 GMT] Loaded module: handlers/donationHandler.js (Disabled)
[05-17-2020 @ 12:57:05.161 GMT] Loaded module: handlers/subscribeHandler.js (Disabled)
[05-17-2020 @ 12:57:05.176 GMT] Loaded module: handlers/wordCounter.js (Disabled)
[05-17-2020 @ 12:57:05.201 GMT] Loaded module: handlers/streamElementsHandler.js (Enabled)
[05-17-2020 @ 12:57:05.230 GMT] Loaded module: handlers/emotesHandler.js (Enabled)
[05-17-2020 @ 12:57:05.257 GMT] Loaded module: handlers/followHandler.js (Disabled)
[05-17-2020 @ 12:57:05.292 GMT] Loaded module: handlers/raidHandler.js (Enabled)
[05-17-2020 @ 12:57:05.328 GMT] Loaded module: handlers/dataServiceHandler.js (Disabled)
[05-17-2020 @ 12:57:05.357 GMT] Loaded module: handlers/keywordHandler.js (Disabled)
[05-17-2020 @ 12:57:05.379 GMT] Loaded module: handlers/tipeeeStreamHandler.js (Disabled)
[05-17-2020 @ 12:57:05.408 GMT] Loaded module: handlers/clipHandler.js (Disabled)
[05-17-2020 @ 12:57:05.477 GMT] Loaded module: handlers/twitterHandler.js (Disabled)
[05-17-2020 @ 12:57:05.504 GMT] Loaded module: handlers/gameScanHandler.js (Disabled)
[05-17-2020 @ 12:57:05.522 GMT] Loaded module: games/roulette.js (Disabled)
[05-17-2020 @ 12:57:05.588 GMT] Loaded module: games/adventureSystem.js (Disabled)
[05-17-2020 @ 12:57:05.602 GMT] Loaded module: games/killCommand.js (Disabled)
[05-17-2020 @ 12:57:05.622 GMT] Loaded module: games/roll.js (Disabled)
[05-17-2020 @ 12:57:05.639 GMT] Loaded module: games/random.js (Disabled)
[05-17-2020 @ 12:57:05.670 GMT] Loaded module: games/gambling.js (Disabled)
[05-17-2020 @ 12:57:05.695 GMT] Loaded module: games/slotMachine.js (Disabled)
[05-17-2020 @ 12:57:05.713 GMT] Loaded module: games/8ball.js (Disabled)
[05-17-2020 @ 12:57:05.753 GMT] Loaded module: systems/pollSystem.js (Disabled)
[05-17-2020 @ 12:57:05.780 GMT] Loaded module: systems/auctionSystem.js (Disabled)
[05-17-2020 @ 12:57:05.803 GMT] Loaded module: systems/greetingSystem.js (Disabled)
[05-17-2020 @ 12:57:05.845 GMT] Loaded module: systems/queueSystem.js (Disabled)
[05-17-2020 @ 12:57:05.888 GMT] Loaded module: systems/quoteSystem.js (Disabled)
[05-17-2020 @ 12:57:05.922 GMT] Loaded module: systems/audioPanelSystem.js (Disabled)
[05-17-2020 @ 12:57:06.117 GMT] Loaded module: systems/youtubePlayer.js (Enabled)
[05-17-2020 @ 12:57:06.161 GMT] Loaded module: systems/noticeSystem.js (Disabled)
[05-17-2020 @ 12:57:06.200 GMT] Loaded module: systems/ticketraffleSystem.js (Disabled)
[05-17-2020 @ 12:57:06.246 GMT] Loaded module: systems/raffleSystem.js (Disabled)
[05-17-2020 @ 12:57:06.269 GMT] Loaded module: systems/commercialSystem.js (Enabled)
[05-17-2020 @ 12:57:06.305 GMT] Loaded module: systems/ranksSystem.js (Disabled)
[05-17-2020 @ 12:57:06.374 GMT] Loaded module: systems/pointSystem.js (Disabled)
[05-17-2020 @ 12:57:06.399 GMT] Loaded module: systems/cleanupSystem.js (Disabled)
[05-17-2020 @ 12:57:06.468 GMT] Loaded module: systems/bettingSystem.js (Disabled)
[05-17-2020 @ 12:57:06.556 GMT]
[05-17-2020 @ 12:57:06.560 GMT] For support please visit: https://community.phantombot.tv
[05-17-2020 @ 12:57:06.561 GMT]
[05-17-2020 @ 12:57:06.640 GMT] Connecting to Twitch WS-IRC Server (SSL) [irc-ws.chat.twitch.tv]
[05-17-2020 @ 12:57:07.048 GMT] Connected to [email protected] (SSL)
[05-17-2020 @ 12:57:07.189 GMT] Channel Joined [#secondubly]
[05-17-2020 @ 12:57:07.317 GMT] digittron ready!
[05-17-2020 @ 12:57:19.096 GMT] [♫] YouTube Player is connected! [♫]
[05-17-2020 @ 12:58:19.931 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.933 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.933 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.933 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.933 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.932 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.932 GMT] [♫] YouTube Player is disconnected! [♫]
[05-17-2020 @ 12:58:19.932 GMT] [♫] YouTube Player is disconnected! [♫]

This was fixed in nightly

ah ok! I’ll just update to that version - thank you!