Skip to content

Troubleshooting

Fast triage order

If you do not know where to start, use this order first:

  1. loopforge doctor
  2. loopforge config validate
  3. the most recent workspace report or failing command output

First step: run loopforge doctor

If you’re not sure what’s wrong, start here:

loopforge doctor

It checks: ~/.loopforge paths, config.toml, provider env vars, Ollama connectivity (when local), browser/CDP connectivity, and core tooling like git.

Docs site shows “There isn't a GitHub Pages site here” / “GitHub Pages is designed to host…”

If https://os.rexai.top/ shows the GitHub Pages placeholder/404 page, it usually means the repo's Pages site hasn’t been enabled yet (or the Docs workflow never deployed).

Fix (repo maintainer):

1) Open the repo: Settings → Pages 2) Under Build and deployment, set Source to GitHub Actions 3) Re-run the Docs workflow in Actions

Validate:

curl -I https://os.rexai.top/

Expected: 200 (or at least not the GitHub “Site not found” 404).


Ollama: connection refused / model not found

LoopForge defaults to Ollama at http://127.0.0.1:11434/v1.

1) Make sure Ollama is running:

ollama serve

2) Check the OpenAI-compatible endpoint:

curl -s http://127.0.0.1:11434/v1/models | head

3) If your model isn’t available, pull it (or change default_model in ~/.loopforge/config.toml):

ollama pull llama3.2

Windows: bash/WSL issues

LoopForge supports Windows natively (PowerShell). If you see errors like:

  • Windows Subsystem for Linux has no installed distributions

You’re likely invoking bash via a WSL shim. Prefer:

  • .\init.ps1 (PowerShell) on Windows

The harness workspace includes both init.sh and init.ps1.


Provider API keys not picked up

Providers read keys from the env var in api_key_env in ~/.loopforge/config.toml.

Example (Zhipu GLM native):

export ZHIPUAI_API_KEY="id.secret"

If the key looks like id.secret, LoopForge will sign a short-lived JWT automatically.