Cant connect to Postgres DB
mckay
PROOP

3 months ago

Service ID f28e8d36-8ffa-4824-8c4c-6cd96012a0cc

188 Replies

3 months ago

thank you!


3 months ago

Can you talk a bit more about what you're running into?


mckay
PROOP

3 months ago

sql: error: connection to server at "ballast.proxy.rlwy.net" (66.33.22.248), port 46255 failed: server closed the connection unexpectedly

This probably means the server terminated abnormally

before or while processing the request.


mckay
PROOP

3 months ago

railway Cli also unable to connect


mckay
PROOP

3 months ago

railway connect "Store Management DB"

psql: error: connection to server at "ballast.proxy.rlwy.net" (66.33.22.248), port 46255 failed: server closed the connection unexpectedly


3 months ago

And was this working before? Did you change anything recently?


mckay
PROOP

3 months ago

Nothing changed


Anonymous
PRO

3 months ago

Same cant connect to pg or redis


mckay
PROOP

3 months ago

And i'm able to connect through the railway web portal which is so odd?


mckay
PROOP

3 months ago

attempting redeploy


willguima
PRO

3 months ago

I can't connect either using Dbeaver, but it looks like my app is working fine so far


3 months ago

Sounds good let me know! Yeah a bit odd but looking into it on our side


mckay
PROOP

3 months ago

Update - railway UI unable to connect to DB now


Anonymous
PRO

3 months ago

Yea my stuff cooked for sure


ahsanbod
PRO

3 months ago

Can't connect to MYSQL via public URL as well.


s1cktools
PRO

3 months ago

keep disconnecting every couple seconds as well.


viou
PRO

3 months ago

Mine is also unable to connect

psql: error: connection to server at "ballast.proxy.rlwy.net" (66.33.22.248), port 51555 failed: server closed the connection unexpectedly

This probably means the server terminated abnormally

before or while processing the request.


ramezj
HOBBY

3 months ago

this fucking sucks


ramezj
HOBBY

3 months ago

this is probably


anonymousdude10
HOBBY

3 months ago

image.png

Attachments


ramezj
HOBBY

3 months ago

like not even exaggerating


ramezj
HOBBY

3 months ago

like the 4th downtime


ramezj
HOBBY

3 months ago

in like 3 weeks


ramezj
HOBBY

3 months ago

or 2 weeks


anonymousdude10
HOBBY

3 months ago

AI code


ramezj
HOBBY

3 months ago

nah this is fucked up


mckay
PROOP

3 months ago

yeah its bad


ramezj
HOBBY

3 months ago

AI doesnt write that bad of a code lol


mckay
PROOP

3 months ago

opus 4.6 would never lol


mckay
PROOP

3 months ago

@lunix I feel your pain man


mckay
PROOP

3 months ago

truly I do


mckay
PROOP

3 months ago

worst thing about it is sitting and watching it happen


mckay
PROOP

3 months ago

not being able to do anything


ramezj
HOBBY

3 months ago

exactly


ramezj
HOBBY

3 months ago

genuinely thinking of just


ramezj
HOBBY

3 months ago

dipping


mckay
PROOP

3 months ago

are you a small team


ramezj
HOBBY

3 months ago

and hosting using dokploy or coolify or smth


mckay
PROOP

3 months ago

i'm on a 2 person team so I can't waste time on infra


ramezj
HOBBY

3 months ago

im Me lol.


ramezj
HOBBY

3 months ago

just me, building a product


mckay
PROOP

3 months ago

self hosting has issues too though no?


ramezj
HOBBY

3 months ago

wouldn't be that bad


ramezj
HOBBY

3 months ago

imo


mckay
PROOP

3 months ago

I mean fair


ramezj
HOBBY

3 months ago

atp its either self hosting or fly.io


mckay
PROOP

3 months ago

i'm just thinking rihgt now about even just the databases


mckay
PROOP

3 months ago

running those on something more stable


mckay
PROOP

3 months ago

and connecting via public urls


ramezj
HOBBY

3 months ago

while we're at it - give me ur honest, brutal opinion on https://wegotwork.co/


ahsanbod
PRO

3 months ago

Gotta shift man! What could be a better alternative?


mckay
PROOP

3 months ago

UI is clean


mckay
PROOP

3 months ago

needs some color


ramezj
HOBBY

3 months ago

yah idk what colors to add and where


mckay
PROOP

3 months ago

Features

Pricing

About these would look better centered imo


stephenperreira
FREE

3 months ago

yes all database connections down


mckay
PROOP

3 months ago

sorry bro I gotta get back to my dead database


ramezj
HOBBY

3 months ago

good eye


ramezj
HOBBY

3 months ago

