a year ago
Hello.
I deployed a very simple .NET6 webapi with just one endpoint for testing. My endpoint sends just a hardcoded string response.
I deployed it on railway and I have no build errors.
In the Settings -> Networking section of my project, I have set up a custom domain. Its name is api.mycustomdomain.me and it's registered on Namecheap. I see a green tick icon next to the domain and "Setup complete" text underneath my domain.
My problem is very confusing:
When I hit my endpoint locally via Postman on this address: https://localhost:7135/example
I get my hardcoded response as expected.
When I hit my endpoint via Postman on this address:
https://api.mycustomdomain.me/example
I get this error:
{
"status": "error",
"code": 502,
"message": "Application failed to respond",
"request_id": "zkO6GklnT4SB1rVYCo3-nQ_2823689937"
}Thanks for any insights.
1 Replies
a year ago
Please see our docs that cover your problem -
https://docs.railway.app/guides/fixing-common-errors#application-failed-to-respond
Status changed to Solved brody • over 1 year ago