src/process/resources/skills/star-office-helper/references/troubleshooting.md
Unauthorized on 127.0.0.1:<port>Common causes:
state.json missing or invalid.Actions:
state.json exists (copy from state.sample.json if needed).cd backend && ../.venv/bin/python app.pyhttp://127.0.0.1:19000) instead of backend API port.bash skills/star-office-helper/scripts/star_office_doctor.sh and check port + HTTP status.pip install fails with externally-managed-environmentCause:
Fix:
python3 -m venv .venv.venv/bin/python -m pip install --upgrade pip.venv/bin/python -m pip install -r backend/requirements.txtAvoid:
--break-system-packages unless user explicitly requires system install.Cause:
Checklist:
19000) is reachable.18791 vs 19000)Typical mapping:
18791: backend/service/auth endpoint (may return Unauthorized).19000: frontend visual UI for browser preview.Rule: