OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: Mister J. on November 08, 2024, 03:17:50 AM

Title: [SOLVED]Dashboard not loading in several browsers
Post by: Mister J. on November 08, 2024, 03:17:50 AM
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.
Title: Re: Dashboard not loading in several browsers
Post by: bartjsmit on November 08, 2024, 07:34:36 AM
Can you try from a private/icognito browser window? You may have an interfering extension.
Title: Re: Dashboard not loading in several browsers
Post by: Mister J. on November 08, 2024, 09:49:45 AM
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.
Title: Re: Dashboard not loading in several browsers
Post by: newsense on November 08, 2024, 12:11:30 PM
This is all you need

# configctl webgui restart renew
Title: Re: Dashboard not loading in several browsers
Post by: franco on November 08, 2024, 12:42:01 PM
Huh? Session expired eventually? Browser console errors would be nice to see.


Cheers,
Franco
Title: Re: Dashboard not loading in several browsers
Post by: Mister J. on November 10, 2024, 01:24:39 AM
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.
Title: Re: Dashboard not loading in several browsers
Post by: newsense on November 10, 2024, 01:34:03 AM
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
Title: Re: Dashboard not loading in several browsers
Post by: franco on November 10, 2024, 10:25:45 AM
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
Title: [SOLVED]Re: Dashboard not loading in several browsers
Post by: Mister J. on December 01, 2024, 03:13:02 AM
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.