I am building a flask app that takes a long time to return (minutes) after receiving a GET request. I noticed that when I try to stress test the server by sending 5 concurrent requests, the backend can still be running normally, but the front end would timeout with the following message. I already set a very generous gunicorn worker timeout so that the backend would not timeout. I cannot reproduce this locally and I failed to find which digital ocean setting controls this behavior.
We encountered an error when trying to load your application and your page could not be served. Check the logs for your application in the App Platform dashboard.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.