[ZBX-26219] Zabbix setup timezone ends up in Connexion Reset Created: 2025 Mar 25  Updated: 2025 Aug 18  Resolved: 2025 Aug 18

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 7.2.10
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: tim Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Infomaniak VPS Lite
debian 12.9
zabbix 7.2.4
php 8.2 OR php-fpm-8.2
mariadb v10.11.11
apache2 2.4.62


Attachments: PNG File 2025-03-25_zabbix_setup.png     PNG File zabbix_setup_connexion_reset.png    

 Description   

Steps to reproduce :

  1. I use the VPS Lite from Infomaniak
  2. Install Zabbix on fresh debian 12.9 install following the official tutorial. I used apache2, mariadb, php8.2.
  3. Navigate to the setup page http://IP/zabbix/setup.php
  4. Welcome : OK
    Check of pre-requisites : OK
    Configure DB connection : OK
    Settings -> the dropdown menu for timezone won't charge and the connexion is reseted. Impossible to go through the final steps.
  5. I tried with nginx, postgreSQL, php8.2-fpm and had the same result.
  6. Worst : I installed the docker version, the zabbix frontend is accessible (no need to do the setup) but when I browse User Settings -> Profile  I have the same "connexion reset" page on my browser.
  7. I tried Google Chrome, Mozilla Firefox, both correctly updated.

Result :
See screenshots, the connexion is reseted

Expected:
The setup should go through and we should pass all these steps : https://www.zabbix.com/documentation/current/en/manual/installation/frontend

Diagnostic :
I see i'm not the only one who faced the issue at some point : ZBX-24071   but i can't find the fix that works for me.

I don't think it comes from zabbix though, I would have expected docker to work.
It could be my system but i reinstalled the VPS a few times and had no progress.

I got nothing in the web browser console.
In the network tab, i got "NS_ERROR_NET_RESET" on the file setup.php

apache2 logs :

 

REDACTED IP - - [25/Mar/2025:10:03:48 +0100] "GET /zabbix/setup.php HTTP/1.1" 200 8800 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0" 

REDACTED IP- - [25/Mar/2025:10:03:49 +0100] "GET /zabbix/jsLoader.php?ver=7.2.4&lang=en_US&files%5B0%5D=setup.js HTTP/1.1" 304 196 "http://redactedurl/zabbix/setup.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0" 

REDACTED IP- - [25/Mar/2025:10:03:49 +0100] "GET /zabbix/jsLoader.php?ver=7.2.4&lang=en_US HTTP/1.1" 304 196 "http://redactedurl/zabbix/setup.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0"
 

/var/log/php8.2-fpm.log is not saying anything special
/var/log/zabbix/zabbix_server.log is not saying anything special

Environment :
zabbix packages :

 

dpkg -l | grep zabbix
ii  zabbix-agent                   1:7.2.4-1+debian12             amd64        Zabbix network monitoring solution - agent
ii  zabbix-apache-conf             1:7.2.4-1+debian12             all          Zabbix network monitoring solution - apache configuration for front-end
ii  zabbix-frontend-php            1:7.2.4-1+debian12             all          Zabbix network monitoring solution - PHP front-end
ii  zabbix-release                 1:7.2-1+debian12               all          Zabbix official repository configuration
ii  zabbix-server-mysql            1:7.2.4-1+debian12             amd64        Zabbix network monitoring solution - server (MySQL)
ii  zabbix-sql-scripts             1:7.2.4-1+debian12             all          Zabbix network monitoring solution - sql-scripts
 

php packages :

 

 

