openclaw - 💡(How to fix) Fix [Bug]: OpenClaw Control UI bootstrap blocked by CSP + Zone.js; gateway start/stop loops cause terminal flashing; no durable fix via CLI install options [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#72931Fetched 2026-04-28 06:30:06
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Participants
Timeline (top)
labeled ×2

Bundled OpenClaw Control UI fails to bootstrap. The UI renders a blank/blue screen or restarts when the gateway is restarted via CLI stop/uninstall/install/start. Root cause appears to be a CSP in the gateway blocking inline scripts (Zone.js) and external fonts; UI build likely expects Zone.js. This is a global bug, not isolated to one machine.

Error Message

NG0908 bootstrap error: Angular requires Zone.js

Root Cause

Bundled OpenClaw Control UI fails to bootstrap. The UI renders a blank/blue screen or restarts when the gateway is restarted via CLI stop/uninstall/install/start. Root cause appears to be a CSP in the gateway blocking inline scripts (Zone.js) and external fonts; UI build likely expects Zone.js. This is a global bug, not isolated to one machine.

Code Example

config-audit.jsonl:

{"ts":"2026-04-23T20:04:59.083Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19040,"ppid":10944,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","onboard"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":false,"previousHash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","nextHash":"ab72e6f03f60b7a392980bfe02cc6fba1eee7f3b296e298e187a3704e569fad6","previousBytes":null,"nextBytes":1147,"previousDev":null,"previousIno":null,"previousMode":null,"previousNlink":null,"previousUid":null,"previousGid":null,"changedPathCount":null,"hasMetaBefore":false,"hasMetaAfter":true,"gatewayModeBefore":null,"gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3659174697557506","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-23T20:43:42.247Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19040,"ppid":10944,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","onboard"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"ab72e6f03f60b7a392980bfe02cc6fba1eee7f3b296e298e187a3704e569fad6","nextHash":"96144a51eaded97b48060747e4b737752987e5731dde76d38c918ea10c2895cb","previousBytes":1147,"nextBytes":1499,"previousDev":"35865887","previousIno":"3659174697557506","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3377699721011488","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-23T20:43:53.895Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8260,"ppid":19040,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"96144a51eaded97b48060747e4b737752987e5731dde76d38c918ea10c2895cb","nextHash":"ff84d2779631a2f9c9b85999bc23ba04d447387cf65968f7fc8a5b2078f2a536","previousBytes":1499,"nextBytes":1553,"previousDev":"35865887","previousIno":"3377699721011488","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"281474977455936","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:17:40.702Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":16280,"ppid":13420,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.model.primary","anthropic/claude-haiku-4-5"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"5954eabae6fe3b3c26fd005ca65a17e6adac589e968ab70f0fb6c35774d28701","nextHash":"498470d3aaa311880f711557080ed155f6bd2a3aa3b5d3608afba0a84d8018b1","previousBytes":1638,"nextBytes":1639,"previousDev":"35865887","previousIno":"281474977455936","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"24769797950539390","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:17:40.702Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15712,"ppid":8468,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.subagents.model","anthropic/claude-haiku-4-5"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"5954eabae6fe3b3c26fd005ca65a17e6adac589e968ab70f0fb6c35774d28701","nextHash":"d10009a70fd623b0fe8087c24876665d470da0812698a2f9c5c9045affcd6a8d","previousBytes":1638,"nextBytes":1714,"previousDev":"35865887","previousIno":"281474977455936","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"24769797950539390","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:21:10.424Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15876,"ppid":12192,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.model.primary","anthropic/claude-haiku-4-5"],"execArgv":[],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d10009a70fd623b0fe8087c24876665d470da0812698a2f9c5c9045affcd6a8d","nextHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","previousBytes":1714,"nextBytes":1715,"previousDev":"35865887","previousIno":"24769797950539390","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"15199648742674750","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:06:24.696Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259183604.5286,"ctimeMs":1777259183604.5286,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777051270425.6816,"lastKnownGoodCtimeMs":1777051270431.6836,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777051270425.6816,"backupCtimeMs":1777051270431.6836,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-06-24-696Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:08:59.807Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259339225.2476,"ctimeMs":1777259339225.2476,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777255842632.71,"lastKnownGoodCtimeMs":1777255842632.71,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777255842632.71,"backupCtimeMs":1777255842632.71,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-08-59-807Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:10:24.337Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259423746.8765,"ctimeMs":1777259423746.8765,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777259185243.716,"lastKnownGoodCtimeMs":1777259185243.716,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777259185243.716,"backupCtimeMs":1777259185243.716,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-10-24-337Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:10:48.325Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259447739.427,"ctimeMs":1777259447739.427,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777259340694.896,"lastKnownGoodCtimeMs":1777259340694.896,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777259340694.896,"backupCtimeMs":1777259340694.896,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-10-48-325Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:19:09.051Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8324,"ppid":14428,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","doctor","--fix"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","nextHash":"d70af47e55b078718bd7b46fb1c904bdb1d7f3f072a50c0913b9bc8f8768cecb","previousBytes":2903,"nextBytes":2589,"previousDev":"35865887","previousIno":"15199648742674750","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"2533274791242867","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:26:56.725Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19108,"ppid":11552,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","coder","--model","deepseek/deepseek-coder","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d70af47e55b078718bd7b46fb1c904bdb1d7f3f072a50c0913b9bc8f8768cecb","nextHash":"6e837d8a92183e200e3a2f7fa8ac6ecfdb9afb5a99a8ea3e5fe69a03b404d18c","previousBytes":2589,"nextBytes":2895,"previousDev":"35865887","previousIno":"2533274791242867","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"23925373020693548","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:33:09.009Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":13256,"ppid":22396,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","delete","coder"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"6e837d8a92183e200e3a2f7fa8ac6ecfdb9afb5a99a8ea3e5fe69a03b404d18c","nextHash":"626de6fae9ce5a6965e406524d23b38d630083485e706b4a1c2c45fcbc4b1176","previousBytes":2895,"nextBytes":2647,"previousDev":"35865887","previousIno":"23925373020693548","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"54606145482123290","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:33:22.983Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":21044,"ppid":8492,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","coder","--model","deepseek/deepseek-coder","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"626de6fae9ce5a6965e406524d23b38d630083485e706b4a1c2c45fcbc4b1176","nextHash":"0b6c2f97f9b8420be92fc1c1f02f5a69482bae6fe11b7287bb3d55da6396d1db","previousBytes":2647,"nextBytes":2908,"previousDev":"35865887","previousIno":"54606145482123290","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"12666373952370620","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:36:47.147Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":9688,"ppid":20228,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","researcher","--model","google/gemini-2.0-flash","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"0b6c2f97f9b8420be92fc1c1f02f5a69482bae6fe11b7287bb3d55da6396d1db","nextHash":"fa2fa540cfcfe0e4cf79f3651ad85da2ae5826e87fbd8e2db91b9465626a4a94","previousBytes":2908,"nextBytes":3202,"previousDev":"35865887","previousIno":"12666373952370620","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"26177172834145320","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T14:20:22.992Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15332,"ppid":7272,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","main"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"fa2fa540cfcfe0e4cf79f3651ad85da2ae5826e87fbd8e2db91b9465626a4a94","nextHash":"8503994f4ddcfefc36edbe47e33629897376269ab462d4b5e941e7d07330ac46","previousBytes":3202,"nextBytes":3469,"previousDev":"35865887","previousIno":"26177172834145320","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3096224744310430","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}

