Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

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.