<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Nifi-putSlack isssue in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/389450#M246986</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;: Updated the NiFi version to 1.26.0.&lt;/P&gt;&lt;P&gt;I am trying to test it in local (haven't deployed in to environment server). Added the channel name and webhookURL&amp;nbsp; (which generated under "companyName.slack.com")&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VikasNifi_1-1718915399598.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41021i6401B432DE2EED4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VikasNifi_1-1718915399598.png" alt="VikasNifi_1-1718915399598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But still getting below error:&lt;/P&gt;&lt;P&gt;o.apache.nifi.processors.slack.PutSlack : Failed to open connection&lt;BR /&gt;javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/P&gt;&lt;P&gt;I have added slack cert in to my truststore.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VikasNifi_2-1718915669292.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41022i932C282435543F6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VikasNifi_2-1718915669292.png" alt="VikasNifi_2-1718915669292.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am wondering, is there any specific certificate needs to be added in Truststore to get putSlack to&amp;nbsp; work?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jun 2024 20:36:02 GMT</pubDate>
    <dc:creator>Vikas-Nifi</dc:creator>
    <dc:date>2024-06-20T20:36:02Z</dc:date>
    <item>
      <title>Nifi-putSlack isssue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387378#M246300</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to integrate Nifi with slack by using putSlack processor.While doing so i have configured webhook url and webhook text. But while running i got PKIX certificate validation.&lt;/P&gt;&lt;P&gt;So i have added slack cert in keyStore and added SSL context service property like below in putSlack.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2024-04-29 at 9.17.11 PM.png" style="width: 688px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40486i143532CFA240FE02/image-dimensions/688x405?v=v2" width="688" height="405" role="button" title="Screen Shot 2024-04-29 at 9.17.11 PM.png" alt="Screen Shot 2024-04-29 at 9.17.11 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This time i didn't get certificate exception. But process failed with below error:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Faile to parse JSON.&lt;/LI&gt;&lt;LI&gt;Javax.json.stream.jsonparsingexception: Unexpected char 83.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Unable to find any details regarding this issue. Could anyone please help.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 01:29:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387378#M246300</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-04-30T01:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-putSlack isssue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387388#M246305</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110342"&gt;@Vikas-Nifi&lt;/a&gt;&amp;nbsp;Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381"&gt;@SAMSAL&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151"&gt;@cotopaul&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;&amp;nbsp;who may be able to assist you further.&lt;BR /&gt;&lt;BR /&gt;Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 06:25:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387388#M246305</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-04-30T06:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-putSlack isssue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387406#M246310</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/110342"&gt;@Vikas-Nifi&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Looks like you added SSL Context Service as a custom dynamic property in this processor.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;SSL Context Service was added to the &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-slack-nar/1.25.0/org.apache.nifi.processors.slack.PutSlack/index.html" target="_blank"&gt;PutSlack&lt;/A&gt; processor in Apache NiFi 1.24:&lt;BR /&gt;&lt;A href="https://issues.apache.org/jira/browse/NIFI-12277" target="_blank"&gt;https://issues.apache.org/jira/browse/NIFI-12277&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;You can't use Dynamic properties to add controller service references in any NiFi processor.&amp;nbsp; Processor code is required for this. This processor treats dynamic properties in a specific way:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MattWho_0-1714481754365.png" style="width: 714px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/40496iBA1FAE5A050C75D5/image-dimensions/714x68?v=v2" width="714" height="68" role="button" title="MattWho_0-1714481754365.png" alt="MattWho_0-1714481754365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The processing of that dynamic property is what is causing your json parsing exception.&lt;BR /&gt;&lt;BR /&gt;This processor was deprecated newer versions of Apache NiFi in favor of the new &lt;A href="https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi/nifi-slack-nar/1.25.0/org.apache.nifi.processors.slack.PublishSlack/index.html" target="_blank"&gt;PublishSlack&lt;/A&gt; processor.&amp;nbsp; Looks like you will need to upgrade to Apache NiFi 1.24 or newer to use the SSL Context service in PutSlack or use the PublishSlack processor.&lt;/P&gt;&lt;P&gt;Please help our community thrive. If you found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;any&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;of the suggestions/solutions provided helped you with solving your issue or answering your question, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on&amp;nbsp;&lt;STRONG&gt;one or more&lt;/STRONG&gt;&amp;nbsp;of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Matt&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2024 12:59:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/387406#M246310</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-04-30T12:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-putSlack isssue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/389450#M246986</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454"&gt;@MattWho&lt;/a&gt;&amp;nbsp;: Updated the NiFi version to 1.26.0.&lt;/P&gt;&lt;P&gt;I am trying to test it in local (haven't deployed in to environment server). Added the channel name and webhookURL&amp;nbsp; (which generated under "companyName.slack.com")&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VikasNifi_1-1718915399598.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41021i6401B432DE2EED4B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VikasNifi_1-1718915399598.png" alt="VikasNifi_1-1718915399598.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But still getting below error:&lt;/P&gt;&lt;P&gt;o.apache.nifi.processors.slack.PutSlack : Failed to open connection&lt;BR /&gt;javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target&lt;/P&gt;&lt;P&gt;I have added slack cert in to my truststore.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="VikasNifi_2-1718915669292.png" style="width: 400px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/41022i932C282435543F6C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="VikasNifi_2-1718915669292.png" alt="VikasNifi_2-1718915669292.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am wondering, is there any specific certificate needs to be added in Truststore to get putSlack to&amp;nbsp; work?.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 20:36:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/389450#M246986</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-06-20T20:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi-putSlack isssue</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/389484#M246992</link>
      <description>&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/80381" target="_blank"&gt;@SAMSAL&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/103151" target="_blank"&gt;@cotopaul&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/35454" target="_blank"&gt;@MattWho&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;: please help on above&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jun 2024 11:19:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Nifi-putSlack-isssue/m-p/389484#M246992</guid>
      <dc:creator>Vikas-Nifi</dc:creator>
      <dc:date>2024-06-21T11:19:52Z</dc:date>
    </item>
  </channel>
</rss>

