n8n - 💡(How to fix) Fix Issues connecting to sftp servers

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Error Message

Describe the problem/error/question

What is the error message (if any)?

"Error: getConnection: getaddrinfo EAI_AGAIN files.autone.io",

  • error: all
RAW_BUFFERClick to expand / collapse

Describe the problem/error/question

I'm experiencing random errors connecting to sftp server. I have checked the credentials and the connection sometimes works, sometimes fails to verify.

The connection to server works 100% when using standard sftp client like FileZilla

For context, the sftp server I'm connecting to, changed host keys and IP a couple of days ago and we can see it has propagated already:

<img width="1433" height="1227" alt="Image" src="https://github.com/user-attachments/assets/77d59432-9b08-4b2d-a027-4eb2c6c09068" />

What is the error message (if any)?

Couldn’t connect with these settings getConnection: getaddrinfo EAI_AGAIN files.autone.io

Please share your workflow/screenshots/recording

<img width="1034" height="409" alt="Image" src="https://github.com/user-attachments/assets/ca58c584-33ec-436f-a11c-ddc222809178" /> <img width="987" height="305" alt="Image" src="https://github.com/user-attachments/assets/71e30edf-65fa-4260-88c5-cf04d10bde0c" />

https://github.com/user-attachments/assets/059b8b73-45a6-4a4a-b670-126cb24b87b0

Share the output returned by the last node

{ "errorMessage": "getConnection: getaddrinfo EAI_AGAIN files.autone.io", "errorDetails": {}, "n8nDetails": { "n8nVersion": "2.22.5 (Cloud)", "binaryDataMode": "filesystem", "stackTrace": [ "Error: getConnection: getaddrinfo EAI_AGAIN files.autone.io", " at Client.fn (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/ssh2-sftp-client/src/utils.js:74:22)", " at Client.emit (node:events:521:24)", " at Socket.<anonymous> (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/[email protected]/node_modules/ssh2/lib/client.js:805:12)", " at Socket.emit (node:events:509:28)", " at emitErrorNT (node:internal/streams/destroy:170:8)", " at emitErrorCloseNT (node:internal/streams/destroy:129:3)", " at processTicksAndRejections (node:internal/process/task_queues:90:21)" ] } }

<img width="2056" height="632" alt="Image" src="https://github.com/user-attachments/assets/f09d7617-4ff6-480b-9112-7976afef7b28" />

Debug info

core

  • hosted
  • n8nVersion: 2.22.5
  • platform: docker (cloud)
  • nodeJsVersion: 24.15.0
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: enterprise (sandbox)

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/148.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2026-05-29T09:21:29.722Z

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

n8n - 💡(How to fix) Fix Issues connecting to sftp servers