<?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 GetTwitter not working - Authorization Required in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208578#M59873</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5201/apsaltis.html" nodeid="5201"&gt;@apsaltis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I already did and I even tested with another application (in java) and it works.&lt;/P&gt;&lt;P&gt;Do I need to test the connection to Twitter in command line like a ping or something ? I can ping dev.twitter.com&lt;/P&gt;</description>
    <pubDate>Sat, 29 Apr 2017 01:14:38 GMT</pubDate>
    <dc:creator>raphamarymtl</dc:creator>
    <dc:date>2017-04-29T01:14:38Z</dc:date>
    <item>
      <title>Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208570#M59865</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using NiFi on a VM on Azure.&lt;/P&gt;&lt;P&gt;I installed HDF and I am trying to use the processor GetTwitter.&lt;/P&gt;&lt;P&gt;I created a Twitter App (which works, I checked), I configured the server with NTP.&lt;/P&gt;&lt;P&gt;I installed SSL for NiFi, Ranger and Kerberos to handle the connection to the UI.&lt;/P&gt;&lt;P&gt;But I have this error : Received Error HTTP_ERROR  : HTTP/1.1 401 Authorization Required&lt;/P&gt;&lt;P&gt;Any idea what is wrong?&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 02:23:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208570#M59865</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-22T02:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208571#M59866</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13246/raphamarymtl.html" nodeid="13246"&gt;@Raphaël MARY&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Which end point are you using for the processor?  You should use the sample or filter endpoint.  I don't believe you can use the firehouse endpoint unless you pay Twitter for access.&lt;/P&gt;</description>
      <pubDate>Sat, 22 Apr 2017 03:14:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208571#M59866</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-04-22T03:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208572#M59867</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;&lt;/A&gt;I tried sample and filter endpoint but I am still getting the same error. Do I need to use certificates because I actived ssl?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 21:50:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208572#M59867</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-28T21:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208573#M59868</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/13246/raphamarymtl.html" nodeid="13246"&gt;@Raphaël MARY&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes, more than likely.  You can read more about Twitter TLS here: &lt;A target="_blank" href="https://dev.twitter.com/overview/api/tls"&gt;https://dev.twitter.com/overview/api/tls&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 21:58:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208573#M59868</guid>
      <dc:creator>myoung</dc:creator>
      <dc:date>2017-04-28T21:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208574#M59869</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2695/myoung.html" nodeid="2695"&gt;@Michael Young&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I added the certificate of twitter (twittercom.crt) in NiFi keystore (with keytool) but get the same error.&lt;/P&gt;&lt;P&gt;Do I have to add it in the keystore or the trustore? I did not find any doc on that.&lt;/P&gt;&lt;P&gt;The error mentions HTTP_ERROR, but if I am using SSL, why is it not HTTPS?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 00:33:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208574#M59869</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-29T00:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208575#M59870</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/97801/nifi-gettwitter-not-working-authorization-required.html#" rel="nofollow noopener noreferrer" target="_blank"&gt;@Raphaël MARY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;A secured NiFi does not force its processor components to be secured.  A secured Nifi can communicate with non secure end-points.  Security at the processor component level is handled via configuration on the processor itself and never at the NiFi core level.&lt;/P&gt;&lt;P&gt;That being said, I am really not sure what your twitter connection issue is.  If the GetTwitter processor did support TLS, I would expect it to have a processor for pointing at a "SSL Context Service" controller service which it does not.  It looks like authorization is purely handled via:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="14916-screen-shot-2017-04-28-at-15648-pm.png" style="width: 575px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16859i4C7AAFC595EBF588/image-size/medium?v=v2&amp;amp;px=400" role="button" title="14916-screen-shot-2017-04-28-at-15648-pm.png" alt="14916-screen-shot-2017-04-28-at-15648-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You could try putting the twitter processor in debug and see if it produces any additional output in the nifi-app.log that may lead to a cause.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 04:22:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208575#M59870</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T04:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208576#M59871</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13246/raphamarymtl.html" nodeid="13246"&gt;@Raphaël MARY&lt;/A&gt;&lt;P&gt;I use the Twitter processor pretty often (albeit I am not using SSL) and one thing I have often run into that produces the same error is a copy/paste issue with one of the Key's or Secrets. &lt;/P&gt;&lt;P&gt;Can you try copying your key's and secrets to a text editor and then copy/paste them from there into NiFi.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:02:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208576#M59871</guid>
      <dc:creator>apsaltis</dc:creator>
      <dc:date>2017-04-29T01:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208577#M59872</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;&lt;/A&gt;Even with debug level I get this in nifi-app.log :&lt;/P&gt;&lt;P&gt;2017-04-28 14:05:35,507 ERROR [Timer-Driven Process Thread-8] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=60003148-812e-14ce-9c95-0df056d3325d] Received error HTTP_ERROR: HTTP/1.1 401 Authorization Required. Will attempt to reconnect&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:06:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208577#M59872</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-29T01:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208578#M59873</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/5201/apsaltis.html" nodeid="5201"&gt;@apsaltis&lt;/A&gt; &lt;/P&gt;&lt;P&gt;I already did and I even tested with another application (in java) and it works.&lt;/P&gt;&lt;P&gt;Do I need to test the connection to Twitter in command line like a ping or something ? I can ping dev.twitter.com&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:14:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208578#M59873</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-29T01:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208579#M59874</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/13246/raphamarymtl.html" nodeid="13246"&gt;@Raphaël MARY&lt;/A&gt;&lt;P&gt;Hmm interesting. It appears that you can reach the host just fine if you are getting back a 401. Have you taken the approach &lt;A rel="user" href="https://community.cloudera.com/users/525/mclark.html" nodeid="525"&gt;@Matt Clarke&lt;/A&gt; mentioned ?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:19:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208579#M59874</guid>
      <dc:creator>apsaltis</dc:creator>
      <dc:date>2017-04-29T01:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208580#M59875</link>
      <description>&lt;P&gt;I did but I have no more information in debug mode :&lt;/P&gt;&lt;P&gt;2017-04-28 14:05:35,507 ERROR [Timer-Driven Process Thread-8] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=60003148-812e-14ce-9c95-0df056d3325d] Received error HTTP_ERROR: HTTP/1.1 401 Authorization Required. Will attempt to reconnect&lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 01:31:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208580#M59875</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-29T01:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208581#M59876</link>
      <description>&lt;P&gt;It happened that I imported a template with the processor GetTwitter and the version of the processor seemed to be old.&lt;/P&gt;&lt;P&gt;I removed it and added a new one from the tool bar.&lt;/P&gt;&lt;P&gt;It works now! &lt;/P&gt;</description>
      <pubDate>Sat, 29 Apr 2017 02:39:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208581#M59876</guid>
      <dc:creator>raphamarymtl</dc:creator>
      <dc:date>2017-04-29T02:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208582#M59877</link>
      <description>&lt;P&gt;Syncing NTP server is what worked for me(NiFi 1.6) :&lt;/P&gt;&lt;P&gt;on centos 6:&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;service ntpd stop&lt;/LI&gt;&lt;LI&gt;ntpd -gq&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;where -g – requests an update irrespective of the time offset&lt;/P&gt;&lt;P&gt;-q – requests the daemon to quit after updating the date from the NTP server.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;service ntpd start&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 12 Apr 2018 04:35:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/208582#M59877</guid>
      <dc:creator>shivkanaujiya00</dc:creator>
      <dc:date>2018-04-12T04:35:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/360362#M59878</link>
      <description>&lt;P&gt;how did you fix the HTTP ERROR??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 19:00:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/360362#M59878</guid>
      <dc:creator>GosuNadir</dc:creator>
      <dc:date>2023-01-02T19:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Nifi GetTwitter not working - Authorization Required</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/360399#M59879</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/102687"&gt;@GosuNadir&lt;/a&gt;,&amp;nbsp;as this is an older post, you would have a better chance of receiving a resolution by&lt;A href="“https://community.cloudera.com/t5/forums/postpage/board-id/Questions”" target="_blank"&gt; starting a new thread&lt;/A&gt;. This will also be an opportunity to provide details specific to your environment that could aid others in assisting you with a more accurate answer to your question. You can link this thread as a reference in your new post.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 07:21:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Nifi-GetTwitter-not-working-Authorization-Required/m-p/360399#M59879</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2023-01-03T07:21:29Z</dc:date>
    </item>
  </channel>
</rss>