config-health.json:
{
  "entries": {
    "C:\\Users\\jerem\\.openclaw\\openclaw.json": {
      "lastKnownGood": {
        "hash": "812f62e5191b990a4c540b37a6dcdd4cc591b85ce873d5d3a922f525867535ab",
        "bytes": 3473,
        "mtimeMs": 1777300038810.1018,
        "ctimeMs": 1777300038810.1018,
        "dev": "35865887",
        "ino": "3096224744310430",
        "mode": 33206,
        "nlink": 1,
        "uid": 0,
        "gid": 0,
        "hasMeta": true,
        "gatewayMode": "local",
        "observedAt": "2026-04-27T15:47:50.936Z"
      },
      "lastObservedSuspiciousSignature": null,
      "lastPromotedGood": {
        "hash": "812f62e5191b990a4c540b37a6dcdd4cc591b85ce873d5d3a922f525867535ab",
        "bytes": 3473,
        "mtimeMs": 1777300038810.1018,
        "ctimeMs": 1777300038810.1018,
        "dev": "35865887",
        "ino": "3096224744310430",
        "mode": 33206,
        "nlink": 1,
        "uid": 0,
        "gid": 0,
        "hasMeta": true,
        "gatewayMode": "local",
        "observedAt": "2026-04-27T15:47:50.936Z"
      }
    }
  }
}
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

Yes

Summary

