Health checks alternate between 502 and 503?

2 months ago

Seeing this on Uptime Kuma, I actually have no idea how to diagnose this.

$10 Bounty

1 Replies

swenembo
FREE

2 months ago

Hi, just wondering:

  • What's your stack?
  • Are you using a reverse proxy?
  • What exactly is returning a 502 or 503 error, and when?
  • What specifically appears in the logs? the 502 or 503.
  • I see that the 503 only appears once, and the 502 appears every other time, so I would assume the errors aren't related.
  • Also, the only 503 that appeared was before performing an action that returned a 200, 1:02 seconds after. Was it the same action or a different one?
  • Regarding the 502 errors, they specifically occur at 1:00 or 1:01 minutes before the 200 error, which is also strange, but could be directly related to a process or task that runs one minute after the error. Except in the last case, where the 502 appears at 4:14:54 and the 200 at 12:46:12, but that would be the only instance. And considering that there is at least one case where it was different, I tend to think that: A) They are two different processes that use the same code that causes the error.

B) It is the same process, but the user can "create" it (for example, create a chat, a friend request, etc.), and then there is another process where something related to the previously created element is terminated, modified, or deleted and the error appears


Welcome!

Sign in to your Railway account to join the conversation.

Loading...