Support Questions

Find answers, ask questions, and share your expertise

SFTP CLI works but PutSFTP fails

avatar
Contributor

We have VM server on which we have NiFi installed within the container.

When we try to connect using sftp command from within the docker it connects fine.

docker exec -it nifi bash

However when we try from NiFi PutSFTP processor, it fails with below error

Routing to failure since unable to transfer FlowFile[filename=TGT_TEST28042026.csv] to remote host sftp.AAAAA.com:
net. schmizz. sshj. transport. TransportException: Connection reset
- Caused by: java.net.SocketException: Connection

How and where do I get more details logs ?

Also, is sftp command and NiFi PutSFTP works differently ?

This is similar to my previous  post

https://community.cloudera.com/t5/Support-Questions/SFTP-CLI-works-but-PutSFTP-fails/td-p/413903

But this time vendor has whitelisted the IP and we are able to connect from within docker on which Nifi is running.

Thanks

Gautam P

0 REPLIES 0