ctl_bad_response

Diagnostic `nanook::ctl::bad_response`

Summary

response body parse failed: {0}

Help

the admin endpoint returned an unexpected payload; protocol mismatch?

Details

When this fires

The Control client in nanook-admin/src/client/ (HTTP, Unix, or websocket) reached the admin endpoint, but facet_json could not parse the body into the expected shape. Usually that means the client and agent are on mismatched versions, something in the middle is rewriting responses (a captive portal, a misconfigured reverse proxy), or you pointed the CLI at a URL that isn't actually a nanook admin.

What to check

  • Compare versions and fetch the raw body to eyeball it:
nanook --version
nanook ctl state --raw
curl -sS http://127.0.0.1:9100/state | head
  • Rule out a proxy injecting HTML error pages, and confirm the URL really is the nanook admin port.