[
https://issues.apache.org/jira/browse/NIFI-2525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15434953#comment-15434953
]
ASF GitHub Bot commented on NIFI-2525:
--------------------------------------
Github user markap14 commented on the issue:
https://github.com/apache/nifi/pull/915
I've reviewed the code here, and from the perspective of a code review I am
a +1. I have not yet had a chance to test this, though. Will try to get to that
today. If anyone else has a chance to review functionality, that would be
great, as well.
> HTTP Site-to-Site fails with java.nio.channels.AsynchronousCloseException
> when sending through proxy that requires authentication
> ---------------------------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-2525
> URL: https://issues.apache.org/jira/browse/NIFI-2525
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.0.0
> Reporter: Koji Kawamura
> Fix For: 1.0.0
>
>
> Pulling data using Remote Process Group from output port works.
> However, pushing data using Remote Process Group to input port fails with
> AsynchronousCloseException.
> A RPG sends data via POST, then a proxy server returns 407: proxy auth
> required. After this, the RPG should resend the request with credential, but
> the data channel is already closed.
> Currently, it uses chunked encoding so that it can stream data to send.
> Sending actual data twice won't be efficient. We need to do the
> authentication before start reading flow-file stream.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)