I'm using Websockify to serve a NoVNC instance of a Windows 10 VM running UltraVNC Server. The Websockify instance is then proxied through Nginx on a subdomain, and then goes through Cloudflare proxying and served with an SSL certificate.
I can connect to the NoVNC instance through the web browser, but after a few moments the vision freezes. Mouse and keyboard appear to still be connected when viewing on a physical screen connected to the VM.
I have this problem on the local network also, but only when using the domain. (Local IP of the Websockify / NoVNC instance works fine, even over a VPN)
When I refresh the page, the image refreshes and does so for about a second or so, and then freezes. After a minute or so the connection also seems to reload.
Any idea what is causing this?