400 redirect loop for app dashai-cloud.streamlit.app (share.streamlit.io redirected too many times)

Hi Streamlit team,

I’m facing a persistent redirect loop issue with my Streamlit Cloud app.

Important details:

  • The same code runs perfectly on my local machine (localhost).
  • I also tested the code on other environments, and it works there as well.
  • This makes me think the issue is not with my Streamlit app code, but with the routing / caching configuration for this specific app / subdomain on Streamlit Cloud.

Could you please clear the routing / cache for this app or reset whatever is causing the redirect loop on your side?

If helpful, I’m happy to redeploy the app again after you reset it.

Thank you!

This happened to me. I rebooted the app and everything was fine and it hasn’t happened since. I don’t know what caused it. But, turning it off and turning it back on again fixed it for me at least.