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

Enabling TLSListen=required breaks unencrypted Agents/Agent2s/Proxies and Zabbix Sender tools

XMLWordPrintable

    • Support backlog

      Steps to reproduce:

      1. Make a setup with Zabbix Server and 1 Proxy and 1-2 Agents and zabbix_sender
      2. Configure Server with certs and enable TLSListen
      3. Do not configure Agents/Proxies to use encryption yet

      Result:
      Agent2, not able to start:

      2025/07/11 12:24:55.004302 [101] active check configuration update from host [Zabbix server] started to fail
      2025/07/11 12:26:17.340122 Zabbix Agent 2 stopped. (7.4.0)
      2025/07/11 12:33:29.813346 Starting Zabbix Agent 2 (7.4.0)
      2025/07/11 12:33:29.813445 Failed to get encryption configuration: TLSPSKIdentity configuration parameter set without PSK being used.
      2025/07/11 12:33:40.084921 Starting Zabbix Agent 2 (7.4.0)
      2025/07/11 12:33:40.085217 Failed to get encryption configuration: TLSPSKIdentity configuration parameter set without PSK being used.
      2025/07/11 12:33:50.325460 Starting Zabbix Agent 2 (7.4.0)
      2025/07/11 12:33:50.325586 Failed to get encryption configuration: TLSPSKIdentity configuration parameter set without PSK being used.
      2025/07/11 12:34:00.592354 Starting Zabbix Agent 2 (7.4.0)
      2025/07/11 12:34:00.592497 Failed to get encryption configuration: TLSPSKIdentity configuration parameter set without PSK being used.
      

      zabbix_sender, hangs, until sigkill issues

      zabbix_sender -vv -z 127.0.0.1 -s "Zabbix server" -k agent.hostname -o "test"
      zabbix_sender [18127]: DEBUG: In zbx_comms_exchange_with_redirect()
      zabbix_sender [18127]: DEBUG: In zbx_connect_to_server() [127.0.0.1]:10051 [timeout:60, connection timeout:3]
      zabbix_sender [18127]: DEBUG: In zbx_is_ip4() ip:'127.0.0.1'
      zabbix_sender [18127]: DEBUG: End of zbx_is_ip4():SUCCEED
      zabbix_sender [18127]: DEBUG: In zbx_is_ip4() ip:'127.0.0.1'
      zabbix_sender [18127]: DEBUG: End of zbx_is_ip4():SUCCEED
      zabbix_sender [18127]: DEBUG: End of zbx_connect_to_server():SUCCEED
      zabbix_sender [18127]: DEBUG: zbx_comms_exchange_with_redirect() sending: {"request":"sender data","data":[{"host":"Zabbix server","key":"agent.hostname","value":"test"}],"clock":1752226088,"ns":373137969}
      zabbix_sender [18127]: DEBUG: zbx_comms_exchange_with_redirect() received: 
      zabbix_sender [18127]: DEBUG: End of zbx_comms_exchange_with_redirect():SUCCEED
      
      

      Expected:
      Normal handling, like: failed to make unencrypted connection, but not hanging Proxy, Agent, etc...

            zabbix.dev Zabbix Development Team
            edgar.akhmetshin Edgar Akhmetshin
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: