Felix Reuthlinger created NIFI-2882:
---------------------------------------

             Summary: InvokeHTTP unexpected end of stream on null
                 Key: NIFI-2882
                 URL: https://issues.apache.org/jira/browse/NIFI-2882
             Project: Apache NiFi
          Issue Type: Bug
    Affects Versions: 1.0.0
            Reporter: Felix Reuthlinger


While trying to use the InvokeHTTP I constantly get errors telling that the 
transport stream might somehow be corrupt. As far as I tried to lookup this 
issue I did not find an answer about something being misconfigured at my side. 
The URL I am trying to call works fine when entering it to a Browser. It's a 
simple GET with some parameters on a static Cloud storage.

2016-10-10 17:30:27,125 ERROR [Timer-Driven Process Thread-10] 
o.a.nifi.processors.standard.InvokeHTTP
java.io.IOException: unexpected end of stream on null
        at 
com.squareup.okhttp.internal.http.Http1xStream.readResponse(Http1xStream.java:201)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.io.RealConnection.createTunnel(RealConnection.java:245)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.io.RealConnection.connectTls(RealConnection.java:168)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.io.RealConnection.connectSocket(RealConnection.java:145)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.io.RealConnection.connect(RealConnection.java:108) 
~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.http.StreamAllocation.findConnection(StreamAllocation.java:184)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.http.StreamAllocation.findHealthyConnection(StreamAllocation.java:126)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.http.StreamAllocation.newStream(StreamAllocation.java:95)
 ~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:283) 
~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:224) 
~[okhttp-2.7.1.jar:na]
        at com.squareup.okhttp.Call.getResponse(Call.java:286) 
~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.java:243) 
~[okhttp-2.7.1.jar:na]
        at 
com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java:205) 
~[okhttp-2.7.1.jar:na]
        at com.squareup.okhttp.Call.execute(Call.java:80) ~[okhttp-2.7.1.jar:na]
        at 
org.apache.nifi.processors.standard.InvokeHTTP.onTrigger(InvokeHTTP.java:624) 
~[nifi-standard-processors-1.0.0.jar:1.0.0]
        at 
org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27)
 [nifi-api-1.0.0.jar:1.0.0]
        at 
org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1064)
 [nifi-framework-core-1.0.0.jar:1.0.0]
        at 
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136)
 [nifi-framework-core-1.0.0.jar:1.0.0]
        at 
org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47)
 [nifi-framework-core-1.0.0.jar:1.0.0]
        at 
org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132)
 [nifi-framework-core-1.0.0.jar:1.0.0]
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) 
[na:1.8.0_102]
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) 
[na:1.8.0_102]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
 [na:1.8.0_102]
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
 [na:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) 
[na:1.8.0_102]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) 
[na:1.8.0_102]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_102]
Caused by: java.io.EOFException: \n not found: size=0 content=...
        at 
okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:201) 
~[okio-1.6.0.jar:na]
        at 
com.squareup.okhttp.internal.http.Http1xStream.readResponse(Http1xStream.java:186)
 ~[okhttp-2.7.1.jar:na]
        ... 26 common frames omitted




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to