high latency on internal network
shubhankartrivedi
HOBBYOP

3 months ago

singapore region

image.png

Attachments

27 Replies

shubhankartrivedi
HOBBYOP

3 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


3 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
HOBBYOP

3 months ago

sure


shubhankartrivedi
HOBBYOP

3 months ago

using postman, it's giving decent latency

Screenshot_2026-02-25_at_5.22.15_PM.png

Attachments


shubhankartrivedi
HOBBYOP

3 months ago

but i did this from my pc


3 months ago

in an already-running service via ssh


3 months ago

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


shubhankartrivedi
HOBBYOP

3 months ago

is it even possible to ssh inside any railway service?


3 months ago

Yes


shubhankartrivedi
HOBBYOP

3 months ago

whoa


3 months ago

right click on a service, "copy ssh command"


shubhankartrivedi
HOBBYOP

3 months ago

new feature unlocked dang


shubhankartrivedi
HOBBYOP

3 months ago


error: unrecognized subcommand 'ssh'

  tip: a similar subcommand exists: 'starship'

Usage: railway [OPTIONS] 

For more information, try '--help'.

??


3 months ago

What version are you on?


shubhankartrivedi
HOBBYOP

3 months ago

oh got it


shubhankartrivedi
HOBBYOP

3 months ago

updating


shubhankartrivedi
HOBBYOP

3 months ago

don't got curl installed in the service so hard


3 months ago

apt install -y curl

apk add curl if alpine


shubhankartrivedi
HOBBYOP

3 months ago

time_total: 2.511792s


shubhankartrivedi
HOBBYOP

3 months ago

yeah the latency is high


shubhankartrivedi
HOBBYOP

3 months ago

testing more endpoints


shubhankartrivedi
HOBBYOP

3 months ago

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


shubhankartrivedi
HOBBYOP

3 months ago

really weird issue


shubhankartrivedi
HOBBYOP

3 months ago

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


shubhankartrivedi
HOBBYOP

3 months ago

🫠


shubhankartrivedi
HOBBYOP

3 months ago

Okay so i got it!

Singapore region is having some issues for sure!


shubhankartrivedi
HOBBYOP

3 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...