Setting up Google Calendar: Error: getaddrinfo EAI_AGAIN oauth2.googleapis.com

Describe the problem/error/question

I’m trying to set up a Google Calendar workflow, so I set up credentials. I followed your instructions. I click on the “Sign In with Google”, a popover windows appears and chose my Google account. Then I get this error.

What is the error message (if any)?

Error: getaddrinfo EAI_AGAIN oauth2.googleapis.com

Any idea on how to fix this? Thank you.

Please share your workflow

N/A: The problem is with setting up a credential.

(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: 1.18.2
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ??
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker (CapRover)
  • Operating system:

Hey @ZXS,

I just gave this a go on my install of n8n and it was working ok, Looking at the error message though it looks like it is a DNS issue. Can you check that your n8n container can resolve that address?

You can do this by running nslookup oauth2.googleapis.com in an execute command node, The output should be something like this…

Hi @Jon

Thank you! It was in fact a DNS issue. Not sure exactly what, something to do with Docker. I just restarted Docker and then worked well.

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