Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi ListenTCP 1.4.0 "Rejecting Connections from xx.xx.xx.xx : xxxx, because max connection has been met" timeout

NiFi ListenTCP 1.4.0 "Rejecting Connections from xx.xx.xx.xx : xxxx, because max connection has been met" timeout

Explorer

Hi there,

I am using a ListenTCP to capture data coming from an Arduino on a TCP port over WiFi.

When there is a loss of comms over wifi for various reasons (loss of signal, power cut), the Arduino is programmed to attempt to connect back when connection is restored.

I am seeing at times the max connections warning as the arduino attemps to reconnect, and it is unable to regain data flow for a long time - it seems to be a random amount of time from a few minutes up to half an hour.

I have had a look at this article

https://community.hortonworks.com/questions/90478/how-to-release-occupied-connections-in-listentcp-p...

which suggests that the Arduino side should close the connection, however during an abrupt connection loss, NiFi would not be able to detect a closure.

Does anybody know if there is a set timeout period on the max connections condition?

Is there a way to control how the max connection warning is triggered?

Thank you

Don't have an account?
Coming from Hortonworks? Activate your account here