Public Streamlit app fails for anonymous users — HTTP 500 errors

Hello Streamlit Community,

We need assistance with our MAHUT Influencer Portal, hosted on Streamlit Community Cloud.

App URL:

Problem:

The application is configured as “This app is public and searchable”, but anonymous visitors cannot access it.

The login page works when accessed through an authenticated administrator session. However, visitors using other browsers, incognito mode, or different devices experience an infinite loading spinner or an access-denied page.

Troubleshooting already performed:

  • Confirmed the app is public and searchable.

  • Tested Chrome, Microsoft Edge, incognito mode, and mobile devices.

  • Tested different internet connections, including mobile data.

  • Rebooted the application.

  • Changed the Python version from 3.14 to 3.11.

  • Forced a browser refresh.

  • Checked the browser console and identified multiple HTTP 500 errors when loading JavaScript files.

  • Checked the Streamlit status page, which reports all systems operational.

The problem persists.

Expected behavior:

Any visitor should be able to open the public application and see our custom login page without needing a Streamlit account.

Could someone help us investigate whether this is related to static asset delivery, routing, or anonymous-session initialization?

This issue is preventing our business partners from accessing their accounts.

Thank you,
MAHUT Team

Thanks for the detailed report, MAHUT Team. It seems likely the HTTP 500 errors loading JavaScript assets are the key clue: the provided docs don’t identify their cause or confirm whether this is an asset-delivery or anonymous-session issue, so I wouldn’t assume the public-access setting is the problem. Community Cloud app settings do control public/private access, but the docs don’t describe this specific failure mode (app settings).

  1. In the browser Network tab, capture the failing asset URLs, response bodies, and timestamps; also save the Community Cloud app logs around the same time.
  2. Share those details, plus the relevant app code or a minimal reproducible example, in the Streamlit deployment issues forum. The deployment documentation directs users with deployment errors to troubleshooting resources and the community forum (Community Cloud overview).
  3. Since you’ve already tested browsers, networks, refreshes, and rebooting, repeating those checks is unlikely to clarify the asset failures. The available sources don’t provide a specific fix for HTTP 500 errors on JavaScript assets.

Sources:

Sources: