Error 504 timeout after trying to login when connecting gmail to n8n (locally)

I’m using n8n locally (by doing npx n8n start --tunnel) and when connecting Gmail to it I’m having trouble as in the login part (after putting the client id and secret) it just gives me “504 Gateway Time-out”

n8n version 1.70.3 on windows 11

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 @Ricardo_T

Welcome to the community! Might be an issue communicating with google’s endpoint to validate your credentials. Can you see if it works on our cloud or a different method (e.g. docker)?

If it fails to work on cloud as well it might be some issue with your credentials. What action are you trying to in the gmail node?

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