Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7716

Received error HTTP_ERROR: HTTP/1.1 420 Enhance Your Calm. Will attempt to reconnect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 1.11.3
    • None
    • NiFi Stateless
    • None
    • Nifi on AWS EC2 instance

    Description

      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!

       

      Attachments

        1. ErrorOnGetTwitter.JPG
          29 kB
          Vincent Naveen

        Activity

          People

            Unassigned Unassigned
            V1ncent24 Vincent Naveen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: