[Bug] White screen / "Application error" - crypto.randomUUID is not a function
Maintainers usually reply within 1 day
Nobody has claimed this yet.
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.randomUUIDis 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from simstudioai/sim
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
simstudioai/sim#10710 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
simstudioai/sim#10708 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
simstudioai/sim#10706 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
simstudioai/sim#10704 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
simstudioai/sim#10702 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
melgarafael/DeskcommCRM#5614 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 76/100
slackapi/slack-health-score#253 ·
Maintainers usually reply within 1 day
-
feature needs triage site
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
owid/owid-grapher#8019 ·
Maintainers usually reply within 1 day
-
via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
bug:new
Difficulty 2/5 1-3 hours Newbie friendliness 73/100
callstackincubator/simlock#2088 ·
Maintainers usually reply within 1 day