Hi All,
Below is the issue we face while usinf SFTP plugins.
The SFTP smart services are used in the application to receive files and post processing remove these files using Remove files over SFTP smart service. The process runs daily thrice where the files are picked up from different folders. The SFTP credentials , host , port used are same for all folders.
Initially , in production all the folders did not have files at the same time. The files came in at different times so the scheduelers receiving the files and its removal were not impacted. Now a new folder is added and the files come into these folders at the same time and the process model instance runs simultaneously for 2 folders and thats when the error occurs. Even though the PM errors out at the Remove files over SFTP with the error as - 'Error removing file in the remote server. See application server log for more details. Error Message: Specified file path is invalid. '. Actually the files are removed from the folder, but we keep getting the error from production everyday after the PM runs.
Also , while replicating the issue in the lower environments, the PM instances fail but with different error (below).
Error establishing SFTP connection. Confirm your hostname, username and password. See application server log for more details. Error Message: Session.connect: java.net.SocketException: Connection reset
Even though this error comes up, one file from each folder has been removed successfully.
The credentials used to receive and remove the files via SFTP are same. No changes are introduced to the process model for the new implementation. Please let me if anyone can help us on this issue.
Discussion posts and replies are publicly visible