Streamlit Cloud: “Failed to download sources” error on public GitHub repo (correct config, still blocked)

Setup Summary

:page_facing_up: Full Error Message

[03:10:59] 🐙 Failed to download the sources for repository: 'montesimlite', branch: 'main', main module: 'app.py'
Make sure the repository and the branch exist and you have write access to it, and then reboot the app.

:white_check_mark: Context

I’ve deployed similar apps before on Streamlit Cloud (e.g., MontecarloSimulator) without issue. This particular repo (MonteSimLite) is public, cleanly structured, and boots locally with streamlit run app.py.

Here’s what I’ve tried:

  • Rebooting the app
  • Creating new apps with fresh names
  • Renaming the GitHub repo
  • Reconnecting GitHub to Streamlit Cloud
  • Using a stripped-down app.py to confirm the base system works
  • Ensuring all casing matches (MonteSimLite vs montesimlite)
  • Verifying no auth issues with GitHub

Despite all of this, the app consistently fails to clone the repo and shows the same log every time.

:brain: What I’m Looking For

Has anyone seen this kind of persistent failure despite a public repo, correct branch, and minimal app structure? Could Streamlit’s internal caching or fingerprinting be forcing an outdated repo slug? Any insight would be appreciated—I’d love to get this app launched.

Thanks in advance!