OPNsense Forum

Archive => 22.1 Legacy Series => Topic started by: tong2x on February 05, 2022, 09:08:36 AM

Title: Captive Portal Logs Error
Post by: tong2x on February 05, 2022, 09:08:36 AM
Opnsense 22.1

Captive Portal logs

2022-02-05T08:54:12   Error   api   [2022-02-05T08:54:12+08:00][error] no active session, user not found   
2022-02-05T08:07:19   Error   api   [2022-02-05T08:07:19+08:00][error] no active session, user not found   
2022-02-03T18:22:33   Error   api   [2022-02-03T18:22:33+08:00][error] no active session, user not found

above keeps repeating

captive portal seems to be working though
just cant see the logs and last log updates

also could an easier way to reset or delete the database be added? or may a regular backup, last known good.
Title: Re: Captive Portal Logs Error
Post by: Fright on February 05, 2022, 02:27:57 PM
Quote2022-02-05T08:54:12   Error   api   [2022-02-05T08:54:12+08:00][error] no active session, user not found
imho there is nothing wrong with the portal (just redirect for unauth call). it take some time to adapt all the log messages to the new format (appearance of the Severity field)
Title: Re: Captive Portal Logs Error
Post by: tong2x on February 06, 2022, 12:10:59 PM
there is actaulyl no other logs showing,
no other evetns like auth or timeouts
even starting captive portal does not show in logs, it only shows that messages

will try to delete DB maybe a corrupt DB? then again portal is working properly

Title: Re: Captive Portal Logs Error
Post by: Fright on February 07, 2022, 03:21:45 PM
Quoteeven starting captive portal does not show in logs
have you tried to change severity filter value (to the right of the search bar)?  ;)
Title: Re: Captive Portal Logs Error
Post by: tong2x on February 09, 2022, 12:22:34 AM
ok my bad, did not seem to see that one...
it was set to warning and all other logs were under "notice"

thanks!