[Bug] White screen / "Application error" - crypto.randomUUID is not a function

Open
#3,393 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #3485 by @MaxwellCalkin — closed without merging
  • #3574 by @guoyangzhen — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker-compose, next.js, typescript
Domain
frontend

Research direction

Reproduce the post-login failure in the self-hosted Docker setup and inspect the browser console stack for the crypto.randomUUID error. The issue does not name a source file or test, so first locate the client-side code responsible; done means the app no longer shows a white screen after login in the reported browsers.

Written by the indexing model from the issue text.

Description

Environment

  • Self-hosted via Docker (docker-compose.prod.yml)
  • simstudio image: ghcr.io/simstudioai/simstudio:latest
  • Next.js 16.1.6
  • Access: http://192.168.1.52:3000 (local network)

Symptom

After logging in, the screen goes white and displays:

"Application error: a client-side exception has occurred (see the browser console for more information)"

Console Error (root cause)

TypeError: crypto.randomUUID is not a function
    at eR (http://192.168.1.52:3000/_next/static/chunks/86cfdb2b28a0ba33.js:1:41123)

Additional Console Messages

  • Cross-Origin-Opener-Policy header ignored (HTTP / non-HTTPS origin)
  • 404 on some resources
  • 401 Unauthorized on some API calls after login

Reproducibility

Reproduced with Playwright (Chromium) automation. Also occurs in Safari and Chrome when accessing manually.

Related

  • Similar to #1726 (blank page)
  • crypto.randomUUID is a known Next.js Client Component issue when used during SSR (see Next.js docs)

Workaround Tried

  • Cleared browser cookies: no effect
  • OLLAMA_URL disabled: reduced logs but white screen persists

Thank you for maintaining simAI. We use it for order confirmation workflow (発注確認レポート).

Dominant language
TypeScript
Stars
29.8k
Forks
3.9k
Avg merge
1h 43m
Merged PRs (30d)
937

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from simstudioai/sim

All issues in simstudioai/sim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.