URL: https://www.twitch.tv
Browser / Version: Firefox 66.0
Operating System: Windows 10
Tested Another Browser: Yes
Problem type: Something else
Description: Twitch chat keeps disconnecting
Steps to Reproduce:
I'm having a problem on Twitch Chat where it keeps disconnecting at random while my internet is fine. It seems it happens only with Firefox (tested on Chrome and Edge)
While in Console, these messages keep appearing:
The connection to wss://sockets.betterttv.net/ws was interrupted while the page was loading. socket-client.js:35:17
The connection to wss://irc-ws.chat.twitch.tv/ was interrupted while the page was loading. vendor-8207797472a2624e06ff.js:1:445797
The connection to wss://irc-ws.chat.twitch.tv/ was interrupted while the page was loading. vendor-8207797472a2624e06ff.js:1:445797
The connection to wss://sockets.betterttv.net/ws was interrupted while the page was loading. socket-client.js:35:17
Funny enough I noticed that, while my Avast VPN is up, the problem is gone. As soon I turn VPN off, it comes back.
What can I do?
Printscreen attached, but it's in Portuguese.

Browser Configuration
From webcompat.com with ❤️
URL: https://www.twitch.tv
Browser / Version: Firefox 66.0
Operating System: Windows 10
Tested Another Browser: Yes
Problem type: Something else
Description: Twitch chat keeps disconnecting
Steps to Reproduce:
I'm having a problem on Twitch Chat where it keeps disconnecting at random while my internet is fine. It seems it happens only with Firefox (tested on Chrome and Edge)
While in Console, these messages keep appearing:
The connection to wss://sockets.betterttv.net/ws was interrupted while the page was loading. socket-client.js:35:17
The connection to wss://irc-ws.chat.twitch.tv/ was interrupted while the page was loading. vendor-8207797472a2624e06ff.js:1:445797
The connection to wss://irc-ws.chat.twitch.tv/ was interrupted while the page was loading. vendor-8207797472a2624e06ff.js:1:445797
The connection to wss://sockets.betterttv.net/ws was interrupted while the page was loading. socket-client.js:35:17
Funny enough I noticed that, while my Avast VPN is up, the problem is gone. As soon I turn VPN off, it comes back.
What can I do?
Printscreen attached, but it's in Portuguese.

Browser Configuration
From webcompat.com with ❤️