Weird Web UI issues, probably with cloudflare?

So basically, I have been having this issue for a couple of days, where my Web UI is inaccessible through the wider internet.

I have tried the following:

  • Connect through local IP (192.168.1.x) - Works
  • Connect through local domain (truenas.local) - Works
  • Connect through remote IP (x.x.x.x) - Works
  • Connect through Cloudflare non-proxied domain (mynonproxieddomain.acme.cloudflare) - Works
  • Connect through Cloudflare proxied domain (myproxieddomain.acme.cloudflare) - Fails

To be precise, it gets stuck as if it was infinitely loading. I do not recall doing any changes to the system, just installing some docker containers for utilites, nothing that would conflict with Cloudflare.

After a while, I get some 522 errors. Sorry if the info I provided isn’t enough.

It should be.

The Cloudflare proxy is likely failing to pass websocket connections, causing what you’re seeing. But the TrueNAS UI is not designed to be exposed to the public Internet in any event.

Ah, I see, thank you for the explanation, I wasn’t aware of that design. I guess I’ll switch to using the local domain and try to be more secure.