OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: ni.rieckmann on May 16, 2018, 04:07:22 pm

Title: Captive Portal crash
Post by: ni.rieckmann on May 16, 2018, 04:07:22 pm
Hello! :D

From time to time our users complain about not being able to access the network,, checking the logs I get:

Script action failed with Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/allow.py /zoneid '0' /username 'user' /ip_address '<IP Address' /authenticated_via 'Radius' /output_type 'json'' returned non-zero exit status 1 at Traceback (most recent call last):   File "/usr/local/opnsense/service/modules/processhandler.py", line 479, in execute     stdout=output_stream, stderr=error_stream)   File "/usr/local/lib/python2.7/subprocess.py", line 186, in check_call     raise CalledProcessError(retcode, cmd) CalledProcessError: Command '/usr/local/opnsense/scripts/OPNsense/CaptivePortal/allow.py /zoneid '0' /username 'user' /ip_address 'IP Address' /authenticated_via 'Radius' /output_type 'json'' returned non-zero exit status 1

Saw the issue on this post: https://forum.opnsense.org/index.php?topic=5744.0 and it solves the problem temporarily. I was wondering if the repari option was released: "I've recently improved our repair option for network insight, I will add the same in the captive portal process too, which should help when the database get corrupted." (quoted from user AdSchellevis on that post).

My OPNsense information:
OPNsense 18.1.6-amd64
FreeBSD 11.1-RELEASE-p9
OpenSSL 1.0.2o 27 Mar 2018

Thans a lot! \o