You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Wiktor Kubicki (Jira)" <ji...@apache.org> on 2020/09/22 17:18:00 UTC
[jira] [Updated] (NIFI-7835) SFTP processors (maybe other too)
can't use proxy
[ https://issues.apache.org/jira/browse/NIFI-7835?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wiktor Kubicki updated NIFI-7835:
---------------------------------
Description:
Hello,
we tried use socks proxy configuration (with authorization) for listSFTP/fetchSFTP/getSFTP using processor configuration or Proxy Configuration Service. Each time we has got Getting java.net.SocketException: Malformed.
We did tcp dump and saw, that the user/password is not provided - user is same as system user rather than this one from configuration.
I've easly recreated issue on clean CentOS with java 8 and 11. Same problem was on NiFi 1.11.4 and 1.12.0.
I think the problem is due of using sshj, but can be wrong. Very similar issue is https://issues.apache.org/jira/browse/NIFI-7749 - probably with the same cause.
My workaround for sftp is using fuse-sftp and mount remote server as local share.
was:
Hello,
we tried use socks proxy configuration (with authorization) for listSFTP/fetchSFTP/getSFTP using processor configuration or Proxy Configuration Service. Each time we has got Getting java.net.SocketException: Malformed.
We did tcp dump and saw, that the user/password is not provided - user is same as system user rather than this one from configuration.
I've easly recreated issue on clean CentOS with java 8 and 11. Same problem was on NiFi 1.11.4 and 1.12.0.
I think the problem is due of using sshj, but can be wrong. Very close issue is https://issues.apache.org/jira/browse/NIFI-7749 - probably with the same cause.
My workaround for sftp is using fuse-sftp and mount remote server as local share.
> SFTP processors (maybe other too) can't use proxy
> -------------------------------------------------
>
> Key: NIFI-7835
> URL: https://issues.apache.org/jira/browse/NIFI-7835
> Project: Apache NiFi
> Issue Type: Bug
> Affects Versions: 1.12.0, 1.11.4
> Environment: CentOS 7, Java 8 and 11, standalone Nifi
> Reporter: Wiktor Kubicki
> Priority: Major
>
> Hello,
> we tried use socks proxy configuration (with authorization) for listSFTP/fetchSFTP/getSFTP using processor configuration or Proxy Configuration Service. Each time we has got Getting java.net.SocketException: Malformed.
> We did tcp dump and saw, that the user/password is not provided - user is same as system user rather than this one from configuration.
> I've easly recreated issue on clean CentOS with java 8 and 11. Same problem was on NiFi 1.11.4 and 1.12.0.
> I think the problem is due of using sshj, but can be wrong. Very similar issue is https://issues.apache.org/jira/browse/NIFI-7749 - probably with the same cause.
>
> My workaround for sftp is using fuse-sftp and mount remote server as local share.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)