OPNsense Forum

Archive => 20.1 Legacy Series => Topic started by: tong2x on May 14, 2020, 09:00:19 am

Title: CAPTIVE Portal Idle/Hard Timeout not working
Post by: tong2x on May 14, 2020, 09:00:19 am
possible for captive portal to be refresh or restarted everyday?
after a while captive portal seems not to disconnect idle or long conencted users.

not really sure for now what triggers it. but after 5days of continues use
when I re save and hit appply on the portal zone... the system disconnects
alot of user with
2020-05-14T14:56:06   captiveportal: session YbRXHzi2XQmkMuu/tHaZdg== hit idletimeout
2020-05-14T14:56:06   captiveportal: session oKJItPtmS0bGdSWlREcc3g== hit idletimeout
2020-05-14T14:56:06   captiveportal: session bDSiwyJG7ce2s/oEn6TH8w== hit idletimeout
2020-05-14T14:56:06   captiveportal: session Lq22ZFs73BOPfgo5ihMZNA== hit idletimeout

my idle timeout is 60minutes, a hardtimeout of 8hours...
so it should idle timedout most users

OPNsense 20.1.6-amd64
FreeBSD 11.2-RELEASE-p19-HBSD
OpenSSL 1.1.1g 21 Apr 2020
Title: Re: CAPTIVE Portal Idle/Hard Timeout not working
Post by: tong2x on May 15, 2020, 02:31:40 am
I have run a CRON job in System->Settings->Cron
"Restart CAPTIVE PORTAL"

hope it fixed the issue

EDIT:
issue fixed