17 days ago
Related ongoing thread:
https://station.railway.com/support/intermittent-12-16s-ttfb-on-our-raily-[ID]
Project: ai agent dashboard
Service: @aiagent/api
Public domain: aiagentapi-production.up.railway.app
Region: asia-southeast1 (Singapore)
Plan: Hobby (Free)
Location: Taipei, Taiwan
SYMPTOM
All HTTP requests to my service consistently take 12-16 seconds.
Problem started after deployment on 2026-04-25. Before this, latency
was normal (~300ms).
Latency test (5 consecutive requests to /api/products):
- Request 1: 12.35s
- Request 2: 12.20s
- Request 3: 15.21s
- Request 4: 12.21s
- Request 5: 12.23s
The 12-second floor is extremely stable, which suggests a timeout
or connection retry in the edge layer rather than variable network
congestion.
EVIDENCE THIS IS NOT AN APPLICATION ISSUE
1. psql direct connection to my Postgres (same project, same region)
completes in 0.7s — DB is healthy
2. Non-existent 404 routes take 12s — requests never reach my app
3. /api/auth/login (which does NOT hit DB) also takes 12s
4. Application logs show NestJS started cleanly, all routes mapped,
no errors or warnings
5. CPU/memory well within Hobby plan limits
6. Nothing changed in global middleware or CORS config in this deploy
(git log confirms main.ts unchanged since scaffolding)
RESPONSE HEADERS (sample request)
- X-Railway-Request-Id: mY-z_ISKTiWOzthLacI7Nw
- x-railway-cdn-edge: fastly/cache-nrt-rjaa8190038-NRT (Tokyo Fastly)
- x-railway-edge: railway/asia-southeast1-eqsg3a (Singapore Metal)
QUESTION
Why is my request path going through Fastly Tokyo (NRT) before
reaching Singapore Metal edge? Is there a misrouting at the CDN layer?
This pattern appears similar to previously reported APAC edge
routing issues:
- https://station.railway.com/questions/metal-high-latency-singapore-b7548849
- https://station.railway.com/questions/server-latency-and-slow-response-times-991479b8
Could the Railway team investigate edge routing for my domain?
Thanks.14 Replies
Status changed to Awaiting Railway Response Railway • 17 days ago
17 days ago
+1 also having the same issues.
Currently on a hobby plan. Located in Vietnam.
Have deployed via Singapore and US West and still get the same data points.
Tested on a simple health endpoint and all requests are taking 12 seconds minimum.
17 days ago
Same issue here, I'm in pro plan.
17 days ago
I have the same problem and also tried to deploy via different regions. Same everywhere. Awaiting Railway response.
17 days ago
+1
17 days ago
Yes same issue, +1
17 days ago
same!
17 days ago
i have been debuggin for the past 20 minutes, it looks like its really a railway issue
17 days ago
Same here!
17 days ago
Same here. Is it happening on ap-southeast1 only?
kevindavee
Same here. Is it happening on ap-southeast1 only?
17 days ago
No, it's on all regions.
17 days ago
Oh no, there’s still no update from the Railway team. Do they only respond during their working hours? they dont check message during off day?
17 days ago
{"status":"error","code":404,"message":"Application not found","request_id":"87unZzMsRWCH0IveoB_USg"}DNS: 0.070761s
Connect: 0.110846s
TTFB: 12.298104s
Total: 12.298337s
same here
17 days ago
Now it seems to work again.
17 days ago
This has now been resolved.
The latency was caused by an issue with our CDN provider Fastly, specifically affecting their KV store in the Asia region. Their incident report: https://www.fastlystatus.com/incident/378503
Apologies for the disruption.
Status changed to Awaiting User Response Railway • 17 days ago
9 days 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 • 9 days ago