Improper routing of client -> edge -> service

a year ago

I am based in the Netherlands

My service's location is also in the Netherlands

My service is proxied via Cloudflare

When I made a request, my request is sent to an edge server in Asia (issue is not always happening)

11 Replies

a year ago

Project 146b3390-088d-483b-9c1b-9a7e3b2be785


a year ago

Getting a http request id rq


a year ago

Request id YO2Z_cNfS1WEhn_HacI7Nw

Commit fdf8f62

Branch/env prod


a year ago

does the routing issue happen if you directly access the railway provided domain?


a year ago

I'm using the Cloudflare proxied custom domain


a year ago

I'm sorry but that doesn't quite answer my question


a year ago

No, I am using a custom domain with Cloudflare proxy enabled

And not a domain generated by Railway


a year ago

please try the domain generated by railway


maxeth
HOBBY

a year ago

I noticed something similar for a railway service with region Amsterdam.

When requesting the public domain generated by railway directly from my browser (from EU west), i get railway/europe-west4, so all good.

But when I make an API request from certain cloud providers, like a Vercel serverless function or edge function hosted specifically in fra1 (Germany), I get railway/asia-southeast1-eqsg3a and the request time for the same route increases from ~200ms to ~1500-2000ms. I double-checked in Vercel's observability tab that it's actually requesting from fra1

I noticed that this occasionally lasts for multiple hours/days or something, then it eventually routes to railway/europe-west4 again as it should. 🤔


a year ago

can you check again please?


maxeth
HOBBY

a year ago

now it's railway/europe-west4-drams3a 👍


Welcome!

Sign in to your Railway account to join the conversation.

Loading...