Sporadic Request failed with status: 503
pepijn
PROOP

2 years ago

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.

4 Replies

pepijn
PROOP

2 years ago

3160979a-66a1-4ab0-b77f-1ef3fe72acf4


pepijn
PROOP

2 years ago

Good to mention, I also have this issue if I rerun the NextJs build sometimes from scratch on my local machine.


pepijn
PROOP

2 years ago

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"> Go to Railway </a>

pepijn
PROOP

2 years ago

Also good to mention, there is nothing to see in the error logs of the Strapi instance


Loading...