environment syncing
shakhboz02
HOBBYOP
3 months ago
I created a new environment(xozmag), and synced services, unfortunately, server gives a db connection error: https://sam-nerj-xozmag.up.railway.app/, i checked both service variables, and could not reach out what was happening
2 Replies
Railway
BOT
3 months ago
Hey there! We've found the following might help you get unblocked faster:
If you find the answer from one of these, please let us know by solving the thread!
bytekeim
PRO
3 months ago
i think the database connection error in your new "xozmag" environment almost certainly comes from using a static (hardcoded) public DATABASE_URL instead of a reference variable like ${{Postgres.DATABASE_URL}}