Network connection timeouts, http between services
swinecoder101
TRIALOP

2 years ago

We are currently using http requests internally between different services, the requests were working fine for the first few days, however recently we are getting timeouts. We noticed we may have reached the network egress limits and wanted to enquire what the limits are under the payment plan?

8 Replies

swinecoder101
TRIALOP

2 years ago

[Nest] 15 - 08/23/2024, 12:11:32 PM ERROR [NotificationClientService] Error sending notification:

Aug 23 13:11:36

connect ETIMEDOUT 35.212.162.221:3000


2 years ago

This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.

Status changed to Open brody over 1 year ago


2 years ago

Hello, there are no egress limits on any plan, for any kind of networking.

There is a 5 minute request time limit for public networking, but there is no time limit of any kind for private networking.

If you are indeed using private networking, the timeouts come from a self imposed limitation.

For example, gunicorn has a default timeout of 30 seconds.

Please tell me more about your setup.


swinecoder101
TRIALOP

2 years ago

I am using two nestjs servers, one is sending http post, to the other in every minute interval, I'll increase this


2 years ago

Make sure you are using the private network or else you will incur egress fees.


swinecoder101
TRIALOP

2 years ago

is this url public? ${{SolanaCallBot.RAILWAY_STATIC_URL}}


2 years ago

Yes it is, it is also deprecated.

Please see our docs for the updated variables available - https://docs.railway.app/reference/variables#railway-provided-variables


swinecoder101
TRIALOP

2 years ago

I am having difficulty updating the environment variables, after changing the env var and click the tick and redeploying the app seems to pick the old var that was configured


2 years ago

You have likely hardcoded something somewhere.


Loading...