Captive Disconnects Clients
-
I have a fully working Captive Portal. After a while, the users are disconnected even when the voucher has not expired yet. Even when they use a new voucher, the connection will not push through. No timeouts were enabled in the settings. Attached are the screenshots of the settings.
-
@chooks said in Captive Disconnects Clients:
Even when they use a new voucher, the connection will not push through
You haven't set a Waiting period, true, but have set this :
Why ?
Vouchers, or not, always set an idle or hard time out :
A safe value for Hard (or Idle soft) time out is : the (longest) duration of the vouchers you use.
@chooks said in Captive Disconnects Clients:
Even when they use a new voucher, the connection will not push through
What did the Status > System Logs > Authentication >Captive Portal Auth tell you when this happens ?
@chooks said in Captive Disconnects Clients:
the users are disconnected even when the voucher has not expired yet
What was the reason ( see also the log ) ?
-
@Chooks
what version of pfsense are you running ? there have been numerous fixes lately -
@gertjan said in Captive Disconnects Clients:
@chooks said in Captive Disconnects Clients:
Even when they use a new voucher, the connection will not push through
You haven't set a Waiting period, true, but have set this :
Why ?
Vouchers, or not, always set an idle or hard time out :
A safe value for Hard (or Idle soft) time out is : the (longest) duration of the vouchers you use.
@chooks said in Captive Disconnects Clients:
Even when they use a new voucher, the connection will not push through
What did the Status > System Logs > Authentication >Captive Portal Auth tell you when this happens ?
@chooks said in Captive Disconnects Clients:
the users are disconnected even when the voucher has not expired yet
What was the reason ( see also the log ) ?
I have just set the Waiting Period and Idle Period as you said. And attached is the a sample of the logs.
-
Your hitting : https://github.com/pfsense/pfsense/blob/40a27b99c4801b8ef43de719efd305fe32c9b916/src/etc/inc/voucher.inc#L305
or
So, one of your voucher rolls is 'weird', what ever that means.
-