Troubleshooting
The Docs Site Or Local Preview Does Not Load
For local documentation work, start VitePress from the docs checkout and open the printed loopback URL:
npm ci
npm run devFor a production Pages URL, confirm that the repository's Pages workflow has completed and that your browser is using the documented base path.
The Chat Workbench Cannot Query a Source
Check the Knowledge Source first:
curl -s http://127.0.0.1:8765/health
curl -s http://127.0.0.1:8765/manifestUse your configured source port if you started llmwiki-serve on a different port. Then confirm the browser origin is allowed by the serve subcommand's --cors-origin option. Loopback origins are allowed by default when no explicit CORS origins are set:
uv run llmwiki-serve serve /path/to/wiki --cors-origin http://127.0.0.1:5173If chat shows a diagnostic report, read scope, phase, protocol, and observations together instead of looking for a product-specific failure code. For example, scope: "client" with phase: "connection" means the browser could not reach the source; scope: "bridge" with phase: "request" means the bridge process reached the source path but the request failed. See Diagnostics.
HTTP Sources Are Rejected
HTTP Knowledge Sources are intended for local, private, or explicitly trusted networks. If a browser, bridge, or deployment policy rejects an HTTP source, either keep the source on loopback/private network or put TLS and authentication in front of it.
Use the URL Policy Matrix to identify which component is rejecting the URL. Chat runtime URL policy, browser-to-source CORS, bridge outbound source policy, and A2A source message URL checks are separate boundaries.
Loopback URLs are process-local. If the browser is on one machine and the bridge is on another, http://127.0.0.1:8765 points at different machines. Use a URL that is reachable from the component that is making the call.
No Evidence Is Returned
Check whether the relevant pages are approved for serving. Draft, proposed, published: false, publish: false, and draft review-state pages are withheld from default network responses.
For source layout issues, run the local CLI query against the same root:
cd /path/to/llmwiki-serve
uv run llmwiki-serve query /path/to/wiki "what is in this wiki?"The Bridge Returns Source Query Failed
Verify each selected source has:
status: "ready"- a supported protocol:
llmwiki-http,mcp, ora2a - a reachable URL
selectedunset ortrue- an origin allowed by the bridge source policy
Bridge diagnostics should identify whether the failure was observed during configuration, discovery, authorization, connection, request, or response. When the run still has usable evidence from other sources, per-source failures appear as warning or error trace steps inside the returned answer artifact instead of failing the whole request.
CI Fails After Documentation Edits
Run the same local checks before pushing:
npm ci
npm run checkIf only Pages deploy is skipped, confirm whether Pages is enabled for the repository and whether the workflow has the required write permissions.