Blank page on Unbound DNS Statistic

Started by BlueHatDinuX, August 05, 2021, 12:16:26 PM

Previous topic - Next topic
August 05, 2021, 12:16:26 PM Last Edit: August 05, 2021, 12:30:28 PM by BlueHatDinuX
Hi, I was trying a fresh install of 21.7 on a Virtualbox, before proceed to live system.
Installation went smooth and everything seems working fine.

But there are nothing shown when browse into Unbound DNS statistic page, as attached.

Same issue with a number of tries of fresh installation, updated to 21.7.1 doesn't help either...


Is anyone having the same issue?


Edit: no problem on the statistic page when upgrading from 21.1.9 > 21.7 > 21.7.1.

They are working for me on 21.7 as a fresh install on zfs and importing config.

Thanks for your replied.
Believe you are installed it in APU4D4.

Weird it happened on my VBox, restore config doesn't help either.

That is correct, mine is not a VM.
And you are sure the VM is serving the DNS requests? Could it possibly be the clients are sending the traffic to another DNS resolver?

Quote from: cookiemonster on August 05, 2021, 01:00:24 PM
That is correct, mine is not a VM.
And you are sure the VM is serving the DNS requests? Could it possibly be the clients are sending the traffic to another DNS resolver?

Yes, the VM is handling DNS DOT request which shown in unbound logs.


@BlueHatDinuX
hi
any errors in browser dev console?

Quote from: Fright on August 06, 2021, 09:43:01 PM
@BlueHatDinuX
hi
any errors in browser dev console?

Yes, there were errors on Chrome and Firefox as well.

This page uses the non standard property "zoom". Consider using calc() in the relevant property values, or using "transform" along with "transform-origin: 0 0". stats
Uncaught TypeError: can't convert undefined to object
    updateStats https://10.0.0.1/ui/unbound/stats:1198
    complete https://10.0.0.1/ui/js/opnsense.js?v=3e683bdcd9ca1a86:242
    jQuery 6
    ajaxGet https://10.0.0.1/ui/js/opnsense.js?v=3e683bdcd9ca1a86:234
    updateStats https://10.0.0.1/ui/unbound/stats:1190
    <anonymous> https://10.0.0.1/ui/unbound/stats:1252
    jQuery 13
stats:1198:43
    updateStats https://10.0.0.1/ui/unbound/stats:1198
    complete https://10.0.0.1/ui/js/opnsense.js?v=3e683bdcd9ca1a86:242
    jQuery 6
    ajaxGet https://10.0.0.1/ui/js/opnsense.js?v=3e683bdcd9ca1a86:234
    updateStats https://10.0.0.1/ui/unbound/stats:1190
    <anonymous> https://10.0.0.1/ui/unbound/stats:1252
    jQuery 13


can you run
configctl unbound stats
in shell and share results?

Quote from: Fright on August 07, 2021, 07:13:57 AM
can you run
configctl unbound stats
in shell and share results?

The result was "Execute Error".

thanks
and if you run
/usr/local/sbin/unbound-control -c /var/unbound/unbound.conf stats_noreset
?

@Fright, thanks for your help.

It seems the problem was due to time-sync issue, which happened in Virtualbox.
The page shown correctly now with a proper ntp sync, tested with several reboots.

Thanks again.