dpkg -l | grep php
ii  libapache2-mod-php             2:8.2+93                       all          server-side, HTML-embedded scripting language (Apache 2 module) (default)
ii  libapache2-mod-php8.2          8.2.28-1~deb12u1               amd64        server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-bcmath                     2:8.2+93                       all          Bcmath module for PHP [default]
ii  php-common                     2:93                           all          Common files for PHP packages
ii  php-curl                       2:8.2+93                       all          CURL module for PHP [default]
ii  php-fpm                        2:8.2+93                       all          server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii  php-gd                         2:8.2+93                       all          GD module for PHP [default]
ii  php-ldap                       2:8.2+93                       all          LDAP module for PHP [default]
ii  php-mbstring                   2:8.2+93                       all          MBSTRING module for PHP [default]
ii  php-mysql                      2:8.2+93                       all          MySQL module for PHP [default]
ii  php-xml                        2:8.2+93                       all          DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii  php8.2-bcmath                  8.2.28-1~deb12u1               amd64        Bcmath module for PHP
ii  php8.2-cli                     8.2.28-1~deb12u1               amd64        command-line interpreter for the PHP scripting language
ii  php8.2-common                  8.2.28-1~deb12u1               amd64        documentation, examples and common module for PHP
ii  php8.2-curl                    8.2.28-1~deb12u1               amd64        CURL module for PHP
ii  php8.2-fpm                     8.2.28-1~deb12u1               amd64        server-side, HTML-embedded scripting language (FPM-CGI binary)
ii  php8.2-gd                      8.2.28-1~deb12u1               amd64        GD module for PHP
ii  php8.2-ldap                    8.2.28-1~deb12u1               amd64        LDAP module for PHP
ii  php8.2-mbstring                8.2.28-1~deb12u1               amd64        MBSTRING module for PHP
ii  php8.2-mysql                   8.2.28-1~deb12u1               amd64        MySQL module for PHP
ii  php8.2-opcache                 8.2.28-1~deb12u1               amd64        Zend OpCache module for PHP
ii  php8.2-readline                8.2.28-1~deb12u1               amd64        readline module for PHP
ii  php8.2-xml                     8.2.28-1~deb12u1               amd64        DOM, SimpleXML, XML, and XSL module for PHP
ii  zabbix-frontend-php            1:7.2.4-1+debian12             all          Zabbix network monitoring solution - PHP front-end
 

Timezone and locales configurations :

 

 

 timedatectl
               Local time: Tue 2025-03-25 09:45:13 CET
           Universal time: Tue 2025-03-25 08:45:13 UTC
                 RTC time: Tue 2025-03-25 08:45:13
                Time zone: Europe/Paris (CET, +0100)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

locale -a 

C 
C.utf8 
en_US.utf8 -> DEFAULT 
fr_FR.utf8 
POSIX  

 

/etc/php/8.2/fpm/php.ini

[Date]
; Defines the default timezone used by the date functions
; https://php.net/date.timezone
date.timezone = Europe/Paris

 
/etc/php/8.2/apache2/php.ini

[Date]
; Defines the default timezone used by the date functions
; https://php.net/date.timezone
date.timezone = Europe/Paris

 

/etc/apache2/conf-enabled/zabbix.conf :

 

<IfModule mod_alias.c>
    Alias /zabbix /usr/share/zabbix/ui
</IfModule><Directory "/usr/share/zabbix/ui">
    Options FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all    <IfModule mod_php.c>
        php_value max_execution_time 300
        php_value memory_limit 128M
        php_value post_max_size 16M
        php_value upload_max_filesize 2M
        php_value max_input_time 300
        php_value max_input_vars 10000
        php_value always_populate_raw_post_data -1
        php_value date.timezone Europe/Paris
    </IfModule>    <IfModule mod_php7.c>
        php_value max_execution_time 300
        php_value memory_limit 128M
        php_value post_max_size 16M
        php_value upload_max_filesize 2M
        php_value max_input_time 300
        php_value max_input_vars 10000
        php_value always_populate_raw_post_data-1
        php_value date.timezone Europe/Paris
    </IfModule>    <IfModule mod_php8.c>
        php_value max_execution_time 300
        php_value memory_limit 128M
        php_value post_max_size 16M
        php_value upload_max_filesize 2M
        php_value max_input_time 300
        php_value max_input_vars 10000
        php_value always_populate_raw_post_data-1
        php_value date.timezone Europe/Paris
    </IfModule></Directory> 

 

 

Do you have any idea what I can do to resolve this issue ?
It works so fine on hyper-V ... I'm lost 

 

 



 Comments   
Comment by Alexander Vladishev [ 2025 Mar 25 ]

