No SFTP connection available USING SFTP Node

<Error details

Other info
n8n version
1.86.1 (Cloud)
Stack trace
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 () at SftpClient.end (/usr/local/lib/node_modules/n8n/node_modules/ssh2-sftp-client/src/index.js:1217:12) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Ftp/Ftp.node.js:756:20) at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:681:27) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:913:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1246:20

FTP

Parameters
Settings
Docs
Credential to connect with

Operation

Path

Recursive

I wish this node would…

Problem in node ‘FTP‘
end: No SFTP connection available
FTP | n8n Docs
Documentation for the FTP node in n8n, a workflow automation platform. Includes guidance on usage, and links to examples.
n
All the n8n ip whitelisting is done on SFTP and required ports are open. Same SFTP we are able to connect with all other applications. While creating Credentials Private key and Passphrase is automatically filling.

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hey @ilangovan.swamy hope all is well.

Could you tell us more about your setup. I see you are using cloud version of n8n. It is rather old (1.86.1 is well behind the latest).

What about your sftp server? Where is it connecting? A specific product or just a system you own? Is own system - is it windows or linux? Please tell us more.

sftp hosted in azure Windows VM and yes , we are able to connect sftp from every ware els except from N8N ftp Node, even we have allowed all given on Cloud IP addresses | n8n Docs

I am ok to connect on call .

Cloud IP addresses | n8n Docs

Documentation for n8n, a workflow automation platform.

Please take a look at the following topic:

There I have investigated the issue with a similar problem, where the outcome happened to be that the module used by n8n to connect to another server with ftp over ssh (sftp) fails due to the compatibility problem between the (third party) module and Windows servers.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.