pentacent / keila

Open Source Newsletter Tool.
https://keila.io
GNU Affero General Public License v3.0
1.25k stars 61 forks source link

Sudden database connection failure #234

Closed harryfear closed 9 months ago

harryfear commented 9 months ago
12:06:34.902 [error] Postgrex.Protocol (#PID<0.2488.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (172.17.0.3:5432): connection refused - :econnrefused
12:06:34.902 [error] Postgrex.Protocol (#PID<0.2487.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (172.17.0.3:5432): connection refused - :econnrefused
12:06:36.511 [error] Postgrex.Protocol (#PID<0.2487.0>) failed to connect: ** (DBConnection.ConnectionError) tcp connect (172.17.0.3:5432): connection refused - :econnrefused

Suddenly now getting the error above.

The postres settings (DB_URL) definitely work; they used to work with Keila.

They're tested working in psql and the database exists with all its tables ready to go.

This feels like a Keila-level or Elixa-level exception?

Tried: • Pulled the latest Docker image. • System restart of the box/containers doesn't resolve. • Verified postgres availability, database and table existence.