Ad Widget

Collapse

Slack webhook cannot get URL ssl connection error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Trixikus
    Junior Member
    • Jul 2021
    • 3

    #1

    Slack webhook cannot get URL ssl connection error

    Hello, An error occurs with zabbix_url , what can it be related to and how to fix it? Slack notification failed : Error: cannot get URL: SSL connect error
  • Glencoe
    Zabbix developer
    • Oct 2019
    • 152

    #2
    It looks like your Zabbix instance uses libcurl that can not validate slack.com certificate. Check your curl version and make sure it can verify Slack's certificate and CAs.

    Comment


    • Trixikus
      Trixikus commented
      Editing a comment
      version 7.61.1

      curl https://slack.com/api/
      curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to slack.com:443



      I think this is really the problem.
  • Trixikus
    Junior Member
    • Jul 2021
    • 3

    #3

    Curl version updated, but now curl: (35) OpenSSL SSL_connect: Reset peer connection when connecting to api.slack.com:443

    Comment

    • Glencoe
      Zabbix developer
      • Oct 2019
      • 152

      #4
      Try running curl with -v option, it should give you more hints.

      Comment

      • Trixikus
        Junior Member
        • Jul 2021
        • 3

        #5
        curl -v https://api.slack.com
        * Trying 3.10.95.11:443...
        * Connected to api.slack.com (3.10.95.11) port 443 (#0)
        * ALPN, offering h2
        * ALPN, offering http/1.1
        * successfully set certificate verify locations:
        * CAfile: /etc/pki/tls/certs/ca-bundle.crt
        * CApath: none
        * TLSv1.3 (OUT), TLS handshake, Client hello (1):
        * OpenSSL SSL_connect: Connection reset by peer in connection to api.slack.com:443
        * Closing connection 0
        curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to api.slack.com:443

        Comment

        • Glencoe
          Zabbix developer
          • Oct 2019
          • 152

          #6
          Not much clue in here.. How about curl --trace log.txt ?

          Comment

          • somesh_k
            Junior Member
            • Feb 2023
            • 12

            #7
            Hi ,
            Any solution on above problem.I am facing same issue in the webhook call.
            Click image for larger version

Name:	image.png
Views:	2056
Size:	10.7 KB
ID:	460882

            Comment

            Working...