You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f76e3c1
Browse filesBrowse the repository at this point in the historyBrowse files
-**BREAKING:** Control UI now rejects insecure HTTP without device identity by default. Use HTTPS (Tailscale Serve) or set `gateway.controlUi.allowInsecureAuth: true` to allow token-only auth. https://docs.clawd.bot/web/control-ui#insecure-http
19
+
17
20
### Fixes
18
21
- Gateway: keep auto bind loopback-first and add explicit tailnet binding to avoid Tailscale taking over local UI. (#1380)
19
22
- Embedded runner: persist injected history images so attachments aren’t reloaded each turn. (#1374) Thanks @Nicell.
Copy file name to clipboardExpand all lines: docs/gateway/troubleshooting.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,6 +31,19 @@ See also: [Health checks](/gateway/health) and [Logging](/logging).
31
31
32
32
## Common Issues
33
33
34
+
### Control UI fails on HTTP ("device identity required" / "connect failed")
35
+
36
+
If you open the dashboard over plain HTTP (e.g. `http://<lan-ip>:18789/` or
37
+
`http://<tailscale-ip>:18789/`), the browser runs in a **non-secure context** and
38
+
blocks WebCrypto, so device identity can’t be generated.
39
+
40
+
**Fix:**
41
+
- Prefer HTTPS via [Tailscale Serve](/gateway/tailscale).
42
+
- Or open locally on the gateway host: `http://127.0.0.1:18789/`.
43
+
- If you must stay on HTTP, enable `gateway.controlUi.allowInsecureAuth: true` and
44
+
use a gateway token (token-only; no device identity/pairing). See
45
+
[Control UI](/web/control-ui#insecure-http).
46
+
34
47
### CI Secrets Scan Failed
35
48
36
49
This means `detect-secrets` found new candidates not yet in the baseline.
Copy file name to clipboardExpand all lines: docs/web/control-ui.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,33 @@ Then open:
86
86
87
87
Paste the token into the UI settings (sent as `connect.params.auth.token`).
88
88
89
+
## Insecure HTTP
90
+
91
+
If you open the dashboard over plain HTTP (`http://<lan-ip>` or `http://<tailscale-ip>`),
92
+
the browser runs in a **non-secure context** and blocks WebCrypto. By default,
93
+
Clawdbot **blocks** Control UI connections without device identity.
94
+
95
+
**Recommended fix:** use HTTPS (Tailscale Serve) or open the UI locally:
-`http://127.0.0.1:18789/` (on the gateway host)
98
+
99
+
**Downgrade example (token-only over HTTP):**
100
+
101
+
```json5
102
+
{
103
+
gateway: {
104
+
controlUi: { allowInsecureAuth:true },
105
+
bind:"tailnet",
106
+
auth: { mode:"token", token:"replace-me" }
107
+
}
108
+
}
109
+
```
110
+
111
+
This disables device identity + pairing for the Control UI. Use only if you
112
+
trust the network.
113
+
114
+
See [Tailscale](/gateway/tailscale) for HTTPS setup guidance.
115
+
89
116
## Building the UI
90
117
91
118
The Gateway serves static files from `dist/control-ui`. Build them with:
0 commit comments