10 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
4 Replies
10 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?
10 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 railway req: just a GET request that returns JSON data
10 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.
10 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