Support Questions

Find answers, ask questions, and share your expertise

Nifi GetTwitter not working - Authorization Required

avatar
Rising Star

Hi,

I am using NiFi on a VM on Azure.

I installed HDF and I am trying to use the processor GetTwitter.

I created a Twitter App (which works, I checked), I configured the server with NTP.

I installed SSL for NiFi, Ranger and Kerberos to handle the connection to the UI.

But I have this error : Received Error HTTP_ERROR : HTTP/1.1 401 Authorization Required

Any idea what is wrong?

1 ACCEPTED SOLUTION

avatar
Rising Star

It happened that I imported a template with the processor GetTwitter and the version of the processor seemed to be old.

I removed it and added a new one from the tool bar.

It works now!

View solution in original post

14 REPLIES 14

avatar
Rising Star

I did but I have no more information in debug mode :

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

avatar
Rising Star

It happened that I imported a template with the processor GetTwitter and the version of the processor seemed to be old.

I removed it and added a new one from the tool bar.

It works now!

avatar
New Contributor

how did you fix the HTTP ERROR??

 

avatar

Syncing NTP server is what worked for me(NiFi 1.6) :

on centos 6:

  • service ntpd stop
  • ntpd -gq

where -g – requests an update irrespective of the time offset

-q – requests the daemon to quit after updating the date from the NTP server.

  • service ntpd start

avatar
Community Manager

@GosuNadir, as this is an older post, you would have a better chance of receiving a resolution by starting a new thread. 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.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: