Describe the problem/error/question
Hello, I’m building an internal EDI workflow that utilises the FTP nodes. When attempting to connect to a partners FTP server (via SFTP), the node returns an “end: No SFTP connection available” error output after approximately 40 - 60 seconds. Note that in another step of the workflow i am connecting to an FTP server (also via SFTP) of our own, with no issues.
The only key difference between the FTP nodes in the workflow is the credentials that connect to our FTP server and the partners FTP server. Ours it is currently setup for password based authentication, whereas the partners FTP server is using key based authentication.
I am able to connect to the partners FTP server using other programs, for example, ForkLift.
The key type used to authenticate with the partners FTP server is rsa-sha2-256.
What is the error message (if any)?
{
"errorMessage": "end: No SFTP connection available",
"errorDetails": {},
"n8nDetails": {
"n8nVersion": "1.39.1 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"Error: end: No SFTP connection available",
" at fmtError (/usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/utils.js:55:18)",
" at haveConnection (/usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/utils.js:319:20)",
" at /usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/index.js:1226:11",
" at new Promise (<anonymous>)",
" at SftpClient.end (/usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/index.js:1217:12)",
" at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Ftp/Ftp.node.js:680:28)",
" at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:660:53",
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1062:20"
]
}
}
Information on your n8n setup
- n8n version: 1.39.1
- Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
- Operating system: n8nio/n8n:1.39.1