Inference API timeout connecting to PostgreSQL after firewall rule update
Problem Description The inference API service, built with FastAPI and using psycopg2/SQLAlchemy to query a PostgreSQL instance, started returning HTTP 504 timeouts after a recent firewall rule change. The API logs contain repeated connection errors such as: 2026-08-31 14:02:13,842 ERROR inference.api.handlers – could not connect to server: Connection timed out (0.00s) Is the server running … Read more