Community Cloud cannot clone my GitHub repository

Hi, my Streamlit Community Cloud app is failing before the app even starts.

Repository:
mahimishra1724-star/skincare-ai-agent

Branch:
main

Main file:
app.py

GitHub is connected and authorized.

I have already verified the repository, branch, and main file, rebooted the app multiple times, reconnected GitHub, and recreated the deployment multiple times.

My app works correctly when I run it locally in VS Code.

Current Streamlit Cloud log:

[13:50:05] :rocket: Starting up repository: ‘skincare-ai-agent’, branch: ‘main’, main module: ‘app.py’
[13:50:05] :octopus: Cloning repository…
[13:50:05] :octopus: Cloning into ‘/mount/src/skincare-ai-agent’…
[13:50:05] :octopus: Failed to download the sources for repository: ‘skincare-ai-agent’, branch: ‘main’, main module: ‘app.py’

The failure occurs at the repository cloning stage, before dependencies are installed and before app.py is executed.

Could you please help me determine why Community Cloud cannot download/clone this repository?

Hey there, thanks for sharing all the details and welcome to the Streamlit community! :rocket: Sorry you’re hitting this frustrating “Failed to download the sources for repository” error at the cloning stage. This issue is pretty common and can be caused by temporary backend problems, expired/missing deploy keys, GitHub integration hiccups, or even Git LFS/bandwidth limits. Since you’ve already verified the repo, branch, and main file, rebooted, reconnected GitHub, and redeployed, you’ve covered all the right first steps.

If the problem persists across new deployments and your repo is public, it’s likely a backend or integration issue that only Streamlit support can resolve. Others have reported that these errors sometimes resolve themselves after a backend update or support intervention. You can submit a support case as described in the official deployment docs and deployment troubleshooting guide. Rest assured, you’re not alone—this is a known issue and not something wrong with your code or repo setup. If you’d like, please share a minimum reproducible example or your repo link so others in the community can help debug further!

Sources: