a year 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
36 Replies
a year 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?
a year 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
a year 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
a year ago
Can you help to quickly resolve this issue
shreejith
Can you help to quickly resolve this issue
a year ago
Hey, can you try clicking on the downgrade edge network button that is located under the public networking section?
Attachments
a year ago
Here I see option of upgrade to metal edge instead of downgrade
Attachments
a year ago
I didnt see downgrade option
a year ago
Is it that I need to upgrade if its metal region?
shreejith
I didnt see downgrade option
a year 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.
a year 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 networkingwhen the region is all oregon it works smoothlywhen region is all metal california , there is slowness
a year ago
Can you try redeploying your backend?
a year ago
ok
a year ago
Still same 504 gateway timeout
shreejith
Still same 504 gateway timeout
a year 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.
a year 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
a year ago
It takes time to get response and then gives 504
a year 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 oftenInitailly when all were in oregon , no issuesBut 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
a year ago
Interesting, can you migrate both of your services back to non-metal us west oregon?
a year ago
ok
a year ago
Now its very fast
NO issue of 504
a year 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
a year ago
I expect the region dropdown always sticks to oregon unless I change it manually
a year 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
a year 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.
a year ago
This thread has been escalated to the Railway team.
Status changed to Awaiting Railway Response uxuz • 11 months ago
a year ago
Yes please
a year ago
Hi any update on this later?
a year 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 • 11 months ago
a year ago
The service which is tagged to this ticket there the issue happens
Status changed to Awaiting Railway Response Railway • 11 months ago
a year 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
a year 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
a year 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 • 11 months ago
10 months 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 • 11 months ago
9 months 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 • 9 months ago
9 months 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 • 9 months ago
9 months ago
We are in hobby plan , so expect the support quickly
from ur end
Status changed to Awaiting Railway Response Railway • 9 months ago
9 months 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 Awaiting User Response Railway • 9 months ago
Status changed to Closed brody • 9 months ago