I’m trying to connect a Flask web service to a Postgres database. My most recent deploy appears to have failed:
Deploy failed for [`aa672f7`]: Switched Postgres port to env variable.
But when I look at the logs, the web service appears to be running:
Jun 20 08:26:30 AM postgresql+psycopg2://rylan:5XEACNVEeEtAc5GGPSPaiXYZBbI5WtnC@dpg-canr9ionlki6mmidk0g0-a:5432/deus_postgres_db
Jun 20 08:26:32 AM * Running on http://127.0.0.1:5000 (Press CTRL+C to quit)
I’m new to Render. Can someone tell me how I should go about debugging this apparent discrepancy?
@RylanSchaeffer It appears to me that you’ve shared the connection string / URL of your database in the logs from your first comment. I’d recommend to invalidate that URL in your backoffice.