Problem with connection database in deploy
Hi, i have a problem with deploy, i use prisma ORM, with NestJS, and he's show me this log error:
$ /app/node_modules/.bin/prisma migrate deploy
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "railway", schema "public" at "-----railway.internal:5432"
Error: P1001: Can't reach database server at
------.railway.internal
:5432
Please make sure your database server is running at -------.railway.internal
:5432
.
error Command failed with exit code 1.55 Replies
Project ID:
N/A
N/A
what's with the ------
the name from my service, i using internal database url
why is your service named ------
i'm only hidden the name, but he's: postgres-windelback.railway.internal
it's not sensitive information fwiw
ok
is postgres in the same project of the service that's trying to connect to it
yes
please read this docs section https://docs.railway.app/guides/private-networking#initialization-time
ok, so my command to start application is this now
its work?
yeah looks good
ok, txs
other topic.
i'm using template to uptime kuma, and i create a subdomain to this, but the ssl is not working very good
https://monitor.windel.com.br/
who is your domain dns provider?
he's redirect me to certificate railway.app
i don't know, but i trying discover this
show me your dns settings for that domain please
i'm not access to our dns
but other urls working normally, all services that i deploy, working
but this not work, i dont know why
^
i send to you in pv
#🛂|readme #5
we using this configuration
okay and show me the dns settings in your dns provider
i'm trying get a print from dns settings.
normally is make like this
please remove the red, this is not sensitive information
ok
send that domain in a clickable format please
ok
instead winsocket-develop, is https://monitor.windel.com.br
with this cname: kdcrvfsv.up.railway.app
the screenshot shows a different domain than what you just sent
yeah, i not have a screenshot from this domain, because the sysadmin is not answering me, but the config is like this
please be clear and concise here, what domain are you having issues with?
certificate ssl, is show me this using google chrome
how long ago did you set that up
if i try see other domain with this same config, he show me like this
today, 9 hours ago
show me the dns settings for monitor.windel.com.br please
@Brody Can you help me?
show me the domain in railway
Solution
remove it, and then re-add it without touching any dns settings
i need remove both domains?
or only monitor?
only your custom
ok
i will need for my coworker update it, and tomorrow i'll let you know if it worked or not
as i just mentioned, without touching any dns settings
ok
Status Api's Windel
Monitor do Status das API's da Windel
oh, its works now
😍