It looks like your proxy\vpn interrupts requests to wss websocket.
You have to check out proxy settings to avoid this issue. I’m not sure how to help in this situation since I’m not familiar with your proxy manager.
Probably this title will help you:
https://nginx.org/en/docs/http/websocket.html
It describes websocket settings for Nginx proxy, but I hope this example will be useful for you.