Private Community Cloud app stuck loading – HTTP 500 on /~/+/

Hi Streamlit Community,

I’m experiencing a persistent issue with a private Streamlit Community Cloud application.

Environment:

  • App URL: https://shopops-customer-pilot-26.streamlit.app/

  • GitHub repository: Private

  • Branch: main

  • Main file: pilots/community_cloud/launcher.py

  • Python: 3.12

  • Streamlit: 1.64.0

  • Architecture: Starlette ASGI entry point hosting an existing FastAPI/Jinja2 application

Issue:

The app remains on an infinite loading spinner, even after dependency installation completes.

Chrome DevTools shows:

  • Main document: HTTP 200

  • Frame document: HTTP 200

  • GET /api/v2/app/status: HTTP 200

  • GET /~/+/: HTTP 500

  • Response body: Internal server error.

The Community Cloud logs end with Processed dependencies!, without a Python traceback explaining the HTTP 500.

What I’ve tried:

  • Rebooting the app

  • Confirming the dependency installation completed

  • Fixing an earlier health-check 403 issue

  • Testing direct access while authenticated

  • Inspecting Cloud logs and browser Network/Console output

The issue persists.

The application uses Streamlit’s ASGI discovery mechanism with a Starlette application. The launcher works in isolated local Linux tests, but actual Community Cloud compatibility is not yet confirmed.

Could someone from the Streamlit team help determine whether this HTTP 500 comes from Community Cloud’s private-app routing/authentication layer or from an ASGI entry-point compatibility limitation?

Is there a recommended way to isolate or diagnose this issue without making the private repository public?

I can share sanitized browser screenshots and deployment logs.

Thank you!

Thanks for the detailed report. The available information doesn’t establish whether GET /~/+/ returning 500 is caused by private-app routing or ASGI compatibility. Streamlit’s ASGI entry point is described as experimental; it’s expected to work on Community Cloud, but proxy-related limitations may arise, and the source doesn’t document this specific route or error. ASGI support issue

To narrow it down, deploy a minimal streamlit_app.py in the same private repo and compare it with the ASGI launcher; then add the Starlette/FastAPI mount back. Check the app’s Manage app logs for server-side details, and share sanitized logs plus a minimal reproduction without exposing private code. Streamlit’s remote-app guide also identifies proxy/WebSocket configuration as a possible cause of indefinite loading, though it doesn’t explain this specific 500. Remote deployment troubleshooting

Sources: