Report Won’t Load or Times Out on Cloud Run

Troubleshooting

⚠️ Report Won’t Load or Times Out on Cloud Run

If your report isn’t loading or appears to “hang” when generating, don’t worry — this usually means your Cloud Run job is still processing data or the request exceeded the browser timeout window. Here’s how it works and how to fix it.


🧠 Why It Happens

Each time you run a Sesh, the app triggers a background Cloud Run task that:

  1. Fetches data from multiple APIs (GA4, GSC, and several LLMs)

  2. Generates a summary, visuals, and PDFs

  3. Saves everything to your report cache

Depending on the complexity of your prompts or number of models selected, this process can take 1–3 minutes.
If your browser times out before the job completes, you’ll see a loading spinner or blank screen instead of a report.


🧩 Common Causes

  • Network timeout: Browser disconnected before Cloud Run finished

  • Large prompt sets: Too many LLM queries in one run (especially multi-model)

  • GA4 or GSC delays: External APIs throttled or rate-limited the data fetch

  • Concurrent reports: Running multiple Seshes simultaneously can queue tasks


🔧 Quick Fixes

  1. Wait and refresh.
    Most reports continue processing in the background. Wait 2–3 minutes and refresh the dashboard.

  2. Check the “Jobs” dropdown or Overview page.
    If your Sesh completed successfully, you’ll see a notification or “New Report Ready” message with a direct link.

  3. Avoid running too many models at once.
    Try generating with fewer LLMs selected (e.g., GPT-4 + Gemini first) and add others later.

  4. If it still fails, view logs.
    Admin users can go to:

    gcloud beta run services logs tail llm-brand-tracker --region=us-central1

    Look for Job timeout, Task error, or OpenAI rate limit messages.


🧩 Best Practices

  • Schedule large Seshes during off-peak hours.

  • Use the in-app job notification system rather than waiting on the report page.

  • Make sure your Cloud Run concurrency is set between 10–20 for best stability.


💬 Still Stuck?

If your report fails repeatedly, take a screenshot of the loading state or error message and email it to
📧 support@seshes.ai with subject “Report Timeout”.
Include your brand name and approximate run time — we’ll inspect the logs and help you resolve it quickly.