You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by Vijay Chhipa <vc...@apple.com> on 2019/11/04 15:28:38 UTC
Re: invokehttp timeout
Michael,
Just to rule out timeouts set along the network hops, can you use cURL or Postman to ensure that you can make this call successfully from the host that's running NiFi?
Vijay
> On Oct 30, 2019, at 1:52 PM, Michael Di Domenico <md...@gmail.com> wrote:
>
> i'm trying to use invokehttp to post a file to a webserver. for
> smaller files this seems to work just fine, but i try to send a larger
> file, i get snagged with this
>
> 2019-10-30 14:47:59,188 ERROR [Timer-Driven Process Thread-10]
> o.a.nifi.processors.standard.InvokeHTTP
> InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610] Routing to Failure
> due to exception:
> org.apache.nifi.processor.exception.ProcessException: IOException
> thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> java.net.SocketTimeoutException: timeout:
> org.apache.nifi.processor.exception.ProcessException: IOException
> thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> java.net.SocketTimeoutException: timeout
> org.apache.nifi.processor.exception.ProcessException: IOException
> thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> java.net.SocketTimeoutException: timeout
>
> i've lengthened the connect and read timeout in the properties to 1min
> and 1hrs respectively, but it doesn't seem to help.
>
> is there a setting i'm missing? I also semi-related, i need to ensure
> i get response from the webserver. however, the web server might take
> up 30 mins to respond. will invokehttp hold the connection open, if
> not is there a timeout setting somewhere?
Re: invokehttp timeout
Posted by Michael Di Domenico <md...@gmail.com>.
On Mon, Nov 4, 2019 at 10:28 AM Vijay Chhipa <vc...@apple.com> wrote:
>
> Just to rule out timeouts set along the network hops, can you use cURL or Postman to ensure that you can make this call successfully from the host that's running NiFi?
yes, using curl seems to work fine.
> > On Oct 30, 2019, at 1:52 PM, Michael Di Domenico <md...@gmail.com> wrote:
> >
> > i'm trying to use invokehttp to post a file to a webserver. for
> > smaller files this seems to work just fine, but i try to send a larger
> > file, i get snagged with this
> >
> > 2019-10-30 14:47:59,188 ERROR [Timer-Driven Process Thread-10]
> > o.a.nifi.processors.standard.InvokeHTTP
> > InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610] Routing to Failure
> > due to exception:
> > org.apache.nifi.processor.exception.ProcessException: IOException
> > thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> > java.net.SocketTimeoutException: timeout:
> > org.apache.nifi.processor.exception.ProcessException: IOException
> > thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> > java.net.SocketTimeoutException: timeout
> > org.apache.nifi.processor.exception.ProcessException: IOException
> > thrown from InvokeHTTP[id=a2046302-016a-1000-940e-07f6f5992610]:
> > java.net.SocketTimeoutException: timeout
> >
> > i've lengthened the connect and read timeout in the properties to 1min
> > and 1hrs respectively, but it doesn't seem to help.
> >
> > is there a setting i'm missing? I also semi-related, i need to ensure
> > i get response from the webserver. however, the web server might take
> > up 30 mins to respond. will invokehttp hold the connection open, if
> > not is there a timeout setting somewhere?
>