yea nws


mckay
PROOP

3 months ago

nice chatting though and I truly feel your pain


ramezj
HOBBY

3 months ago

likewise. we'll probably go through this again in a day or two - see u then!


mckay
PROOP

3 months ago

See you then brother!


mckay
PROOP

3 months ago

And dm me anytime for feedback on your site


ramezj
HOBBY

3 months ago

added u as a friend. whenever you're done with the DB hassle - we could talk again and discuss some stuff, if you're down ofc.


mckay
PROOP

3 months ago

sounds good


ramezj
HOBBY

3 months ago

we may have one thing in common : railway downtime


mckay
PROOP

3 months ago

Yeah we can chat during railway downtime while my management emails me and customers can't do basic stuff


ramezj
HOBBY

3 months ago

lmao


ramezj
HOBBY

3 months ago

what are u working on, if u dont mind me asking, and if its not confidential


triple-a
PRO

3 months ago

same thing by my services, all down, thats really bad


appiers
PRO

3 months ago

Same here,

Can't connect to Postgres Database

It has happened 3rd time this month

2 times it worked after redeploying the database

This time it doesn't connect at all

If it happens one more time and we'll leave Railway


Anonymous
PRO

3 months ago

Restarting containers didnt fix either


mckay
PROOP

3 months ago

same


Anonymous
PRO

3 months ago

thankfully my prod is in google cloud


axelramirez
PRO

3 months ago

If I restart the database container, Can I lost my data?


mckay
PROOP

3 months ago

no


axelramirez

If I restart the database container, Can I lost my data?

triple-a
PRO

3 months ago

no


mckay
PROOP

3 months ago

might have to do the same if this keeps happening


appiers

Same here, Can't connect to Postgres Database It has happened 3rd time this month 2 times it worked after redeploying the database This time it doesn't connect at all If it happens one more time and we'll leave Railway

axelramirez
PRO

3 months ago

Me too


Anonymous
PRO

3 months ago

Is the database connection still not working?


triple-a
PRO

3 months ago

i try restart everything, but nothing happen


sungkhum
PRO

3 months ago

Same - my site is down


steelzeh
PRO

3 months ago

I will now be looking into moving all of my production data away from Railway, this shit has to stop, and is seriously a joke to host anything else besides small hobby projects here


triple-a
PRO

3 months ago

maybe is related to this ?

Attachments


mckay
PROOP

3 months ago

I mean who cares what its related to at this point


mckay
PROOP

3 months ago

apps are down its that simple


mckay
PROOP

3 months ago

and it needs to be fixed


carlos0550
PRO

3 months ago

We also have the same problem here. Ironically, pg admin works fine, perhaps because internal connections have not yet been affected, but my app cannot connect.


carlos0550

We also have the same problem here. Ironically, pg admin works fine, perhaps because internal connections have not yet been affected, but my app cannot connect.

triple-a
PRO

3 months ago

yeah its a public network connections issue


3 months ago

We are working on it right now!


triple-a
PRO

3 months ago

thank you


sungkhum
PRO

3 months ago

Now is a good time to add some nice messaging to my app so my users don't freak out and think all their data is gone 😅


triple-a
PRO

3 months ago

everyone, try now, its working bd for me


mckay
PROOP

3 months ago

working!


mckay
PROOP

3 months ago

appreciate you


triple-a
PRO

3 months ago

thank you brody


sungkhum
PRO

3 months ago

My site is able to connect to my postgres again too


sungkhum
PRO

3 months ago

That was the worst downtime I've had with railway ever.


steelzeh
PRO

3 months ago

Appreciate the 'we're working on it', but honestly, that's not good enough anymore.

This is at least the 3rd or 4th database outage in the past few weeks. Not a one-off. Not bad luck. A pattern. And every single time, it's paying PRO customers sitting there watching their apps burn while their users churn and their management breathes down their necks.

So I want a real answer: what is Railway actually doing to make sure this doesn't keep happening? Not 'we're looking into it', a concrete plan. Are there architectural changes being made to the proxy layer? Is there a post-mortem being published? Is there any kind of SLA or compensation being offered to customers whose production apps have been down multiple times this month?

Because right now, the community consensus in this very thread is that Railway is only suitable for hobby projects. People are openly discussing moving to Fly.io, self-hosting with Dokploy, or just pulling their databases out entirely. That should alarm you.

What's the actual commitment here to retain customers who trusted Railway with production workloads?


sungkhum
PRO

3 months ago

heartattack


ahsanbod
PRO

3 months ago

Worst Downtime so far!


mckay
PROOP

3 months ago

most important message of the thread. More important than my initial flagging of the issue. thank you


steelzeh
PRO

3 months ago

