Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-7835

SFTP Processors not working with authenticated SOCKS proxy

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.12.0, 1.11.4, 1.13.0, 1.12.1, 1.14.0, 1.13.1, 1.13.2, 1.15.0
    • 1.16.0, 1.15.3
    • None
    • None
    • CentOS 7, Java 8 and 11, standalone Nifi

    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.

       

      Attachments

        Issue Links

          Activity

            People

              exceptionfactory David Handermann
              Kirhold Wiktor Kubicki
              Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m