I have an app on Heroku which stores information in a Postgres database (Heroku Postgres :: Purple Crane). I often connect to this database pythonicly via python psycopg2. Lately, my psycopg connection gives an error:
OperationalError: could not translate host name "ec2-**-**-***-***.compute-1.amazonaws.com" to address: Name or service not known
Things I've done & know:
- verified the login credentials
- can connect and execute SQL queries via pg_admin3
- the app is up an running. no problems
I'm at a loss, so any advice would be appreciated!
google.com
reinforces that suspicion. – Lukas Graf Feb 16 at 11:58