The thread is genuinely rough reading. Multiple PRO customers, all hitting the same connection drops simultaneously, redeployments not fixing it, people literally making friends in the thread because they're bonding over shared Railway trauma.


mckay
PROOP

3 months ago

So true.


triple-a
PRO

3 months ago

my clients are really mad


Anonymous
PRO

3 months ago

we up now


Anonymous
PRO

3 months ago

at least yall beat supabase outage timing lol


sungkhum
PRO

3 months ago

image.png

Attachments


sungkhum
PRO

3 months ago

lol


mckay
PROOP

3 months ago

lol


sungkhum
PRO

3 months ago

The green shield of assurance


sungkhum
PRO

3 months ago

💪


mckay
PROOP

3 months ago

Nathan, did you read this


paulbrie
PRO

3 months ago

My DB is just gone with all its data!


mckay
PROOP

3 months ago

Ah yeah you did


Anonymous
PRO

3 months ago

goodbye forums, hope to not return


triple-a
PRO

3 months ago

I really love Railway for its ease of deployment, but these downtimes take all that love away from me. I'm seriously considering other options.


sungkhum
PRO

3 months ago

Yeah - I haven't experienced a full outage like this since using Railway (about a year). But not good that others are seeing this happen a lot.


mckay
PROOP

3 months ago

Consider yourself lucky my man!


mckay
PROOP

3 months ago

Its been weekly for us for the past 6-8 weeks


sungkhum
PRO

3 months ago

Yikes


sungkhum
PRO

3 months ago

We need duplicity - but not sure Railway has anything like that build in...


mckay
PROOP

3 months ago

Are you using internal networking on your DB


sungkhum
PRO

3 months ago

You found anything?


mckay
PROOP

3 months ago

It seemed unimpacted during this


sungkhum
PRO

3 months ago

Internal networking mostly


mckay
PROOP

3 months ago

Damn, my internal networking Db connections seemed fine but public was cooked due to TCP


mckay
PROOP

3 months ago

Haven't heard of it. Does it let you swap between hosting providers or something?


sungkhum
PRO

3 months ago

No, meaning we need something that will do that.


mckay
PROOP

3 months ago

right right


steelzeh
PRO

3 months ago

just sayin

CleanShot_2026-03-09_at_17.33.162x.png

Attachments


mckay
PROOP

3 months ago

AWS is just too damn expensive and maintence is too high.


sungkhum
PRO

3 months ago

Yes, I love the simplicity of Railway


sungkhum
PRO

3 months ago

Have you used it much?


triple-a
PRO

3 months ago

ill try render, seems nice


steelzeh
PRO

3 months ago

Yeah for a few things, not much though, a bit more cumbersome but not by a lot.


steelzeh
PRO

3 months ago

In the end the most important thing is uptime


carlos0550
PRO

3 months ago

is northflank a good option for you?


sungkhum
PRO

3 months ago

This seems nice:

image.png

Attachments


sungkhum
PRO

3 months ago

image.png

Attachments


sungkhum
PRO

3 months ago

That would be what we need - thanks @Tomgang


mckay
PROOP

3 months ago

all that matters


mckay
PROOP

3 months ago

Yeah will look into it too. thank you Tom!


steelzeh
PRO

3 months ago

Not just downtime it's also what it does to us in front of our customers.

They don't know what Railway is. They don't care about TCP proxy failures or whatever is happening under the hood. All they see is that THEY CAN'T ACCESS THEIR DATA. And who do they blame? Us. Not Railway. Us.

We look like amateurs. We look like we don't know what we're doing. We're out here building serious products and we're being made to look like we deployed something on a raspberry pi in someone's basement.

Railway gets to quietly fix it and move on. We're the ones doing damage control with our customers, explaining outages we had zero control over, and trying to hold onto trust we worked hard to build. That cost is real and Railway doesn't seem to acknowledge it exists.


carlos0550
PRO

3 months ago

very true


mckay
PROOP

3 months ago

This. This. This.

our users are not technical. the expectation shouldn't be for them to be technical. they shouldn't need to understand networking. TCP means nothing to them.


mckay
PROOP

3 months ago

We can only say "There was a downstream outage from our hosting provider" so many times. They don't care. It means nothing


mckay
PROOP

3 months ago

