Not possible to expose database publicly
haksonzvakson
HOBBYOP

2 years ago

It is not possible to add a TCP proxy for a Postgres database. I have always had issues doing this and had to add a proxy 5432 multiple times (until it succeeds), but now even after it succeeds it is not possible to connect to the database.

12 Replies

2 years ago

Hello,

After adding a TCP Proxy you must redeploy the database.


Status changed to Awaiting User Response Railway • almost 2 years ago


brody

Hello, After adding a TCP Proxy you must redeploy the database.

haksonzvakson
HOBBYOP

2 years ago

Well that's new... it did work after this. Because this was not needed before, I was sure that the service is just buggy/unstable and spent couple of hours retrying this. This frustration made me want to change providers, as it shows immaturity of the platform.


Status changed to Awaiting Railway Response Railway • almost 2 years ago


2 years ago

Could you elaborate on what appeared to be buggy/unstable?

When you add a TCP proxy we gotta re-init some network settings on our side, so a fresh redeploy is best. We should definitely prompt users to redeploy after they add one.


Status changed to Awaiting User Response Railway • almost 2 years ago


haksonzvakson
HOBBYOP

2 years ago

When I press "add" button, it fails 50% of the time. So this is before it even succeeds to add something and I need to restart.


Status changed to Awaiting Railway Response Railway • over 1 year ago


Status changed to In Progress parmstar • over 1 year ago


Understood- we have some work on our end to refine the TCP proxy, there is an update we have in the works so we don't have to redeploy. However, without proper re-production, I can't get the TCP proxy creation to fail.

For now, I can mark this ticket as solved.


Status changed to Solved angelo-railway • over 1 year ago


zennoia
HOBBY

a year ago

Wasted several hours on this issue, nowhere in the UI does it say or make obvious that a redeployment is required. Please reopen this thread/issue and atleast add a prompt or a hint or fire an automatic redeployment. Just a single alert/toast would suffice if nothing more. Should be relatively trivial to implement but might save someone several hours?


Status changed to Awaiting Railway Response Railway • over 1 year ago


Railway
BOT

a year ago

Hello!

We're acknowledging your issue and attaching a ticket to this thread.

We don't have an ETA for it, but, our engineering team will take a look and you will be updated as we update the ticket.

Please reply to this thread if you have any questions!


echohack
EMPLOYEE

a year ago

Thanks Zennoia, I setup some tracking to ensure we're monitoring this issue.


Status changed to Awaiting User Response Railway • over 1 year ago


Status changed to Solved echohack • over 1 year ago


Railway
BOT

a year ago

🛠️ The internal ticket TCP Proxy - Prompt User or Force Redeploy of database has been marked as todo.


Railway
BOT

a year ago

🛠️ The internal ticket TCP Proxy - Prompt User or Force Redeploy of database has been marked as in progress.


zennoia
HOBBY

a year ago

Really happy to see the turnaround time! Thanks echohack!


Status changed to Awaiting Railway Response Railway • over 1 year ago


Railway
BOT

a year ago

✅ The internal ticket TCP Proxy - Prompt User or Force Redeploy of database has been marked as completed.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...