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

SFTP is failing to connect to Remote host

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Duplicate
    • 1.11.3
    • None
    • Extensions
    • None
    • NiFi 1.11.3 installed on Windows 10.

    Description

      GetSFTP processor is failing to validate the host key. the log file reads below:

      ERROR [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.GetSFTP GetSFTP[id=f782e1ab-0171-1000-f3a7-04d2f80263a4] Unable to fetch listing from remote server due to net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methodsERROR [Timer-Driven Process Thread-4] o.a.nifi.processors.standard.GetSFTP GetSFTP[id=f782e1ab-0171-1000-f3a7-04d2f80263a4] Unable to fetch listing from remote server due to net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methodsnet.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods at net.schmizz.sshj.SSHClient.auth(SSHClient.java:230) at org.apache.nifi.processors.standard.util.SFTPTransfer.getSFTPClient(SFTPTransfer.java:602) at org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:230) at org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:193) at org.apache.nifi.processors.standard.GetFileTransfer.fetchListing(GetFileTransfer.java:284) at org.apache.nifi.processors.standard.GetFileTransfer.onTrigger(GetFileTransfer.java:127) at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1176) at org.apache.nifi.controller.tasks.ConnectableTask.invoke(ConnectableTask.java:213) at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:117) at org.apache.nifi.engine.FlowEngine$2.run(FlowEngine.java:110) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:830)

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kmir_nifi KiMi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: