I have been following the Python API development course on youtube directed by sanjeev and have been loving it.
Unfortunately I have run into an error that I can not solve - at 12:01:00 sanjeev uses heroku to run “alembic upgrade head” in order to produce the db tables on application server, and when I follow this example I get the following errors:
sqlalchemy.exc.OperationalError: (psycopg2.OperationalError) connection to server at “ec2-184-73-25-2.compute-1.amazonaws.com” (18.104.22.168), port 5432 failed: FATAL: password authentication failed for user “nkcxwxawjxpqpv”
connection to server at “ec2-184-73-25-2.compute-1.amazonaws.com” (22.214.171.124), port 5432 failed: FATAL: no pg_hba.conf entry for host “126.96.36.199”, user “nkcxwxawjxpqpv”, database “d1ask0mcjsl2te”, SSL off
I have done everything I can to find the problem, looked over all the environment variables set in heroku and still cannot find the problem.
Please let me know if anyone has any ideas for solving this problem.