[
https://issues.apache.org/jira/browse/NIFI-7899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann resolved NIFI-7899.
------------------------------------
Fix Version/s: 1.13.0
Resolution: Fixed
This sounds related to the following issue with OkHttp 3.8.1, which NiFi 1.12.1
and earlier depended on for InvokeHTTP:
[https://github.com/square/okhttp/issues/3483]
NiFi 1.13.0 included an update for OkHttp 4.9.0, which addressed that issue,
along with a number of other improvements.
A new issue can be opened if similar issues are discovered with more recent
NiFi releases.
> InvokeHTTP does not timeout
> ---------------------------
>
> Key: NIFI-7899
> URL: https://issues.apache.org/jira/browse/NIFI-7899
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.11.4
> Environment: Ubuntu 18.04. Nifi 1.11.4.
> 4 core, 8GB mem. Java set to 4GB mem
> Reporter: Jens M Kofoed
> Priority: Major
> Fix For: 1.13.0
>
>
> We have some issues with the InvokeHTTP process. It "randomly" hangs in the
> process without timing out. The processor shows that there are 1 task running
> (upper right corner) and it can runs for hours without any outputs, but with
> multiply flowfiles in the queue.
> Trying to stop it takes forever so I have to terminate it. restart the
> processor and everything works fine for a long time. until next time it hangs.
> Our configuration of the process is as follow:
> Penalty: 30s, Yield: 1s,
> Scheduling: timer driven, Concurrent Task: 1, Run Schedule: 0, Run duration: > 0
> HTTP Method: GET
> Connection timeout: 5s
> Read timeout: 15s
> Idle Timeout: 5m
> Max idle Connection: 5
> I could not find any other bug reports here. but there are other people
> metion same issues:
> [https://webcache.googleusercontent.com/search?q=cache:LMqcymQiM-IJ:https://community.cloudera.com/t5/Support-Questions/InvokeHTTP-randomly-hangs/td-p/296184+&cd=1&hl=da&ct=clnk&gl=dk]
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)