Created 05-13-2025 04:43 AM
We have a number of PostHTTP processors sending files to ListenHTTP processors that chug along day after day happy as a clam. Then all of a sudden, there will be a spate of these errors: "Cannot send . . . to . . . because the destination does not accept FlowFiles and this processor is configured to delivery FlowFiles; routing to failure."
For one of the PostHTTP processors, I created additional routes on success/failure so that I could look at and compare the files. These files are JSON, and after downloading the files to both success and failure, both are correctly formed JSON. We have a retry-loop flow here, too, that on failure retries the post five times. So these additional routes also allowed me to see in provenance one of the files that failed with the above error eventually went through.
I'm looking for any insight on why this might be happening.
About = niagarafiles 11.31.0 based on Apache NiFi 1.26.0a
Created 05-13-2025 09:02 AM
@noncitizen
Can you share your PostHTTP and ListenHTTP processor configurations and scheduling?
What is the volume of FlowFiles queued to the PostHTTP?
How many PostHTTP processors sending to same ListenHTTP?
Does ListenHTTP outbound connection queue fill resulting in backpressure being applied on the ListenHTTP?
Since this is a sporadic issue, trying to get a better idea of setup and conditions at time of issue.
Thanks,
Matt
Created 05-13-2025 09:47 AM
This is on an isolated system, so screenshots are, well, not impossible, but very difficult.
PostHTTP (if not listed, it has "No value set"):
ListenHTTP:
This particular ListenHTTP receives from both PostHTTP processors in the same instance, in other instances we own, and from many external sources. Yes, it gets hammered all day long.
Under normal circumstances, there is no back pressure on the ListenHTTP processor. It only occurs if there is some bottleneck downstream because of some condition not handled gracefully that might cause queues to back up, but that has occurred very rarely.
Thanks for your input!