immense / Remotely

A remote control and remote scripting solution, built with .NET 8, Blazor, and SignalR.
GNU General Public License v3.0
4.49k stars 1.61k forks source link

Remotely is not working with Cloudflare Tunnels #753

Open SSzretter opened 11 months ago

SSzretter commented 11 months ago

I tried using a cloudflare tunnel to protect my remotely install and most of it works but the Home -> Devices screen does not work properly. I can see my device but the terminal, quickscripts and device itself links do not work. The device does not expand, console window does not open.

I see no errors in the js console or network tab in the browser. I am using a simple / fresh ubuntu host, remotely docker and cloudflare tunne docker. As I said most other functions work just not the user interface on that devices screen.

https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/get-started/create-remote-tunnel/

cocochepeau commented 11 months ago

Same here, I'm trying to figure out why... websocket seems to be OK.

cocochepeau commented 11 months ago

Update: I made it work by disabling rocket loader and auto minify using a Configuration Rule that matches my Hostname.

SSzretter commented 11 months ago

Thank you, it is working for me as well! Note that the only thing I had to turn off was the HTML autominify , I was able to leave javascript and css on and rocket loader on as well.

cchepeau-mwb commented 11 months ago

Thanks for the update! Will try this way.

ftmendes commented 7 months ago

Thank you, it is working for me as well! Note that the only thing I had to turn off was the HTML autominify , I was able to leave javascript and css on and rocket loader on as well.

Good night @SSzretter, can you be more specific on how to solve Remotely connections with cloudflare tunnel... I have no idea how can i turn off HTML autominify, if you can, please help me :D