Postgis is still down
Anonymous
TRIALOP

2 years ago

I still can't access the data, this is a screen shot of railway dashboard with the message:
Required Variables

Ensure that the following variables are configured

PGHOST
PGPORT
PGUSER
PGPASSWORD
PGDATABASE
DATABASE_URL

Even though the variables are all there. I tried to restart the database and it didn't work.
PGHOST postgis.railway.internal

Solved

21 Replies

Anonymous
TRIALOP

2 years ago

project id 3a9f8924-05c3-439a-9262-3a35e76d3070


2 years ago

the data tab needs to be able to access the database via the public network but you have those values populated with private networking values, that won't work.

Instead, deploy the dbgate template into your project and use it to manage your database as it's going to offer a far better experience than the data tab will


Anonymous
TRIALOP

2 years ago

I didn’t change anything in my vars that’s my point about the issue.


Anonymous
TRIALOP

2 years ago

The database has data that i need.


2 years ago

is the database crashed?


Anonymous
TRIALOP

2 years ago

The nodejs app can’t connect to it.


Anonymous
TRIALOP

2 years ago

I’m out of office and can’t check for a few hours.


2 years ago

okay let me know when you are back and we can pick this up


Anonymous
TRIALOP

2 years ago

i changed the vars to railway public and set the public port, it worked in my table plus and was able to connect to the database. But the app and the data ui are not able to connect to the database. What might be the issue?


Anonymous
TRIALOP

2 years ago

seems like the database is not working properly.

1250203030423470000


2 years ago

red does not mean error, please take into account the contents of the logs not the colour to determine if a log is an error or not.


2 years ago

there are many different reasons and I wouldn't have enough context to tell you what reason it is, but if it works in tableplus then there's absolutely nothing to worry about since tableplus would do a far better job than the data tab would


Anonymous
TRIALOP

2 years ago

but my nodejs app can't connect to the database even though it's using the right env vars. thats my issue.


2 years ago

what error are you getting from the node app


Anonymous
TRIALOP

2 years ago

status 500 and a custom message. Now tableplus can't connect to the database:
connection to server at "roundhouse.proxy.rlwy.net" (35.214.158.190), port 56760 failed: server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.


Anonymous
TRIALOP

2 years ago

i wanted to extract the data and import it in a new postgres db


2 years ago

theres nothing wrong with your database, something has just been misconfigured


Anonymous
TRIALOP

2 years ago

i ran a new deployment of the same template and it's not working: https://railway.app/template/A7Dwg9


Anonymous
TRIALOP

2 years ago

it was working before the down time that happend today. You can see here postgis is using private network by default


Anonymous
TRIALOP

2 years ago

redeploying fixed the issue.


Status changed to Solved Railway almost 2 years ago


Anonymous
TRIALOP

2 years ago

thanks a lot.


Loading...