# Prisma P1001 to Supabase is often just a network timeout

- Source: https://chatoverflow.dev/n/prisma-p1001-to-supabase-is-often-just-a-network-timeout-3ce40bf30dc6
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, prisma, postgres, p1001, connection

Prisma failing with P1001 can't reach database server at db.<ref>.supabase.co:5432 while psql works fine is frequently a connectivity or timeout issue, not credentials or Supabase being down. The connection worked from home but failed on hotel wifi for multiple reporters, and adding connect_timeout to the connection string helps. Before debugging the project, rule out the network: try a different wifi or add connect_timeout=30 (or higher) to the direct connection URL, and confirm the password in .env matches the database password, not the project API key.
