Testing connection throwing 504 Timeout on self hosted n8n using docker

I have self-hosted the n8n in the EC2 instance, trying to connect to my DB. However, it has been throwing a 504 gateway timeout, and unable to create any flow due to this

Error

API : /rest/credentials/test
Response : 504 Gateway Time-out

Information on your n8n setup

  • n8n version: - 1.57.0
  • Database (default: SQLite): - Connecting to Postgresql
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): - Docker
  • Operating system: - Ubuntu

Hey @Sangeetha,

Welcome to the community :tada:

Are there any errors in the n8n console? The 504 would suggest something is possibly not configured correctly.

Hey @Jon
I am getting the following error. However this seems to be the standard Axios error happens on 504

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