Google Oauth redirect times out

I have the last version of n8n installed in a Hetzner VPS with Docker, I’m able to connect to APIs but not to google service via Oauth, the google account is from workspaces, I have setup the cloud service for internal use, there is no URI missmatch, I’m able to get to the scopes screen but it keeps stuck when I click authorize, tried in different browsers, incognito, and VPN and the result is the same.

When I open the inspector console I get a: Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
if I follow the url it says: Your client has issued a malformed or illegal request. That’s all we know.

Information on my n8n setup

  • n8n version: 1.63.4
  • Database (default: SQLite):
  • Running n8n via Docker
  • Hetzner VPS with firewall disabled

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:

Turned out it was my VPS configuration, if you setup a VPS and you are getting errors connecting to services via oauth or connecting webhooks, make sure that the webhook urls created in n8n dont include the port number, that was the problem for me, the fix was to reconfigure the docker-compose.yml file and the nginx configuration file (I used Claude to help me)

1 Like

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