I am running Supabase and N8n but I am not able to create credentials for supabase , I am getting
ERRConnect Refused - http://127.0.0.1:54321
connect ECONNREFUSED 127.0.0.1:54321
The service refused the connection - perhaps it is offline
Information on your n8n setup
**n8n version:1.97.1
Database (default: SQLite):
n8n EXECUTIONS_PROCESS setting (default: own, main):
**Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
**Operating system: MAC os
If your setup involves Docker, I doubt that you run Supabase in the same container as N8N, which means that 127.0.0.1 is not going to work. In the Credentials, use the name of the supabase container from docker file (assuming this is how you bring up your infrastructure).
1 Like
I have this issue, I am using URL and Secret Key from my project, but still there. my environment is running in docker.
Yo tengo este problema intento con la url y el secret key pero el problema persiste, mi ambiente esta funcionando en docker.
ApreciarĂa la ayuda
jabbson
September 11, 2025, 2:08pm
4
What does it say when you click on “More details”?
The connection cannot be established, this usually occurs due to an incorrect host (domain) value
jabbson
September 12, 2025, 2:29pm
6
Could you tell us more about the http://supabase:5432 ? Is it also a container in docker? Are you using docker compose? Could you show us the config?