Repository navigation
Commit f74f671
committed
fix(mxc): redirect LOCALAPPDATA into share_dir for openclaw-gateway example
agent_env's bare "LOCALAPPDATA" entry passed through the gateway host's
real AppData\Local path, which process_container's default-deny
filesystem policy never grants -- the sandbox only gets share_dir.
OpenClaw's gateway uses LOCALAPPDATA as the fallback temp dir for its
SQLite read-only backup worker, so it hit an unwritable path, logged
"Could not start the CLI", and exited before its port came up, timing
out sandbox creation at 300s.
Override it to a path inside share_dir instead (still present and
non-empty, satisfying the documented CreateProcessW requirement noted
above this list). Confirmed against real MXC hardware:
run-openclaw-forward-test.ps1 now passes end to end (sandbox create,
OpenClaw gateway readiness, dynamic forward, real health check).
Signed-off-by: pkhodade <[email protected]>1 parent f3856fe commit f74f671
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
68 | 71 | | |
69 | 72 | | |
70 | 73 | | |
| |||
0 commit comments