I’m running a CF Zero Trust VNC application over a cloudflare tunnel. The tunnel exposes my personal server to the internet. So far I’m using the browser based VNC rendering. This connects to the instance of X11VNC running on my server.
This setup works, however the VNC application keeps crashing very frequently (every 10mins or so).
Every time it crashes, it shows the message “The origin has unexpectedly closed the connection. Please confirm that the origin is healthy”.
Re-loading the webpage also fails a couple of times but then it comes back up. I have no clue how to debug this. and it is very annoying. Please help.
Additionally, if there is a way to get a GUI to the server without browser based VNC I would love to explore it. is it possible to use a ‘vnc viewer’ appliation like realVNC to connect to the CF VNC application?
May I ask if you have tried looking into the log files or running a desired tunnel with the --loglevel debug feature enabled for troubleshooting?
Furthermore, Are Cloudflare IPs allowed to connect to your origin host/server?
Are you using a firewall for protection?
I established VNC via TightVNC on Windows Server 2019, however it lacks CTRL+ALT+DELETE in Browser Rendering/Isolation of VNC.
I’ve also managed to get the my RaspberryPi 4 via it since wayvnc was used on Raspbian image (based on the Debian 12). It wasn’t crashing, working fine.
I was also exploring some things, but over a browser by using through a VM and Guacamole with Cloudflare which works fine too (at least for RDP Windows):
I set up the tunnel from the GUI. I tried generating logs on the gui but it never works. Is re-starting the tunnel from CLI the only option?
I didn’t get the question “are cloudflare IPs allowed to connect to your origin host/server”?
if this were not true, would the SSH and VNC applications even be working? They are working fine mostly, but keep crashing every hour or so for 10 minutes.