Agent broke region
thunderopsai
FREEOP

a month ago

I saw this thread and i have the same issue - The railway agent tried to configure our deployment to us west1, but we keep failing with this error on deploy:

Region us-west1-eqsf3a is not available. Available regions are: [europe-west4-drams3a, europe-west4, asia-southeast1, us-east4, us-west1, us-west2, asia-southeast1-eqsg3a, us-west2-aws, us-east4-eqdc4a]

Even selecting us west or signapore in the UI does not resolve this, and there seems to be multiple replicas that I cannot see or remove anywhere.

This is breaking an active deployment, please assist.

It just said fixed. But didn't tell me how.

Solved

3 Replies

Status changed to Awaiting Railway Response Railway about 1 month ago


sam-a
EMPLOYEE

a month ago

Hi - you should be able to have the agent fix it for you with a prompt like:

"Fix the multi-region config -- remove asia-south1, us-west1-drams3a, and ap-southeast1-drams3a since they aren't valid Railway regions. Keep us-west1, europe-west4, asia-southeast1, and europe-west4-drams3a."

Let us know if that doesn't solve things for you.

We'll work on getting the agent taught to stop making that mistake in the first place. Sorry for the inconvenience.


Status changed to Awaiting User Response Railway about 1 month ago


sam-a

Hi - you should be able to have the agent fix it for you with a prompt like: "Fix the multi-region config -- remove asia-south1, us-west1-drams3a, and ap-southeast1-drams3a since they aren't valid Railway regions. Keep us-west1, europe-west4, asia-southeast1, and europe-west4-drams3a." Let us know if that doesn't solve things for you. We'll work on getting the agent taught to stop making that mistake in the first place. Sorry for the inconvenience.

thunderopsai
FREEOP

a month ago

I did the prompt ut I still get the error - I also have all these replicas trying to deploy but there is only 1 in my settings


Status changed to Awaiting Railway Response Railway about 1 month ago


sam-a
EMPLOYEE

a month ago

Your region config is being set by the services/prediction-engine/railway.json file in your repository. Config-as-code always overrides dashboard and API settings, so changes made through the UI or the agent won't persist across deploys. You'll need to edit that file directly. Either remove the multiRegionConfig block entirely, or replace it with a single valid region like "multiRegionConfig": { "europe-west4-drams3a": { "numReplicas": 1 } }. The valid region identifiers are listed at docs.railway.com/deployments/regions. Also note that multi-region replicas require the Pro plan, so on Hobby you'll want just one region configured.


Status changed to Awaiting User Response Railway about 1 month ago


Railway
BOT

a month 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 28 days ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...