Github user markap14 commented on the issue:

    https://github.com/apache/nifi/pull/497
  
    @ijokarumawak I can't seem to get this to work properly. I configured nifi 
to allow http site-to-site only, not secure. I then connected a 
GenerateFlowFile processor to a Remote Process Group that points back to 
http://localhost:8080/nifi with the only port that I have. I ensured that the 
port was running and transferring data to an UpdateAttribute processor that 
ends the flow. When I start sending data to the RPG, though, no data is sent, 
and the logs show the following every 60 seconds:
    
    ```
    2016-06-07 12:14:44,902 WARN [I/O dispatcher 89] 
o.a.n.r.util.SiteToSiteRestApiClient Didn't received additional packet to send, 
nor confirm transaction call for 30001 millis which exceeds idle connection 
expiration millis(30000). This transaction will timeout.
    2016-06-07 12:14:44,902 ERROR [I/O dispatcher 89] 
o.a.n.r.util.SiteToSiteRestApiClient Sending data to 
http://127.0.0.1:8080/nifi-api/site-to-site/input-ports/84cd8e54-68ba-41ff-a1a3-ffc445836a8f/transactions/dddd06ca-3912-4a8f-9e81-fff68d8c0e96/flow-files
 has failed
    java.io.IOException: Didn't received additional packet to send, nor confirm 
transaction call for 30001 millis
        at 
org.apache.nifi.remote.util.SiteToSiteRestApiClient$3.produceContent(SiteToSiteRestApiClient.java:504)
 ~[nifi-site-to-site-client-1.0.0-SNAPSHOT.jar:1.0.0-SNAPSHOT]
        at 
org.apache.http.impl.nio.client.MainClientExec.produceContent(MainClientExec.java:262)
 ~[httpasyncclient-4.1.1.jar:4.1.1]
        at 
org.apache.http.impl.nio.client.DefaultClientExchangeHandlerImpl.produceContent(DefaultClientExchangeHandlerImpl.java:136)
 ~[httpasyncclient-4.1.1.jar:4.1.1]
        at 
org.apache.http.nio.protocol.HttpAsyncRequestExecutor.outputReady(HttpAsyncRequestExecutor.java:240)
 ~[httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.DefaultNHttpClientConnection.produceOutput(DefaultNHttpClientConnection.java:292)
 ~[httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onOutputReady(InternalIODispatch.java:86)
 [httpasyncclient-4.1.1.jar:4.1.1]
        at 
org.apache.http.impl.nio.client.InternalIODispatch.onOutputReady(InternalIODispatch.java:39)
 [httpasyncclient-4.1.1.jar:4.1.1]
        at 
org.apache.http.impl.nio.reactor.AbstractIODispatch.outputReady(AbstractIODispatch.java:147)
 [httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.writable(BaseIOReactor.java:190) 
[httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvent(AbstractIOReactor.java:343)
 [httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.processEvents(AbstractIOReactor.java:317)
 [httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.AbstractIOReactor.execute(AbstractIOReactor.java:278)
 [httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.BaseIOReactor.execute(BaseIOReactor.java:106) 
[httpcore-nio-4.4.4.jar:4.4.4]
        at 
org.apache.http.impl.nio.reactor.AbstractMultiworkerIOReactor$Worker.run(AbstractMultiworkerIOReactor.java:590)
 [httpcore-nio-4.4.4.jar:4.4.4]
        at java.lang.Thread.run(Thread.java:745) [na:1.8.0_60]
    ```


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to