Mongodb credentials getting "getaddrinfo EAI_AGAIN" error

Greetings, i’d love if anyone could help…

I had a Mongo credentials in a local n8n, version 1.32.2 on a Ubuntu 22.04 running with docker, that was working good…

Yesterday night (local time), I moved that Mongo to dedicated server that I already had with MySQL, then I changed the DNS in Cloudflare, after that I started having the error bellow:

Couldn’t connect with these settings
getaddrinfo EAI_AGAIN db6

I also tested in a VPS running 1.47.2 (Ubuntu 22.04 with docker), same error.

Any help how to fix?

Tks,
Thiago

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Hi @thiagof

Can you check what db6 resolves to? You would want it to resolve to the mongodb instance you are trying to use. Does it work when using the full url ?

Tks for the reply… but after trying hard I gave up and wrote a C# API to do what I wanted.

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