Sporadic Request failed with status: 503

pepijnPRO

a year 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.

0 Replies

pepijnPRO

a year ago

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


pepijnPRO

a year ago

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


pepijnPRO

a year 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>

pepijnPRO

a year ago

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


Sporadic Request failed with status: 503 - Railway Help Station