ERR_NAME_NOT_RESOLVED
umang1499
HOBBYOP

5 months ago

  • getting this error for some of the users and for other users it works fine.

  • Hosted on us-east

  • works fine within north america always

  • does not work in asia, where some time it does work

  • Error happens when connecting/requesting backend api url HTTP methods

  • Railway app is responsible for hosting fast api based backend

$10 Bounty

4 Replies

5 months ago

Are you trying to connect locally or from another service inside in the same project? Can you share your architecture and the nature of the request?


umang1499
HOBBYOP

5 months ago

error happens when users visit my site hosted on vercel which request data via fast api hosted with railway

req: just a GET request that returns JSON data


umang1499

error happens when users visit my site hosted on vercel which request data via fast api hosted with railwayreq: just a GET request that returns JSON data

5 months ago

You need to use the PUBLIC IP created by the service. Not the private. Please generate a domain in the public networking section of the service's settings and use that instead. Make sure to point it to the right port.


umang1499
HOBBYOP

5 months ago

yes i am using public domain auto generated via railway service as backend url with correct port and other configs. As i mentioned, it works fine for me and some other users. but does not work for users located in asia


Loading...