akvo / akvo-reportserver

An instance of ReportServer dockerized
GNU Affero General Public License v3.0
0 stars 0 forks source link

ReportServer does not start if Cloud SQL sidecar is slow #17

Closed dlebrero closed 4 years ago

dlebrero commented 4 years ago

If ReportServer starts before the Cloud SQL sidecar is ready, the ReportServer starts but in an invalid state, which it does not automatically recover from.

 Connection Test: Failed (Connection to localhost:5432 refused. Check that the hostname and port are correct and that the postmaster is accepting TCP/IP connections.)

In this state, health checks from StackDriver and Kubernetes are passing but ReportServer is not working.

dlebrero commented 4 years ago

Fixed