[GH-ISSUE #3928] Internal error when creating an access list #2576

Open
opened 2026-02-26 07:36:04 +03:00 by kerem · 1 comment
Owner

Originally created by @shadowjig on GitHub (Aug 13, 2024).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3928

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker 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:

  1. Go to Access list, enter a name for the list.
  2. 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

Originally created by @shadowjig on GitHub (Aug 13, 2024). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/3928 **Checklist** - Have you pulled and found the error with `jc21/nginx-proxy-manager:latest` docker 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: 1. Go to Access list, enter a name for the list. 2. 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
Author
Owner

@github-actions[bot] commented on GitHub (Feb 14, 2025):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2658094927 --> @github-actions[bot] commented on GitHub (Feb 14, 2025): Issue is now considered stale. If you want to keep it open, please comment :+1:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#2576
No description provided.