Hi! Does the web server error log contain any error records?

Comment by tim [ 2025 Mar 25 ]

no, nothing...

Comment by tim [ 2025 Apr 01 ]

There is only one PHP.ini

~# php --ini

Configuration File (php.ini) Path: /etc/php/8.2/cli
Loaded Configuration File: /etc/php/8.2/cli/php.ini
Scan for additional .ini files in: /etc/php/8.2/cli/conf.d
Additional .ini files parsed: /etc/php/8.2/cli/conf.d/10-mysqlnd.ini,

/etc/php/8.2/cli/conf.d/10-opcache.ini,
/etc/php/8.2/cli/conf.d/10-pdo.ini,
/etc/php/8.2/cli/conf.d/15-xml.ini,
/etc/php/8.2/cli/conf.d/20-bcmath.ini,
/etc/php/8.2/cli/conf.d/20-calendar.ini,
/etc/php/8.2/cli/conf.d/20-ctype.ini,
/etc/php/8.2/cli/conf.d/20-curl.ini,
/etc/php/8.2/cli/conf.d/20-dom.ini,
/etc/php/8.2/cli/conf.d/20-exif.ini,
/etc/php/8.2/cli/conf.d/20-ffi.ini,
/etc/php/8.2/cli/conf.d/20-fileinfo.ini,
/etc/php/8.2/cli/conf.d/20-ftp.ini,
/etc/php/8.2/cli/conf.d/20-gd.ini,
/etc/php/8.2/cli/conf.d/20-gettext.ini,
/etc/php/8.2/cli/conf.d/20-iconv.ini,
/etc/php/8.2/cli/conf.d/20-ldap.ini,
/etc/php/8.2/cli/conf.d/20-mbstring.ini,
/etc/php/8.2/cli/conf.d/20-mysqli.ini,
/etc/php/8.2/cli/conf.d/20-pdo_mysql.ini,
/etc/php/8.2/cli/conf.d/20-phar.ini,
/etc/php/8.2/cli/conf.d/20-posix.ini,
/etc/php/8.2/cli/conf.d/20-readline.ini,
/etc/php/8.2/cli/conf.d/20-shmop.ini,
/etc/php/8.2/cli/conf.d/20-simplexml.ini,
/etc/php/8.2/cli/conf.d/20-sockets.ini,
/etc/php/8.2/cli/conf.d/20-sysvmsg.ini,
/etc/php/8.2/cli/conf.d/20-sysvsem.ini,
/etc/php/8.2/cli/conf.d/20-sysvshm.ini,
/etc/php/8.2/cli/conf.d/20-tokenizer.ini,
/etc/php/8.2/cli/conf.d/20-xmlreader.ini,
/etc/php/8.2/cli/conf.d/20-xmlwriter.ini,
/etc/php/8.2/cli/conf.d/20-xsl.ini

Comment by tim [ 2025 Apr 01 ]

I'm on debian 12.9, there is no SELinux installed.

Comment by tim [ 2025 Apr 24 ]

Hello bnems, any idea what could be the cause ? 
What does zabbix uses in order to define the timezone ?

Thank you

Comment by Michał Mikołajski [ 2025 Jun 17 ]

I had the same problem.

Connection was terminated by IPS because of "Buffer overflow in HTML attribute"

Comment by Bartosz Nems [ 2025 Jul 04 ]

Hi Tim,

Could You state which version of VPS You are using, CPU, RAM etc? 

Comment by Olivier Rassemusse [ 2025 Jul 10 ]

Hello, got the same problem : fresh install on a debian 12, I tried apache2, nginx, php and fpm.

I found this : 

https://support.zabbix.com/browse/ZBX-22612

https://www.zabbix.com/forum/en-francais/495470-probleme-installation-de-zabbix-7-0-5

Problems with the CTimezoneHelper.php are still here I guess. Anyway, changing the return of the function do the trick for the moment.

Comment by Alexey Pustovalov [ 2025 Jul 30 ]

How much free memory do you have on the server? I tried to decrease memory limits to 40MB and still everything is ok.

Generated at Fri Sep 05 22:40:34 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.