Archive > 22.7 Legacy Series
[SOLVED ]Bug in nginx plugin version 1.28_2 on OPNsense 22.7_4
(1/1)
fred.bloggs:
Hi, I think there is a bug with the nginx plugin version 1.28_2 on OPNsense 22.7_4. (updated from 22.1.10_4).
I have "Basic Authentication" enabled on a "location" and assigned a "Basic Credentials List". When accessing the URL the basic auth form pops up and credentials can be entered. But even when entering correct credentioals, the popup reappears.
In this moment a system firmware error is thrown:
---
PHP Fatal error: Uncaught ArgumentCountError: crypt() expects exactly 2 arguments, 1 given in /usr/local/opnsense/scripts/nginx/setup.php:231
Stack trace:
#0 /usr/local/opnsense/scripts/nginx/setup.php(231): crypt('<here goes the password>')
#1 {main}
thrown in /usr/local/opnsense/scripts/nginx/setup.php on line 231
---
At the same time also nginx reports an error:
---
*18413 user "<here goes the user name>" was not found in "/var/db/nginx/auth/d0c4603...
---
Maybe someone can look into this. Thanks.
Fright:
https://forum.opnsense.org/index.php?topic=29682.0
fred.bloggs:
Thank you!
via console: "opnsense-patch -c plugins cc0605386cc" solved it
Navigation
[0] Message Index
Go to full version