Commit fed706b
fix(examples): bind the multi-tenant demos to loopback (#72)
cmcp-runtime now refuses to start tokenless on a non-loopback address:
CONFIG_ERROR: Tokenless development mode may only bind to a loopback
address. Use 127.0.0.1:<port>, localhost:<port>, or [::1]:<port>, or
configure CMCP_BEARER_TOKEN for non-loopback access.
Both multi-tenant configs bind 0.0.0.0:8443 and the smoke workflow runs them
under CMCP_DEV_MODE=1, so the gateway aborted at startup and "Wait for gateway"
timed out. Nothing had run on this repo since 2026-08-03, so it went unnoticed
for a week.
Loopback rather than a bearer token because these are demo configs run locally
and by smoke: the smoke job already talks to localhost:8443, and an example that
ships 0.0.0.0 with no token is not a topology anyone should copy.
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent 8e72aee commit fed706b
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments