Overview
Contains multiple Smart Services for interacting with a remote file server via SFTP, FTP, or SCP. Using these services, an Appian application can be configured to send and receive files, folders, and metadata in a process. Features support for zlib compression.
Key Features & Functionality
Smart Services included:
All smart services in the package use Secure Credentials Store.
Hello, I am kindly requesting assistance with SFTP (Basic Credentials) plug-in.
Over the course of several months, our application's success rate with this plug-in has decreased to less than 5%. We are on a cloud based application with different environment levels. In our TEST environment, we have never had issues connecting to the intended TEST server utilizing this plug-in. We have also tested connecting from our TEST environment to our PRODUCTION intended server file path, with success. However, when we try to connect to this PRODUCTION Server from our PRODUCTION environment utilizing this smart service, we are experiencing a very, very high failure rate. Note: This SFTP smart service is executed in a Process after a user has submitted a form.
When the Send File SFTP (Basic Credentials) node is executed, we are able to establish a connection with the server (the username and password are accepted), a session is established and is open for ~10 minutes; however, the file gets sent over as blank with the error below.
I have attached a screenshot of a log of a failed attempt. The PM error we always receive is the same:
Error transferring file 4: java.io.IOException: inputstream is closed
Note: we have also attempted to send files that were generated hours / days prior to ensure that the document is in the Knowledge Center and that it does, in fact, contain data.
I also want to inform that we are utilizing another smart service from this plug-in, Receive file from SFTP (Basic Credentials), and this is executed nightly. We have no failure rate with this plug-in component, in any environment.
Other points to note regarding our troubleshooting efforts:
1. We have implemented a timer that executes after the creation of the files to further ensure document(s) are generated.
2. Files are generated in a sub-process; thus, the smart service(s) creating the files must execute before the process finishes and moves forward in the parent. Files are also generated independently (one at a time) utilizing a smart service (Text Doc from Template), then these files are merged into an array of documents before exiting the sub-process. After sub-process has completed, the timer is executed ensuring delay in order to make sure generation is complete, which is beyond in the flow of the process.
3. The size of these text files are also very very small (avg. size is 5Kb). Never a file has been over 30Kb. The server being connected to has no file size limitations in place. All files being sent are always same extension (.txt)
4. Our IP addresses are ensured that they're being accepted by the target server's firewall.
Assistance to what logs to activate regarding further troubleshooting or other troubleshooting assistance is very much requested and appreciated. Thank you very much.
Also would like to mention that we're on the latest version of this Plug-In 2.2.1