@Tomgang can I ask what your current gameplan is(


mckay
PROOP

3 months ago

How do costs compare?


mckay
PROOP

3 months ago

Although to be fair I don’t care about costs at this point I care about uptime.


3 months ago

Boot licking incoming:

I agree with a lot of this sentiment (and I have also mentioned that some acknowledgement would be appreciated: https://discord.com/channels/713503345364697088/1479490167277490268/1479504082157961257), but there is also the shared responsibility model in the cloud. Connecting to your DB from your application via the proxy is really bad practice (egress fees, security, an additional failure point).

Of course it shouldn't happen, and the downtime recently has been problematic, but I think this thread is somewhat poor taste. It is possible to be constructive with your feedback, even if it is letting it be known that you're migrating off of Railway


steelzeh
PRO

3 months ago

@Jasper I completely agree, some of our services are using the internal url, but not all services are hosted on railway and have the VPC access

@McKay Current gameplan is to migrate production data to Render. It'll require a planned maintenance window but at least that downtime is on my terms and my schedule, not Railway's.

I'll stay on Railway with my staging env for now but only until I hear something concrete from them about how they're actually going to fix this. Not 'we're working on it', not 'very true', a real plan. Post-mortem, architectural changes, something.

Because right now the trust is gone. Every deployment feels like a gamble. Every morning I open my laptop and wonder if today is the day something just disappears. That's not a headspace you can build a product in.


mckay
PROOP

3 months ago

Very well said!!


sungkhum
PRO

3 months ago

My internal connection to the database was what went down this time


mckay
PROOP

3 months ago

Also well said. We are moving to production tomorrow and will be rolled out to hundreds of users with thousands of downstream customers per month. I really am rooting for Railway and there’s nothing I want less than to have to go provision all infrastructure on another platform. So I’ve let it string along for the past couple of months, but unfortunately, my trust is also lost.


mckay
PROOP

3 months ago

All I’d ask for is just actual actionable items that will be taken for these incidents to see how things are being resolved because unfortunately that isn’t happening. that is where my trust falls.


steelzeh
PRO

3 months ago

@Jasper And on the 'poor taste' thing, I get it, but I'd push back a little. When this is the 4th outage in a few weeks what does constructive feedback even look like at that point? I'm not attacking anyone personally, I'm not spreading misinformation. I'm describing what is happening to me and others in this very thread.

The feedback has been constructive. I asked specific questions. I laid out exactly what I need to hear from Railway to keep my trust.


mckay
PROOP

3 months ago

Very true. We’ve all been really professional throughout these Incidents. It just feels like things are at a boiling point now where people feel as if there’s no other option @Jasper


mckay
PROOP

3 months ago

For my team, this all stems from a lack of communication. Flagging an incident means nothing. I need to see what and why it happened, otherwise I have no faith in it not happening again.


steelzeh
PRO

3 months ago

We are asking the exact same thing of Railway that our customers are asking of us. How did this happen, and how do we make sure it doesn't happen again?

When our product goes down, we don't get to say 'we're working on it' and leave it at that. We owe our customers a real explanation and a plan. All we're asking is that Railway holds itself to the same standard.


3 months ago

We had downtime also because of this but it was a Redis service that was unreachable


3 months ago

Had to re-deploy


callmefredcom
PRO

3 months ago

How close are we to the end of this drama?


callmefredcom
PRO

3 months ago

It's been more than 1h now... Any news?


mckay
PROOP

3 months ago

@CallMeFred this was from the incident earlier


mckay
PROOP

3 months ago

but was resolved by railway team


mckay
PROOP

3 months ago

if you're still having issues i'd open a new thread


callmefredcom
PRO

3 months ago

deployments still queued


callmefredcom
PRO

3 months ago

it has been 1h


mckay
PROOP

3 months ago

Yeah thats unrelated to this incident


mckay
PROOP

3 months ago

open a new ticket in #✋|help


ahsanbod
PRO

3 months ago

Here we go again!


mckay
PROOP

3 months ago

Insane.


callmefredcom
PRO

3 months ago

If only someone could reply in the other thread 🙂


mckay
PROOP

3 months ago

I get it man


mckay
PROOP

3 months ago

I dont work for Railway i'm sorry


callmefredcom
PRO

3 months ago

1h+... once a week at least


mckay
PROOP

3 months ago

I know dude


mckay
PROOP

3 months ago

its very frustrating


mckay
PROOP

3 months ago

and support goes quiet


callmefredcom
PRO

3 months ago

Customers would deserve more transparency


haayhappen
PRO

3 months ago

I'm currently facing this issue as well.


mi1knc0okies
HOBBY

3 months ago

@McKay just curious, did you ever get this resolved?


sungkhum
PRO

3 months ago


sungkhum
PRO

3 months ago

@McKay @Tomgang


chinanderm
PRO

3 months ago

I am facing this issue in one of my environments as well. Nothing changed... simply cannot access via the public DB url in TablePlus.


mckay
PROOP

3 months ago

This is great news! Thank you


mckay
PROOP

3 months ago

Will wait until its prod ready to upgrade of course.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...