Skip to content
high latency on internal network
shubhankartrivedi
OP

9 months ago

singapore region

image.png

Closed

27 Replies

shubhankartrivedi
OP

9 months ago

it's fetching from the backend service and using the public url and not the railway internal url

the backend service itself is not having any latency or downtime so this makes it clear that internal network is having this latency


9 months ago

Can you try using something like curl to make a fetch to the backend service in an already-running service via ssh?


shubhankartrivedi
OP

9 months ago

sure


shubhankartrivedi
OP

9 months ago

using postman, it's giving decent latency

Screenshot_2026-02-25_at_5.22.15_PM.png


shubhankartrivedi
OP

9 months ago

but i did this from my pc


9 months ago

in an already-running service via ssh


9 months ago

and do you see this request in http logs on the backend service?


shubhankartrivedi
OP

9 months ago

is it even possible to ssh inside any railway service?


9 months ago

Yes


shubhankartrivedi
OP

9 months ago

whoa


9 months ago

right click on a service, "copy ssh command"


shubhankartrivedi
OP

9 months ago

new feature unlocked dang


shubhankartrivedi
OP

9 months ago


error: unrecognized subcommand 'ssh'

  tip: a similar subcommand exists: 'starship'

Usage: railway [OPTIONS] 

For more information, try '--help'.

??


9 months ago

What version are you on?


shubhankartrivedi
OP

9 months ago

oh got it


shubhankartrivedi
OP

9 months ago

updating


shubhankartrivedi
OP

9 months ago

don't got curl installed in the service so hard


9 months ago

apt install -y curl

apk add curl if alpine


shubhankartrivedi
OP

9 months ago

time_total: 2.511792s


shubhankartrivedi
OP

9 months ago

yeah the latency is high


shubhankartrivedi
OP

9 months ago

testing more endpoints


shubhankartrivedi
OP

9 months ago

i mean it's not that bad when i do curl


shubhankartrivedi
OP

9 months ago

really weird issue


shubhankartrivedi
OP

9 months ago

It's working perfectly on my machine when i build the nextjs project


shubhankartrivedi
OP

9 months ago

🫠


shubhankartrivedi
OP

9 months ago

Okay so i got it!

Singapore region is having some issues for sure!


shubhankartrivedi
OP

9 months ago

i changed my all services to EU and everything's working perfectly!


Welcome!

Sign in to your Railway account to join the conversation.

Loading...