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

SSL Plugin: Connection reset by peer

    XMLWordPrintable

Details

    • Problem report
    • Status: Confirmed
    • Trivial
    • Resolution: Unresolved
    • 6.0.12
    • None
    • Agent2 plugin (N)
    • None
    • Ubuntu 22

    Description

      Steps to reproduce:

      1. Install zabbix-agent2
      2. Test the data collection with zabbix_agent2 -t web.certificate.get[<ssl_endpoint>]

      Result:
      Error

      web.certificate.get[<ip_or_dns>][m|ZBX_NOTSUPPORTED] [Cannot fetch data: read tcp: read: connection reset by peer.]

      At the same time - the port is open and available

       

      nmap -sT -p 443 <ip>
      Starting Nmap 7.80 ( https://nmap.org ) at 2022-12-09 12:33 CET
      Host is up (0.0011s latency).
      PORT    STATE SERVICE
      443/tcp open  https
      

      And we're able to fetch certificate data with the OpenSSL utility

      openssl s_client -connect <ip>:443 2>/dev/null | openssl x509 -noout -dates
      notBefore=Sep 14 00:00:00 2022 GMT
      notAfter=Oct 15 23:59:59 2023 GMT

      Expected:
      No problems with web.certificate.get

      Attachments

        Activity

          People

            zabbix.dev Zabbix Development Team
            igorbach Igor Gorbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: