Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-13501

IFTTT integration not working anymore

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Review (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 28.0.1
    • Fix Version/s: 28.1.2
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Story Points:
      2
    • Sprint:
      Horizon 2021 - Aug 4 - 18, Horizon 2021 - Oct 13 - 27
    • Acceptance / Success Criteria:
      Hide

      The IFTTT integration works and no SSL exceptions are thrown.

      Show
      The IFTTT integration works and no SSL exceptions are thrown.

      Description

      Trigger are not sent anymore to the IFTTT endpoint. The following exceptions appear ind the karaf.log file:

      javax.net.ssl.SSLHandshakeException: No X509TrustManager implementation available
              at sun.security.ssl.Alert.createSSLException(Alert.java:131) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:369) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:312) ~[?:?]
              at sun.security.ssl.TransportContext.fatal(TransportContext.java:307) ~[?:?]
              at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654) ~[?:?]
              at sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473) ~[?:?]
              at sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369) ~[?:?]
              at sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:392) ~[?:?]
              at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:478) ~[?:?]
              at sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:456) ~[?:?]
              at sun.security.ssl.TransportContext.dispatch(TransportContext.java:199) ~[?:?]
              at sun.security.ssl.SSLTransport.decode(SSLTransport.java:171) ~[?:?]
              at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1369) ~[?:?]
              at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1278) ~[?:?]
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:401) ~[?:?]
              at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:373) ~[?:?]
              at org.apache.http.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:436) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.conn.ssl.SSLConnectionSocketFactory.connectSocket(SSLConnectionSocketFactory.java:384) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:376) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.13.jar:4.5.13]
              at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.13.jar:4.5.13]
              at org.opennms.features.ifttt.helper.IfTttTrigger.trigger(IfTttTrigger.java:93) [!/:?]
              at org.opennms.features.ifttt.IfTttDaemon.fireIfTttTriggerSet(IfTttDaemon.java:349) [!/:?]
              at org.opennms.features.ifttt.IfTttDaemon.fireIfTttTriggerSet(IfTttDaemon.java:318) [!/:?]
              at org.opennms.features.ifttt.IfTttDaemon$1$1.doInTransactionWithoutResult(IfTttDaemon.java:246) [!/:?]
              at org.springframework.transaction.support.TransactionCallbackWithoutResult.doInTransaction(TransactionCallbackWithoutResult.java:34) [org.apache.servicemix.bundles.spring-tx-4.2.9.RELEASE_1.jar:?]
              at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) [org.apache.servicemix.bundles.spring-tx-4.2.9.RELEASE_1.jar:?]
              at Proxy499c0a65_42f1_4eb8_9d5c_a100d2312d7a.execute(Unknown Source) [?:?]
              at org.opennms.features.ifttt.IfTttDaemon$1.run(IfTttDaemon.java:206) [!/:?]
              at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
              at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
              at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
              at java.lang.Thread.run(Thread.java:834) [?:?]
      Caused by: java.security.cert.CertificateException: No X509TrustManager implementation available
              at sun.security.ssl.DummyX509TrustManager.checkServerTrusted(SSLContextImpl.java:1706) ~[?:?]
              at sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638) ~[?:?]
              ... 37 more
      

        Attachments

          Activity

            People

            Assignee:
            cpape Christian Pape
            Reporter:
            cpape Christian Pape
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Git Integration