A few days ago, the connection to some FTP servers suddenly stopped working in my workflows. Everything worked perfectly before.
Affected are the FTP servers I normally use to log in with SFTP on port 22.
When I start the FTP node or start the workflow, the FTP process runs indefinitely without an error message.
When saving the connection with port 22, the saving also runs indefinitely but the entry is created. If I change the port to 21 (which also works perfectly via Filezilla) then the message “Connection tested successfully” appears when saving. If I then start the FTP module, the following error message appears:
Error: Unknown command
at makeError (/home/user/.nvm/versions/node/v18.19.0/lib/node_modules/n8n/node_modules/@icetee/ftp/lib/connection.js:1128:13)
at Parser.<anonymous> (/home/user/.nvm/versions/node/v18.19.0/lib/node_modules/n8n/node_modules/@icetee/ftp/lib/connection.js:122:25)
at Parser.emit (node:events:517:28)
at Parser.emit (node:domain:489:12)
at Parser._write (/home/user/.nvm/versions/node/v18.19.0/lib/node_modules/n8n/node_modules/@icetee/ftp/lib/parser.js:61:10)
at writeOrBuffer (node:internal/streams/writable:392:12)
at _write (node:internal/streams/writable:333:10)
at Parser.Writable.write (node:internal/streams/writable:337:10)
at Socket.ondata (/home/user/.nvm/versions/node/v18.19.0/lib/node_modules/n8n/node_modules/@icetee/ftp/lib/connection.js:298:20)
at Socket.emit (node:events:517:28)
at Socket.emit (node:domain:489:12)
at addChunk (node:internal/streams/readable:368:12)
at readableAddChunk (node:internal/streams/readable:341:9)
at Socket.Readable.push (node:internal/streams/readable:278:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
Please let me know if I should provide more information. Unfortunately I have not found a log.
Information on your n8n setup
- n8n version: 1.26.0
- Database (default: SQLite): MySQL
- n8n EXECUTIONS_PROCESS setting (default: own, main): manual
- Running n8n via (Docker, npm, n8n cloud, desktop app): npm
- Operating system: Ubuntu 22 LTS