Bundled OpenClaw Control UI fails to bootstrap. The UI renders a blank/blue screen or restarts when the gateway is restarted via CLI stop/uninstall/install/start. Root cause appears to be a CSP in the gateway blocking inline scripts (Zone.js) and external fonts; UI build likely expects Zone.js. This is a global bug, not isolated to one machine.

Steps to reproduce

  1. Start gateway (openclaw gateway start) and load UI at http://127.0.0.1:18789/
  2. Stop gateway via CLI (openclaw gateway stop)
  3. Uninstall/reinstall gateway, then start
  4. Observe CSP/Zone.js bootstrap failure or a flashing terminal

Expected behavior

UI boots cleanly without CSP violations Gateway stop/start workflow stable (no flashing) CSP relaxable or zoneless UI upstream

Actual behavior

CSP errors block inline scripts and fonts NG0908 bootstrap error: Angular requires Zone.js CLI stop/start loops cause terminal flashing No CSP config exposed in openclaw.json to relax policy

OpenClaw version

2026.4.22

Operating system

Windows 11 Pro

Install method

npm global

Model

openrouter/moonshotai/kimi-k2.5

Provider / routing chain

openclaw -> cloudflare-ai-gateway -> minimax

Additional provider/model setup details

No response

Logs, screenshots, and evidence

config-audit.jsonl:

