Support Questions

Find answers, ask questions, and share your expertise

ListSFTP auth failure

avatar
Rising Star

Hi

We are using NiFi API to create ListSFTP processor.

When trying to connect to remote host we get below error.

Caused by: net.schmizz.sshj.userauth.UserAuthException: Exhausted available authentication methods

When we update the "Password" manually in the processor it works fine.

We validated that the password value is sent with correct data but for some reason its not getting set using API.

Do we need to do anything extra for setting the password using API,

 

Thanks

 

1 ACCEPTED SOLUTION

avatar
Rising Star

@MattWho Was able to resolve the issue.

The issue was with the request we are sending which was missing the "Password" value.

Sorry for ticket.

View solution in original post

3 REPLIES 3

avatar
Master Mentor

@nifier 

Not much insight I can offer here without you sharing the full nifi-api request being made.

Are you using curl?
How are you passing your user authentication in the rest-api call?  (The exception you shared points at an authentication issue)

Thank you,

Matt

avatar
Rising Star

@MattWho We create all our processors using NiFi API.

For ListSFTP we pass remote SFTP user credential in our REST POST API

process-groups/{id}/processors

Looks like "Password" property which we pass in the POST request is not getting set correctly.

Thanks

 

avatar
Rising Star

@MattWho Was able to resolve the issue.

The issue was with the request we are sending which was missing the "Password" value.

Sorry for ticket.