Support Questions
Find answers, ask questions, and share your expertise

NiFi unable to connect Twitter

NiFi unable to connect Twitter

Contributor

Hi Team ,

I am getting following error while connecting from Nifi to Twitter .

2017-08-28 16:41:52,443 ERROR [Timer-Driven Process Thread-8] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=17f6d19f-6a6f-46df-95b5-23335e63fedd] Received error CONNECTION_ERROR: Failed to establish connection properly. Will attempt to reconnect

27 REPLIES 27

Re: NiFi unable to connect Twitter

@Kishore Kumar

What is the configuration of the GetTwitter processor?

Re: NiFi unable to connect Twitter

Contributor

@Wynner Please find the attache screen clip of GetTwitter Processor conf .

34541-twitt.png

Re: NiFi unable to connect Twitter

Contributor

Hi Team ,

Any update on my this issue ?

Best regards

~Kishore

Re: NiFi unable to connect Twitter

Contributor

@Geoffrey Shelton Okot . Can you please help here ?

Re: NiFi unable to connect Twitter

Mentor

@Kishore Kumar

Sorry,can you give me a history of your Nifi/twitter issue. I can't trace the initial thread.

Nifi version Standalone or cluster
With or without HDP and Ambari
Kerberized or not?
Sandbox or bare metal

Just any information that you deem is important for me to better understand the problem.

Re: NiFi unable to connect Twitter

Contributor

@Geoffrey Shelton Okot

NiFi Version : Version 1.2.0.3.0.0.0-453 .Its Cluster with HDP and Ambari

Kerberized : No

Bare Metal

Re: NiFi unable to connect Twitter

Mentor

@Kishore Kumar

Good thank you

What required properties have you set? eg access token and consumer key. Can you copy and paste the error generated when you turn the processor on ? Are you following a specifi document to do that, I can create my eg access token and consumer key so how can I reproducee your case ?

Re: NiFi unable to connect Twitter

Contributor

@Geoffrey Shelton Okot

Here is the screen shot of Processor Properties .

34547-twitt.png

Following document i am following .

https://hortonworks.com/tutorial/analyzing-social-media-and-customer-sentiment-with-apache-nifi-and-...

@Geoffrey Shelton Okot

Forgot to mention Error :

2017-08-29 11:06:12,043 WARN [hosebird-client-io-thread-0] com.twitter.hbc.httpclient.ClientBase GetTwitter[id=17f6d19f-6a6f-46df-a98c-5059921d4734] IOException caught when establishing connection to https://stream.twitter.com/1.1/statuses/filter.json?delimited=length&stall_warnings=true 2017-08-29 11:06:12,206 ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=17f6d19f-6a6f-46df-a98c-5059921d4734] Received error CONNECTION_ERROR: connect timed out. Will attempt to reconnect 201 2017-08-29 11:06:17,212 ERROR [Timer-Driven Process Thread-6] o.a.nifi.processors.twitter.GetTwitter GetTwitter[id=17f6d19f-6a6f-46df-a98c-5059921d4734] Received error CONNECTION_ERROR: connect timed out. Will attempt to reconnect

Re: NiFi unable to connect Twitter

Contributor
@Geoffrey Shelton Okot

Any finding please ? I am blocked due to that .