Connecting to TruNAS forever unless I switch the browser user agent

Trying to figure this one out. Not sure if it’s related to middleware but the issue recently started up.

When connecting to the Web GUI, it gets stuck connecting to TrueNAS forever.

Unless I go into Safari/Chrome and switch the User Agent. If I switch the user agent to anything else, it will connect immediately. And it will stay connected for a while, then it will again return to stuck connecting to TrueNAS.

It doesn’t even matter what browser agent I choose, so long as it’s not the current one. I can switch the agent, stay connected for a while, then when the issue reappears, I can switch back to the default user agent and it connects again.

I’ve tried:

  • service middlewared restart
    • as well as restarting both middlewared and ngix
    • nether resolve the connection issue.
  • Different computers. I first caught it when I tried to log into the GUI on my phone, but later found it affects all browser access.
  • I have factory reset the configuration, and before loading found the same issue. So I reloaded my backed up config.
  • I have wiped the boot pool and reinstalled TrueNAS from scratch. I didn’t stick around long but saw it once, so I reloaded my config.
  • Swapping network cables.
  • Swapped to alternate ports on switch.
    • Don’t have another NIC to install in the server right now to check if its the server NICS.

If I go into Safari’s Developer menu and switch the user agent to anything other than whatever its currently set to, the UI loads immediately.

The same is true if if its stuck in Chrome, switching the user agent immediately allows me to connect to the GUI.

It is unfortunately not possible to do this on my phone.

The host OS the browser is sitting on doesn’t matter. My Windows, Ubuntu, and Mac all behave the same way.

Sometimes, if I switch the URL from https to http it will load the UI.

TrueNAS version: 25.10.2.1 - Goldeye

I have screenshots, but it won’t let me upload them to this post, tell