Vincent Naveen created NIFI-7716:
------------------------------------
Summary: Received error HTTP_ERROR: HTTP/1.1 420 Enhance Your
Calm. Will attempt to reconnect
Key: NIFI-7716
URL: https://issues.apache.org/jira/browse/NIFI-7716
Project: Apache NiFi
Issue Type: Bug
Components: NiFi Stateless
Affects Versions: 1.11.3
Environment: Nifi on AWS EC2 instance
Reporter: Vincent Naveen
Attachments: ErrorOnGetTwitter.JPG
We are using python script in the "ExecuteStreamCommand" processor which takes
the Twitter user from the database from the incoming flow file generated by the
"QueryTableRecord" process. We are able to successfully stop the processor and
update the IDs_To_Follow via parameter context in GetTwitter processor and to
start the GetTwitter processor.The issue is once the GetTwitter processor
starts, it is throwing the error as below,Received error HTTP_ERROR: HTTP/1.1
420 Enhance Your Calm. Will attempt to reconnect
Received error STOPPED_BY_ERROR: Retries exhausted due to null. Will not
attempt to reconnect
12:42:46 ISTERRORbe2a0f28-0173-1000-0bbc-4401fbf6d330We came to know that, wait
time needs to be added whenever doing the REST Api calls and which we have
implemented but still we are getting the same issue. We changed the Max Client
Retry count to 50 as well. Still the issue is not fixed.While browsing the
below link, we have to do something in the java coding languague but we are
using python script in the ExecuteStreamCommand.
https://issues.apache.org/jira/browse/NIFI-5953
[https://github.com/apache/nifi/pull/3276]
Could you please help us here, how we need to handle this scenario. Thanks in
Advance!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)