Thanks for the detailed report and timings. I can’t inspect Community Cloud’s account-level routing or escalate directly to the Streamlit team from this forum. Since both apps—including an unmodified template—show intermittent 500s before the app responds, this is worth sending to Streamlit Support as a suspected platform-routing issue, not treating as a confirmed diagnosis.