502 Gateway Error with Sleeping App

posho
HOBBY

8 months ago

I get an "Application Failed to Respond" error on basically all my apps that have App Sleeping enabled. This has been going on for months now, I thought it was going to be fixed eventually but it's still happening, so maybe this is a mistake on my projects' end?

I checked other threads with the same issue and here's what I can say about my projects:

  • They all use FastAPI.

  • They all have a Healthcheck path (`/ping`).

  • Once the build is completed, the app starts up in about 1000~ ms.

  • Redeploying makes the apps work again until they sleep and can't be awakened again.

  • The linked project has App Sleeping disabled since today.

Please help, I need to fix this somehow now.

Solved

4 Replies

Railway
BOT

8 months ago

An internal ticket has been attached to this thread. Updates will be relayed in this thread, so keep an eye out!

Status changed to In Progress Railway 8 months ago


Railway
BOT

8 months ago

Update: An internal ticket linked to this thread has been changed to Todo.


8 months ago

Hello,

We pushed a fix for a bug you may have been running into, can you redeploy and try again?

Best,
Brody


Status changed to Awaiting User Response Railway 8 months ago


brody

Hello,We pushed a fix for a bug you may have been running into, can you redeploy and try again?Best,Brody

posho
HOBBY

8 months ago

Hey there,

I didn't expect that! Let me try it and I'll let you know. Thank you so much!


Status changed to Awaiting Railway Response Railway 8 months ago


Status changed to Solved chandrika 8 months ago


Railway
BOT

6 months ago

Update: An internal ticket linked to this thread has been changed to Completed. Still running into problems ? Re-open this thread and we'll get back to you as soon as possible.