Issues with connection
Hi, guys! I bought pro plan
And moved server to another location, and now I am having connection issues?
39 Replies
Project ID:
N/A
Can you provide more specific detail on what issues did you encounter?
So, the url to connect is the same right?
PrismaClientInitializationError: Can't reach database server at
postgres.railway.internal
:5432
We are getting that error on startcan you try adding a 3 second sleep to your start command?
this is potentially a known issue
it could be doing migrations too
you can check db logs see that
So I just moved the service
existing one with the data
to a pro plan team
So it connects
server works and then it failes again
could it be sleep issue?
the database is in the same project, correct?
No
then you will never be able to connect to it via the private network
the private network is scoped to the same project and same environment
either move the database into the same project manually, or use it's public url
guys
it connects
and then disconnects
I am receiving some requests
And then it fails
please show a screenshot of your railway project
Can we make a call?
we both are only people from the community
yep. the team is on vacation rn
please send the screenshot
)
How to make a dump
I will then do manual deploy
I cant connect
even
š
respectfully, you seen to be ignoring my request for a screenshot, neither of us work for railway so a screenshot helps us get a better understanding of what's going on in your project
if you have sensitive information like domains displayed in the screenshot you are more than welcome to block them out
do you need logs or what?
let's start with a screenshot please
my mistake, I should have specified that I would like an uncropped screenshot of the browsers viewport
you do indeed have the database in a separate project, you for sure can not use it's private domain. you need to use it's public domain
or move it to the same project
which would be better in the long run
guys, I only need database on the railway
For now
hey now let's not overcomplicate this
then we should've started from this
then public address is the solution
yes public address
Okay trying
Thanks
anyway
I am connecting the same as before moving
to another project
leterally was not changing anything
have you tried the public address
Yes
I was using that before
it works works
after 5mins stops
backend tries to reconnect
20 secs - then it works again 5 mins
can you replicate this behavior locally?
2023-12-28 17:30:32.322 UTC [53] LOG: could not receive data from client: Connection reset by peer
Yes
locally the same
have you tried restarting the database?
Yes
Where I can check postgres version?
whats the source image of the service
GitHub
Build software better, together
GitHub is where people build software. More than 100 million people use GitHub to discover, fork, and contribute to over 420 million projects.
then its version 16