a year ago
Hello,
I have a Strapi application hosted on Railway.app, I would like to put it in sleep mode when I am not using it and when I connect to the url of my application, I would like it to restart my application but not have a 502 BAD REQUEST error, have only a page that loads or a page with a loading. Is this currently possible? Is it under development?
Thank you for your answers.
Project id : :7cb4e1f2-c1b5-410a-8d22-2f3f3c6d7de6
4 Replies
a year ago
This is a known issue, it's a bug, ideally the page would just take longer to load and then finally show the application's page.
I've added this thread to our internal ticket so that I can notify you when this gets fixed, unfortunately I don't have an ETA for you.
a year ago
We've resolved an issue where apps with longer startup times were showing 502 errors. Apps now have up to 10 seconds to start accepting traffic, thus preventing these error pages from appearing.
You will need to trigger a deployment so that the changes we have made take effect.
a year ago
cc @Aurélien