Hi,
it seems I have botched this up somehow. New opnsense install, config imported from old.
When I click Check updates, it is checking forever, system.log shows:
Apr 21 10:10:39 mono api[86132]: uri /api/core/firmware/status authentication failed for api key kk
Apr 21 10:10:39 mono api[86132]: uri /api/core/firmware/info authentication failed for api key kk
Apr 21 10:10:39 mono api[86132]: uri /api/core/firmware/upgradestatus authentication failed for api key kk
Also, cannot install plugins/packages.
Apparently it works for a new user belonging to admin group. But not for the original "root" user.
I do not think I have done anything with the API keys, unless it came from old config XML
I have the same error on a freshly installed 20.1, and still after upgrading it to 20.1.7 (vanilla, no config import).
I get a syslog message as OP does for nearly every action I do in the web gui, whenever I try to watch any logs or try to use the search.
A new admin user doesn't solve the problem, even if the user is logged into the web gui syslog still shows a "authentication failed for api key root".
Any idea?
Edit: Just made a fresh install of 19.7 where this error doesn't show. Upgraded to 20.1 and there it is again.
Edit2: It seems to work sometimes; I didn't change anything but sometimes it works, sometimes it doesn't. Haven't observed a pattern yet.