Internal error when creating an access list
Checklist
- Have you pulled and found the error with
jc21/nginx-proxy-manager:latestdocker image?- Yes
- Are you sure you're not using someone else's docker image?
- Yes
- Have you searched for similar issues (both open and closed)?
- Yes
Describe the bug Set up an access list and get an error in the logs and "Internal Error" pop up in the web UI.
Nginx Proxy Manager Version 2.11.3
To Reproduce Steps to reproduce the behavior:
- Go to Access list, enter a name for the list.
- Click on 'Authorization tab' and enter a username and password and click save
Expected behavior An access list with the supplied username/password set up and usable.
Operating System Synology NAS, running docker and managing containers using portainer
Additional context Internal error returned via the UI. Here are the logs:
v[8/12/2024] [10:53:26 PM] [Access ] › ℹ info Building Access file #11 for: test4 [8/12/2024] [10:53:26 PM] [Access ] › ℹ info Adding: john [8/12/2024] [10:53:26 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b /data/access/11 john abc123 /usr/bin/htpasswd: Unable to generate random bytes: Function not implemented at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5) [8/12/2024] [10:53:26 PM] [Access ] › ✖ error Error: Command failed: /usr/bin/htpasswd -b /data/access/11 john abc123 /usr/bin/htpasswd: Unable to generate random bytes: Function not implemented at genericNodeError (node:internal/errors:984:15) at wrappedFn (node:internal/errors:538:14) at ChildProcess.exithandler (node:child_process:422:12) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1105:16) at ChildProcess._handle.onexit (node:internal/child_process:305:5) [8/12/2024] [10:53:26 PM] [Access ] › ✔ success Built Access file #11 for: test4 [8/12/2024] [10:53:26 PM] [Express ] › ⚠ warning Command failed: /usr/bin/htpasswd -b /data/access/11 john abc123 /usr/bin/htpasswd: Unable to generate random bytes: Function not implemented