Railway Metal missing for DB
shreejith
HOBBYOP

2 years ago

Hi , I see my deployments for backend java application get auto triggered by railway to use Metal California

I see for Mysql DB , still metal regions are not available

So when java application used metal california region , db still uses Oregon region , causing large delay in getting response

Either dont auto deploy java application for metal California Or introduce this metal feature for DB as well so all services will be in same metal region

Closed

36 Replies

2 years ago

Hey shreejith, Hobby users should be able to migrate non-metal volumes to metal. Can you try enabling the metal volumes feature flag under https://railway.com/account/feature-flags?


shreejith
HOBBYOP

2 years ago

Done it , now I see application is very slow

Though both backend servive and DB are now in california metal, the slowness is like it behaves as if both are in different regions


shreejith
HOBBYOP

2 years ago

I am getting

Request URL:

https://knorr-bremse-trainingfrontend-prod.up.railway.app/api/tenant/customers/all-sales-list

Request Method:

GET

Status Code:

504 Gateway Timeout

Remote Address:

35.213.168.149:443

Referrer Policy:

strict-origin-when-cross-origin

I am getting 504 gateway timeout for most of the apis


shreejith
HOBBYOP

2 years ago

Can you help to quickly resolve this issue


shreejith

Can you help to quickly resolve this issue

2 years ago

Hey, can you try clicking on the downgrade edge network button that is located under the public networking section?

Attachments


shreejith
HOBBYOP

2 years ago

Here I see option of upgrade to metal edge instead of downgrade

Attachments


shreejith
HOBBYOP

2 years ago

I didnt see downgrade option


shreejith
HOBBYOP

2 years ago

Is it that I need to upgrade if its metal region?


shreejith

I didnt see downgrade option

2 years ago

In this case, you don't have to do anything. My initial assumption was that it could be related to metal edge, however this has proven to not be it as per your screenshot. As for the latency issue, please make sure to use private networking whenever possible, especially when both services are within the same project, this ensures the lowest latency possible and will save you egress fees.


shreejith
HOBBYOP

2 years ago

I am using private networking

when the region is all oregon it works smoothly

when region is all metal california , there is slowness


shreejith

I am using private networking when the region is all oregon it works smoothly when region is all metal california , there is slowness

2 years ago

Can you try redeploying your backend?


shreejith
HOBBYOP

2 years ago

ok


shreejith
HOBBYOP

2 years ago

Still same 504 gateway timeout


shreejith

Still same 504 gateway timeout

2 years ago

Can you elaborate more on the 504 gateway timeout? How often does this happen? Because I can visit https://knorr-bremse-trainingbackend-production.up.railway.app/ just fine.


shreejith
HOBBYOP

2 years ago

This happens very often

Initailly when all were in oregon , no issues

But sometimes railway auto triggred deployment to california metal for backend and then it starts cauing issue for some of the apis

It happens for som eof the apis


shreejith
HOBBYOP

2 years ago

It takes time to get response and then gives 504


shreejith
HOBBYOP

2 years ago

That time , backend was in California metal and db in oregon and hence gave 504

Now both are in california metal , still there is 504

When both are in oregon , no issue of 504


shreejith

This happens very often Initailly when all were in oregon , no issues But sometimes railway auto triggred deployment to california metal for backend and then it starts cauing issue for some of the apis It happens for som eof the apis

2 years ago

Interesting, can you migrate both of your services back to non-metal us west oregon?


shreejith
HOBBYOP

2 years ago

ok


shreejith
HOBBYOP

2 years ago

Now its very fast

NO issue of 504


shreejith
HOBBYOP

2 years ago

But issue is railway auto triggers deployment to Metal frequently

Can this be stopped by railway as every time I have to manually again change to oregon


shreejith
HOBBYOP

2 years ago

I expect the region dropdown always sticks to oregon unless I change it manually


shreejith
HOBBYOP

2 years ago

?


shreejith

But issue is railway auto triggers deployment to Metal frequently Can this be stopped by railway as every time I have to manually again change to oregon

2 years ago

From what I know, there is no option for an user to opt out of it. The behaviors you have experienced today are definitely not intended by any means.

I'll escalate this thread to the team so that they can take a look at it.


2 years ago

This thread has been escalated to the Railway team.

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


shreejith
HOBBYOP

2 years ago

Yes please


shreejith
HOBBYOP

2 years ago

Hi any update on this later?


chandrika
EMPLOYEE

2 years ago

Hey Shreejith, there isn't a way around the auto deploy triggers to metal but our pricing has recently been updated to benefit workloads that are on metal if you'd like to take a look.

Metal performance is super important to us so we also ran some benchmarks on our end and haven't found the drop you noticed — it would be super helpful if you could give any examples of apps where this happens reproducibly and we can dig into that.

Please keep an eye on any notifications or updates related to Railway Metal, as we're continuously working on improving this transition. If you'd like more details about Railway Metal and managing deployments, you can check out our Railway Metal documentation and Deployment Regions.


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


shreejith
HOBBYOP

2 years ago

The service which is tagged to this ticket there the issue happens


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


shreejith
HOBBYOP

2 years ago

Hey , I need resolution for this immediately , this is impacting us in $$$ revenue and facing client escalation as many users are facing issue because of this

We dont want railway to change the region without our consent in settings


shreejith
HOBBYOP

2 years ago

If its taking time to check the issue, implement a feature that will help users to turn off this railway auto region change to metal

Else check out why this issue happens only in metal region


chandrika
EMPLOYEE

2 years ago

Hi, could you please try moving all your services to the same metal region? Are you still experience slowness?


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


Railway
BOT

2 years ago

This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!

Status changed to Solved Railway • over 1 year ago


shreejith
HOBBYOP

a year ago

Hi Now I am facing issue, as I see ralway has compulsory moved to metal , making my application down with 504 , all are in same metal region

Please reopen the thread and solve the issue urgently.


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


shreejith
HOBBYOP

a year ago

As mentioned earlier , ensure u keep previous non metal region where I am not facing this issue , or solve this issue which I am facing in metal region


Status changed to Solved shreejith • over 1 year ago


shreejith
HOBBYOP

a year ago

We are in hobby plan , so expect the support quickly

from ur end


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


shreejith
HOBBYOP

a year ago

As mentioned earlier , ensure u keep previous non metal region where I am not facing this issue , or solve this issue which I am facing in metal region


a year ago

Let's keep the conversation within your newest thread.


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


Status changed to Closed brody • over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...