Created 02-05-2016 05:47 PM
I correctly configured the processor in NIFI with the consumer secrte, token ..... etc. from tiwtter apps that i've created.. and i'm connected to internet, Firewalls are down but i always have the error HTTP_ERROR: HTTP/1.1 401 authorization Requiered. will attempt to reconnect.
and i cant strem any data from twitter. Please help me to solve this issue.
Thanks
Created on 02-05-2016 05:49 PM - edited 08-19-2019 02:47 AM
did you create a Twitter application as the guidelines of Twitter api request? You also need Access Token and Access Secret. link @Malek Ben Salem
Created 02-24-2016 06:49 AM
Thanks for your help, after regenerating both Consumer Key and Access Token and my Host PC date was 2 min off, updated that as well. After all the changes, nifi is working.
Thanks again @Neeraj Sabharwal and @Artem Ervits.
Created 04-13-2016 11:15 AM
Hi,
if you are still facing this issue and you already tried to regenerate the key and it didn't work
try to make sure of the clock in your sandbox is set correctly to do so run the following :
1. yum install -y ntp
2. service ntpd stop
3. ntpdate pool.ntp.org
4. service ntpd start
Created 04-20-2016 05:25 AM
Regenerating 'Consumer Key/Secret' and Access token didn't help. Tried ntpd clock time adjustment. It worked ! !
Thanks guys !!
Created 07-27-2016 03:15 AM
thanks! had this same problem and getting ntpd running properly fixed it.
Created 11-07-2016 04:18 AM
Thanks a ton! Worked for me as well. As he said, if regeneration of the keys didn't work. This should probably fix the issue.
Created 03-12-2017 01:38 PM
Thank you! It worked for me.
Created 04-14-2016 08:55 AM
I had the same problem, I tired regenerating access key and token
but with no luck
what I found later .. that the time and date on the sandbox was off
so I update the time to the correct one
and create a new app in twitter api
and it works fine