[SOLVED]Dashboard not loading in several browsers

Started by Mister J., November 08, 2024, 03:17:50 AM

Previous topic - Next topic
November 08, 2024, 03:17:50 AM Last Edit: December 01, 2024, 03:14:14 AM by Mister J.
OPNsense 24.7.8-amd64
FreeBSD 14.1-RELEASE-p6
OpenSSL 3.0.15

Hi all,

Since a few days I encountered the problem that the Dashboard is sometimes not loading (see attachment).
It's a dedicated OPNsense box and the problem started a few days after the latest firmware updates where installed.
The only temporary solution I could figure out is to reboot my Win10 workstation.

I attempted to solve it by restoring several older backups and manually changing all the updates required to restore it back to the latest state.
I did reinstall the updates and didn't test it without them.
Just clearing the cache and restarting the browsers does not solve the problem.

The problem starts after waiting a while and also occurs in other browsers.
It looks like the box still functions when this happens, but I am wondering what happens exactly.
Is this a known issue and could it be related to the latest firmware updates ... ?!?

Please advice,

Mister J.

Can you try from a private/icognito browser window? You may have an interfering extension.

November 08, 2024, 09:49:45 AM #2 Last Edit: November 08, 2024, 10:33:21 AM by Mister J.
Thanks for responding.
I checked the logs for errors and I think I might have found a reason why this is happening.

This OPNsense box is second hand and the person who installed it for me forgot that the self signed "Web GUI SSL certificate" needed to be renewed, because it is valid until 2019.
I could try to do this myself, but he blamed me for screwing this up, so I leave it as it is for him to find out.
The only problem I have is that he hardly has time for me so maybe this weekend it will be solved.

This is all you need

# configctl webgui restart renew

Huh? Session expired eventually? Browser console errors would be nice to see.


Cheers,
Franco

Even after a new certificate has been generated with "2) Set interface IP address" the problem has returned.

@newsense
# configctl webgui restart renew
error in configd communication, see syslog for details

No idea how to continue troubleshooting because I don't understand how to open the syslog and no errors are reported in System - Log Files - Web GUI.

@franco
Not sure what browser console errors you would like to see, because I have no idea what you are talking about.

Ssh in, chose option 12), when prompted with the y/n question answer h

Post the full output here.


Also need the output from df -hT and zpool list

Browser development console shows JS errors. The widgets have a handler to push the actual JS error to the console for each failed widget.


Cheers,
Franco

December 01, 2024, 03:13:02 AM #8 Last Edit: December 01, 2024, 03:15:09 AM by Mister J.
Thanks for responding.

The problem was a plugin that used an old Web GUI TLS certificate was deleted but still had it's hooks in the certificate, so the certificate could not be removed.
After reinstalling the plugin and removing it's hooks I was able to remove the old certificate.
Then I uninstalled the plugin again.

This solved the problem and it didn't return in the last 8 1/2 days.