R
Railway9mo ago
Pepijn

Sporadic Request failed with status: 503

I have a NextJs build where I pull in data from a Strapi CMS instance. This goes well half the time, the other half of the time I get sporadic 503s for some endpoint fetches. Going manually to those routes always works. Rebuilding works also most of the time. Everything is hosted in one Railway project. What could cause these 503s? And how could it be resolved.
2 Replies
Percy
Percy9mo ago
Project ID: 3160979a-66a1-4ab0-b77f-1ef3fe72acf4
Pepijn
Pepijn9mo ago
3160979a-66a1-4ab0-b77f-1ef3fe72acf4 Good to mention, I also have this issue if I rerun the NextJs build sometimes from scratch on my local machine. The response is a 503 with a HTML page containing:
<h1 class="error-404">Nothing here... yet</h1>
<h1 class="error-503">Application failed to respond</h1>

<a href="https://railway.app" target="_blank"> Go to Railway </a>
<h1 class="error-404">Nothing here... yet</h1>
<h1 class="error-503">Application failed to respond</h1>

<a href="https://railway.app" target="_blank"> Go to Railway </a>
Also good to mention, there is nothing to see in the error logs of the Strapi instance
Want results from more Discord servers?
Add your server