{"ts":"2026-04-23T20:04:59.083Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19040,"ppid":10944,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","onboard"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":false,"previousHash":"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855","nextHash":"ab72e6f03f60b7a392980bfe02cc6fba1eee7f3b296e298e187a3704e569fad6","previousBytes":null,"nextBytes":1147,"previousDev":null,"previousIno":null,"previousMode":null,"previousNlink":null,"previousUid":null,"previousGid":null,"changedPathCount":null,"hasMetaBefore":false,"hasMetaAfter":true,"gatewayModeBefore":null,"gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3659174697557506","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-23T20:43:42.247Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19040,"ppid":10944,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","onboard"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"ab72e6f03f60b7a392980bfe02cc6fba1eee7f3b296e298e187a3704e569fad6","nextHash":"96144a51eaded97b48060747e4b737752987e5731dde76d38c918ea10c2895cb","previousBytes":1147,"nextBytes":1499,"previousDev":"35865887","previousIno":"3659174697557506","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3377699721011488","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-23T20:43:53.895Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8260,"ppid":19040,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"96144a51eaded97b48060747e4b737752987e5731dde76d38c918ea10c2895cb","nextHash":"ff84d2779631a2f9c9b85999bc23ba04d447387cf65968f7fc8a5b2078f2a536","previousBytes":1499,"nextBytes":1553,"previousDev":"35865887","previousIno":"3377699721011488","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"281474977455936","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:17:40.702Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":16280,"ppid":13420,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.model.primary","anthropic/claude-haiku-4-5"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"5954eabae6fe3b3c26fd005ca65a17e6adac589e968ab70f0fb6c35774d28701","nextHash":"498470d3aaa311880f711557080ed155f6bd2a3aa3b5d3608afba0a84d8018b1","previousBytes":1638,"nextBytes":1639,"previousDev":"35865887","previousIno":"281474977455936","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"24769797950539390","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:17:40.702Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15712,"ppid":8468,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.subagents.model","anthropic/claude-haiku-4-5"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"5954eabae6fe3b3c26fd005ca65a17e6adac589e968ab70f0fb6c35774d28701","nextHash":"d10009a70fd623b0fe8087c24876665d470da0812698a2f9c5c9045affcd6a8d","previousBytes":1638,"nextBytes":1714,"previousDev":"35865887","previousIno":"281474977455936","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"24769797950539390","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-24T17:21:10.424Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15876,"ppid":12192,"cwd":"C:\\Users\\jerem\\.openclaw\\workspace","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","config","set","agents.defaults.model.primary","anthropic/claude-haiku-4-5"],"execArgv":[],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d10009a70fd623b0fe8087c24876665d470da0812698a2f9c5c9045affcd6a8d","nextHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","previousBytes":1714,"nextBytes":1715,"previousDev":"35865887","previousIno":"24769797950539390","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"15199648742674750","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:06:24.696Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259183604.5286,"ctimeMs":1777259183604.5286,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777051270425.6816,"lastKnownGoodCtimeMs":1777051270431.6836,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777051270425.6816,"backupCtimeMs":1777051270431.6836,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-06-24-696Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:08:59.807Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259339225.2476,"ctimeMs":1777259339225.2476,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777255842632.71,"lastKnownGoodCtimeMs":1777255842632.71,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777255842632.71,"backupCtimeMs":1777255842632.71,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-08-59-807Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:10:24.337Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259423746.8765,"ctimeMs":1777259423746.8765,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777259185243.716,"lastKnownGoodCtimeMs":1777259185243.716,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777259185243.716,"backupCtimeMs":1777259185243.716,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-10-24-337Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:10:48.325Z","source":"config-io","event":"config.observe","phase":"read","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8984,"ppid":4588,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\dist\\index.js","gateway","--port","18789"],"execArgv":[],"exists":true,"valid":false,"hash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","bytes":2903,"mtimeMs":1777259447739.427,"ctimeMs":1777259447739.427,"dev":"35865887","ino":"15199648742674750","mode":33206,"nlink":1,"uid":0,"gid":0,"hasMeta":true,"gatewayMode":"local","suspicious":["reload-invalid-config"],"lastKnownGoodHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","lastKnownGoodBytes":1715,"lastKnownGoodMtimeMs":1777259340694.896,"lastKnownGoodCtimeMs":1777259340694.896,"lastKnownGoodDev":"35865887","lastKnownGoodIno":"15199648742674750","lastKnownGoodMode":33206,"lastKnownGoodNlink":1,"lastKnownGoodUid":0,"lastKnownGoodGid":0,"lastKnownGoodGatewayMode":"local","backupHash":"606a909516e1ea79c60c1789f6e60b4efa1d48b7698445bf8acecd6875f10970","backupBytes":1715,"backupMtimeMs":1777259340694.896,"backupCtimeMs":1777259340694.896,"backupDev":"35865887","backupIno":"15199648742674750","backupMode":33206,"backupNlink":1,"backupUid":0,"backupGid":0,"backupGatewayMode":"local","clobberedPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.clobbered.2026-04-27T03-10-48-325Z","restoredFromBackup":true,"restoredBackupPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json.last-good"}
{"ts":"2026-04-27T03:19:09.051Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":8324,"ppid":14428,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","doctor","--fix"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d014c7f2f2cfedbb3565418390d06fd2daa529dadffb857663fe15500207f010","nextHash":"d70af47e55b078718bd7b46fb1c904bdb1d7f3f072a50c0913b9bc8f8768cecb","previousBytes":2903,"nextBytes":2589,"previousDev":"35865887","previousIno":"15199648742674750","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"2533274791242867","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:26:56.725Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":19108,"ppid":11552,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","coder","--model","deepseek/deepseek-coder","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"d70af47e55b078718bd7b46fb1c904bdb1d7f3f072a50c0913b9bc8f8768cecb","nextHash":"6e837d8a92183e200e3a2f7fa8ac6ecfdb9afb5a99a8ea3e5fe69a03b404d18c","previousBytes":2589,"nextBytes":2895,"previousDev":"35865887","previousIno":"2533274791242867","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"23925373020693548","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:33:09.009Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":13256,"ppid":22396,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","delete","coder"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"6e837d8a92183e200e3a2f7fa8ac6ecfdb9afb5a99a8ea3e5fe69a03b404d18c","nextHash":"626de6fae9ce5a6965e406524d23b38d630083485e706b4a1c2c45fcbc4b1176","previousBytes":2895,"nextBytes":2647,"previousDev":"35865887","previousIno":"23925373020693548","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"54606145482123290","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:33:22.983Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":21044,"ppid":8492,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","coder","--model","deepseek/deepseek-coder","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"626de6fae9ce5a6965e406524d23b38d630083485e706b4a1c2c45fcbc4b1176","nextHash":"0b6c2f97f9b8420be92fc1c1f02f5a69482bae6fe11b7287bb3d55da6396d1db","previousBytes":2647,"nextBytes":2908,"previousDev":"35865887","previousIno":"54606145482123290","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"12666373952370620","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T03:36:47.147Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":9688,"ppid":20228,"cwd":"C:\\Windows\\system32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","researcher","--model","google/gemini-2.0-flash","--workspace"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"0b6c2f97f9b8420be92fc1c1f02f5a69482bae6fe11b7287bb3d55da6396d1db","nextHash":"fa2fa540cfcfe0e4cf79f3651ad85da2ae5826e87fbd8e2db91b9465626a4a94","previousBytes":2908,"nextBytes":3202,"previousDev":"35865887","previousIno":"12666373952370620","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"26177172834145320","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}
{"ts":"2026-04-27T14:20:22.992Z","source":"config-io","event":"config.write","configPath":"C:\\Users\\jerem\\.openclaw\\openclaw.json","pid":15332,"ppid":7272,"cwd":"C:\\Windows\\System32","argv":["C:\\Program Files\\nodejs\\node.exe","C:\\Users\\jerem\\AppData\\Roaming\\npm\\node_modules\\openclaw\\openclaw.mjs","agents","add","main"],"execArgv":["--disable-warning=ExperimentalWarning"],"watchMode":false,"watchSession":null,"watchCommand":null,"existsBefore":true,"previousHash":"fa2fa540cfcfe0e4cf79f3651ad85da2ae5826e87fbd8e2db91b9465626a4a94","nextHash":"8503994f4ddcfefc36edbe47e33629897376269ab462d4b5e941e7d07330ac46","previousBytes":3202,"nextBytes":3469,"previousDev":"35865887","previousIno":"26177172834145320","previousMode":438,"previousNlink":1,"previousUid":0,"previousGid":0,"changedPathCount":null,"hasMetaBefore":true,"hasMetaAfter":true,"gatewayModeBefore":"local","gatewayModeAfter":"local","suspicious":[],"result":"rename","nextDev":"35865887","nextIno":"3096224744310430","nextMode":438,"nextNlink":1,"nextUid":0,"nextGid":0}

config-health.json:
{
  "entries": {
    "C:\\Users\\jerem\\.openclaw\\openclaw.json": {
      "lastKnownGood": {
        "hash": "812f62e5191b990a4c540b37a6dcdd4cc591b85ce873d5d3a922f525867535ab",
        "bytes": 3473,
        "mtimeMs": 1777300038810.1018,
        "ctimeMs": 1777300038810.1018,
        "dev": "35865887",
        "ino": "3096224744310430",
        "mode": 33206,
        "nlink": 1,
        "uid": 0,
        "gid": 0,
        "hasMeta": true,
        "gatewayMode": "local",
        "observedAt": "2026-04-27T15:47:50.936Z"
      },
      "lastObservedSuspiciousSignature": null,
      "lastPromotedGood": {
        "hash": "812f62e5191b990a4c540b37a6dcdd4cc591b85ce873d5d3a922f525867535ab",
        "bytes": 3473,
        "mtimeMs": 1777300038810.1018,
        "ctimeMs": 1777300038810.1018,
        "dev": "35865887",
        "ino": "3096224744310430",
        "mode": 33206,
        "nlink": 1,
        "uid": 0,
        "gid": 0,
        "hasMeta": true,
        "gatewayMode": "local",
        "observedAt": "2026-04-27T15:47:50.936Z"
      }
    }
  }
}

Impact and severity

No response

Additional information

During gateway start/stop cycles, the config file is sometimes marked invalid and restored from backup (config-audit.jsonl shows "reload-invalid-config" and "restoredFromBackup" events). This may contribute to the bootstrap failure.

extent analysis

TL;DR

The most likely fix is to relax the Content Security Policy (CSP) in the OpenClaw gateway configuration to allow inline scripts and external fonts, or to modify the UI build to not rely on Zone.js.

Guidance

  1. Investigate CSP configuration: Check the OpenClaw gateway configuration for any CSP settings that may be blocking inline scripts and external fonts.
  2. Relax CSP policy: If a CSP policy is found, try relaxing it to allow the necessary resources, or consider using a more permissive policy.
  3. Verify UI build: Confirm whether the UI build relies on Zone.js and if there are any alternative configurations or workarounds that can be applied.
  4. Monitor config-audit.jsonl: Keep an eye on the config-audit.jsonl file for any "reload-invalid-config" and "restoredFromBackup" events, as these may indicate issues with the configuration file.

Example

No code example is provided, as the issue is related to configuration and not code.

Notes

The provided logs suggest that the configuration file is sometimes marked invalid and restored from backup, which may contribute to the bootstrap failure. It is essential to investigate and address this issue to prevent further problems.

Recommendation

Apply a workaround by relaxing the CSP policy to allow inline scripts and external fonts, as this is the most direct way to address the issue. If this is not possible, consider modifying the UI build to not rely on Zone.js.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

UI boots cleanly without CSP violations Gateway stop/start workflow stable (no flashing) CSP relaxable or zoneless UI upstream

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: OpenClaw Control UI bootstrap blocked by CSP + Zone.js; gateway start/stop loops cause terminal flashing; no durable fix via CLI install options [1 participants]