Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-26455

Permission checks make the hosts page unable to load (HTTP 504)

XMLWordPrintable

    • Sprint candidates

      One specific user (SAML-provisioned) is unable to open the Data collection -> Hosts page and issue also exists when trying to open it from host groups (clicking on icon with number of hosts in the group).
      Every attempt results in a pending state, and after 3 minutes (as per the PHP timeout), it fails with a 504 HTTP error code.

      The issue appears when the host group contains a large number of host i.e. 120+ and the user's role is Admin (see configuration below):

      It seems to work correctly when the host group contains only a small number of hosts i.e. 3–5.

      Changing the user's role to Super Admin resolves the issue immediately. This problem does not affect all users who have the same set of host groups.

      Initially, there were 13 sessions for the user in the sessions table. These were removed, and the user was forced to re-login, but this did not resolve the issue.

      Tested in two different web browsers.

      Nginx log:

      2025/05/20 04:22:13 [error] 178147#0: *1288131 upstream timed out (110: Connection timed out) while reading response header from upstream, client: xx.xx.xx.xx, server: , request: "GET /zabbix.php?action=host.list HTTP/1.1", upstream: "fastcgi://unix:/run/php-fpm/zabbix.sock", host: "some-company.com", referrer: "https://some-company.com/zabbix.php?action=maintenance.list"

      PHP log:

      [18-May-2025 03:12:03] NOTICE: error log file re-opened
      [20-May-2025 08:56:23] NOTICE: Terminating ...
      [20-May-2025 08:56:23] NOTICE: exiting, bye-bye!
      [20-May-2025 08:56:23] WARNING: [pool zabbix] ACL set, listen.owner = 'nginx' is ignored
      [20-May-2025 08:56:23] WARNING: [pool zabbix] ACL set, listen.group = 'nginx' is ignored
      [20-May-2025 08:56:23] NOTICE: fpm is running, pid 1001180
      [20-May-2025 08:56:23] NOTICE: ready to handle connections
      [20-May-2025 08:56:23] NOTICE: systemd monitor interval set to 10000ms
      [20-May-2025 08:56:38] WARNING: [pool zabbix] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 3 idle, and 10 total children

      Note: this was a single entry. Does not appear when page is refreshed

            zabbix.dev Zabbix Development Team
            mkudlacz Michal Kudlacz
            Team C
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: