You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Raúl (Jira)" <ji...@apache.org> on 2020/03/10 15:44:00 UTC

[jira] [Created] (NIFI-7243) SFTP Processors - Exhausted available authentication methods

Raúl created NIFI-7243:
--------------------------

             Summary: SFTP Processors - Exhausted available authentication methods
                 Key: NIFI-7243
                 URL: https://issues.apache.org/jira/browse/NIFI-7243
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 1.11.3, 1.11.1, 1.11.0, 1.10.0
         Environment: PRO
            Reporter: Raúl


In version 1.8 this works correctly. In superiors no.

 

Any of the processors: ListSFTP, FetchSFTP, GetSFTP, PutSFTP when connecting to an sftp shows the error:

2020-03-10 15:12:51,596 ERROR [Timer-Driven Process Thread-3] o.a.nifi.processors.standard.ListSFTP ListSFTP[id=af72555e-0170-1000-c80d-7e992c9de544] Failed to perform listing on remote host due to Exhausted available authentication methods: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods
 at net.schmizz.sshj.SSHClient.auth(SSHClient.java:230)

 

These tests that I commented have been made from nifi, both in windows and linux environment and fails in both.

   1 - Strict Host Key Checking: false

   2 - Strict Host Key Checking: true

        Host Key File: C:\Users\usuario\.ssh\known_hosts --> (ssh-rsa, ssh-dss and ecdsa-sha2-nistp256)

 

From the machines, both in windows and in linux, if an sftp is made from the command line it connects without problems. But with Nifi he fails to connect.

 

Any idea about how can I resolve this error? 

 

Thank you in advance,

-------------------------------------------- log -------------------------------------------------

2020-03-10 15:12:51,596 ERROR [Timer-Driven Process Thread-3] o.a.nifi.processors.standard.ListSFTP ListSFTP[id=af72555e-0170-1000-c80d-7e992c9de544] Failed to perform listing on remote host due to Exhausted available authentication methods: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods2020-03-10 15:12:51,596 ERROR [Timer-Driven Process Thread-3] o.a.nifi.processors.standard.ListSFTP ListSFTP[id=af72555e-0170-1000-c80d-7e992c9de544] Failed to perform listing on remote host due to 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:606) at org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:233) at org.apache.nifi.processors.standard.util.SFTPTransfer.getListing(SFTPTransfer.java:196) at org.apache.nifi.processors.standard.ListFileTransfer.performListing(ListFileTransfer.java:106) at org.apache.nifi.processors.standard.ListSFTP.performListing(ListSFTP.java:146) at org.apache.nifi.processor.util.list.AbstractListProcessor.listByTrackingTimestamps(AbstractListProcessor.java:472) at org.apache.nifi.processor.util.list.AbstractListProcessor.onTrigger(AbstractListProcessor.java:414) 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.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)2020-03-10 15:12:51,601 DEBUG [Timer-Driven Process Thread-3] o.a.nifi.processors.standard.ListSFTP ListSFTP[id=af72555e-0170-1000-c80d-7e992c9de544] has chosen to yield its resources; will not be scheduled to run again for 1000 milliseconds2020-03-10 15:12:51,603 TRACE [Timer-Driven Process Thread-3] o.a.n.c.r.StandardProcessSession StandardProcessSession[id=0] checkpointed, but no events were performed by this ProcessSession



--
This message was sent by Atlassian Jira
(v8.3.4#803005)