Skip to content

[BUG] "getrandom() error. Reason: Function not implemented. Error code: 38." in log at startup #384

@lawndart4711

Description

@lawndart4711

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

UI seems to be non-functional for me after 5.0.4.

Some detail:

  • The qbittorrent container is using a VPN container as its network connection.
  • Port mapping (8080:8080 in this case) is defined on the VPN container (gluetun, for reference)and has always worked well.
  • The WEBUI port (8080 in this case) is defined on the qbittorrent container and has always worked well.

Not sure if a change affected this functionality, but I've done some searches on this and understand it to be related to the web server, specifically (I have a hunch qbittorrent itself is working fine). If there is a syntax change, I haven't seen enough of the new configuration to determine how my setup needs to change.

I've rolled back to 5.0.4 with no other changes and the web UI works again.

Expected Behavior

When the container starts, the UI should start and no error present in the log.

Steps To Reproduce

  1. Set docker container to use the latest image.
  2. Start qbittorrent container
  3. Container starts, with the "getrandom() error. Reason: Function not implemented. Error code: 38." in log at startup
  4. Web UI is inop.
  5. Stop container
  6. Roll back to 5.0.4
  7. Start qbittorrent container
  8. Web UI operates as normal. No error.

Environment

- OS: Synology 
- How docker service was installed: Docker native app, also using Portainer to manage

CPU architecture

arm64

Docker creation

docker run -d \
  --name=Qbittorrent \
  -e PUID=1026 \
  -e PGID=100 \
  -e TZ=America/Chicago \
  -e WEBUI_PORT=8080 \
  -v /volume1/docker/qbittorrent/config:/config \
  -v /volume2/Data/Downloads:/downloads \
  --restart unless-stopped \
  --network container:gluetun \
  ghcr.io/linuxserver/qbittorrent
  
  
  'These go in gluetun
  -p 6881:6881 \
  -p 6881:6881/udp \
  -p 8080:8080 \

Container logs

[migrations] started
[migrations] no migrations found
───────────────────────────────────────
      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝
   Brought to you by linuxserver.io
───────────────────────────────────────
To support LSIO projects visit:
https://www.linuxserver.io/donate/
───────────────────────────────────────
GID/UID
───────────────────────────────────────
User UID:    1026
User GID:    100
───────────────────────────────────────
Linuxserver.io version: 5.1.0-r0-ls392
Build-date: 2025-05-04T06:56:29+00:00
───────────────────────────────────────
    
[custom-init] No custom files found, skipping...
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.
WebUI will be started shortly after internal preparations. Please wait...
getrandom() error. Reason: Function not implemented. Error code: 38.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions