Cloudflare 502s (bad gateway)

drmarshall
PRO

7 months ago

Hello,

We are seeing frequent Cloudflare 502s this morning to custom-domain railway service.

Has something about railway network configuration changed?

Awaiting User Response

13 Replies

drmarshall
PRO

7 months ago

specifically, after 5 second timeouts we are seeing: "failed to forward request to upstream: connection dial timeout" (we are not using nginx or other reverse proxy)


7 months ago

Hi DrMarshall, we're investigating.


Status changed to Awaiting User Response railway[bot] 7 months ago


drmarshall
PRO

7 months ago

Looks like redeploying has cleared the issue.


Status changed to Awaiting Railway Response railway[bot] 7 months ago


7 months ago

Thank you for the update. Please let us know if you experience this again.


Status changed to Awaiting User Response railway[bot] 7 months ago


Status changed to Solved christian 7 months ago


Status changed to Awaiting Railway Response drmarshall 7 months ago


drmarshall
PRO

7 months ago

Experiencing this issue again with a different service.


drmarshall
PRO

7 months ago

This is slightly different issue, but there seems to be some networking/configuration issue with Railway. Given that we're having networking issues before and after the major outage yesterday, I think these are related.


unicodeveloper
PRO

7 months ago

Hi, did this just happen in the last 5 minutes?


Status changed to Awaiting User Response railway[bot] 7 months ago


unicodeveloper

Hi, did this just happen in the last 5 minutes?

drmarshall
PRO

7 months ago

More like 20-30 minutes? Our most recent deploy was not a clean handover between old and new deployments – two services did not pick up new networking properly. Redeploying seems to have resolved the issue, but it caused an outage during the builds.
Deploy timestamp:

Dec 17, 2024 1:11 P
M pacific


Status changed to Awaiting Railway Response railway[bot] 7 months ago


unicodeveloper
PRO

7 months ago

Apologies about that..there was a small network issue in the past 30 mins for a part of a region. I am assuming that affected the clean handover. I wanted to recommend a redeploy but you already did it.

Everything is fine on our end now too.


Status changed to Awaiting User Response railway[bot] 7 months ago


unicodeveloper

Apologies about that..there was a small network issue in the past 30 mins for a part of a region. I am assuming that affected the clean handover. I wanted to recommend a redeploy but you already did it.Everything is fine on our end now too.

drmarshall
PRO

7 months ago

Thanks for confirmation. Was there also an known issue yesterday (top of thread – a few hours before the bigger outage)?


Status changed to Awaiting Railway Response railway[bot] 7 months ago


drmarshall
PRO

7 months ago

I really do appreciate the confirmation and defined scope of the issue. This kind of acknowledgement lets me know that I can safely deploy again today and don't need to hunt for any configuration changes that could have caused this.


drmarshall

I really do appreciate the confirmation and defined scope of the issue. This kind of acknowledgement lets me know that I can safely deploy again today and don't need to hunt for any configuration changes that could have caused this.

unicodeveloper
PRO

7 months ago

Yes you can


Status changed to Awaiting User Response railway[bot] 7 months ago


drmarshall

Thanks for confirmation. Was there also an known issue yesterday (top of thread – a few hours before the bigger outage)?

unicodeveloper
PRO

7 months ago

Not that I know of


Cloudflare 502s (bad gateway) - Railway Help Station