[ZBX-21692] Incorrect error message appears if connection is refused by Zabbix server Created: 2022 Sep 26  Updated: 2024 Apr 10  Resolved: 2022 Oct 06

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 6.0.10rc1, 6.2.4rc1, 6.4.0alpha1
Fix Version/s: 6.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Kirils Seve Assignee: Zabbix Development Team
Resolution: Duplicate Votes: 0
Labels: connections, errormessage, nodes
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File image-2022-09-26-10-02-50-434.png    
Issue Links:
Sub-task
part of ZBX-21510 NodeAddress statically defines port 1... Closed
Team: Team A
Sprint: Sprint 93 (Oct 2022)
Story Points: 0.5

 Description   

During https://support.zabbix.com/browse/ZBX-21510 NodeAdress tests, we found that the error message 'Connection to Zabbix server "localhost" refused' contains an outdated list of possible reasons that we should actualize and update.

Steps to reproduce:

  • Enable 'High availability cluster parameters' in etc/zabbix_server.conf:
    ####### High availability cluster parameters #######
    
    ## Option: HANodeName
    #	The high availability cluster node name.
    #	When empty, server is working in standalone mode; a node with empty name is registered with address for the frontend to connect to.
    #
    # Mandatory: no
    # Default: 
    HANodeName=zabbix-node-01
    
    ## Option: NodeAddress
    #	IP or hostname with optional port to specify how frontend should connect to the server.
    #	Format: <address>[:port]
    #
    #	This option can be overridden by address specified in frontend configuration.
    #
    # Mandatory: no
    # Default: 
    NodeAddress=localhost:10055
    
  • Run zabbix server
  • Check Reports->System information page

Result: Error message appears:

Connection to Zabbix server "localhost" refused. Possible reasons:
1. Incorrect server IP/DNS in the "zabbix.conf.php";
2. Security environment (for example, SELinux) is blocking the connection;
3. Zabbix server daemon not running;
4. Firewall is blocking TCP connection.
Connection refused


Expected:



 Comments   
Comment by Alexander Vladishev [ 2022 Oct 04 ]

Seems duplicate of ZBX-21510.

Comment by Alexander Vladishev [ 2022 Oct 06 ]

Will be fixed as part of ZBX-21510.

Generated at Sat Jun 14 17:43:03 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.