Symptom-first diagnosis
Find the first boundary that failed.
Start with the Check button, preserve local data before resetting anything, and distinguish a provider failure from IdeaForge's deliberate checklist fallback. Most local-model problems are one of four boundaries: process, address, CORS, or browser permission.
The short decision tree
-
Does the page boot?
If not, use a real
http://orhttps://origin, check the browser console for a missing static file or CSP violation, and use the page-startup branch. - Does Check the key or Check the connection pass? If not, do not start an interview yet. Follow the hosted-provider or local-provider branch.
- Does the turnline say built-in checklist? The app is alive, but the model call or model output failed for that turn. Follow checklist fallback.
- Is the problem limited to saving, voice, Docker, or validation? Skip directly to the matching branch below; those subsystems have separate permissions and failure modes.
The page does not load or stays blank
1. Confirm the URL is an origin
file:// is unsupported. From a clone, run:
npm run serve
# open http://127.0.0.1:8765
If another static server is used, verify that it serves JavaScript modules with normal browser-readable MIME types and preserves the repository's relative paths.
2. Check the first failed resource
Open developer tools, reload, and inspect Console and Network. A missing module,
blocked stylesheet, wrong subpath, or CSP violation is more useful than a later
cascade of undefined errors. The application must work both at an origin
root and under a Pages-style subpath; do not rewrite its relative URLs to root
absolute paths.
3. Refresh a stale service worker without deleting sessions
- Reload once, wait for the service worker update, then reload again.
- Close other tabs for the same origin if an old page remains open.
- If the shell is still stale, remove the IdeaForge service worker and its Cache Storage entry in developer tools, then reload.
- Leave IndexedDB alone unless you have already backed up the library. Cache Storage and IndexedDB are different stores.
The service worker never handles the guide/ path, so a stale guide page
is an ordinary HTTP or browser-cache issue rather than the app-shell cache.
Start or Resume asks for interview-text agreement
Read the provider-named disclosure at web Ready or in Settings → Connection, then affirm the unchecked agreement. Android saves agreement with the connection. A saved key, passing check or microphone permission does not authorise interview transfer. Changing provider kind or a validated local server address requires fresh agreement, even when switching back; changing only a model does not.
If preferences are unreadable or acceptance cannot be saved, fix device/site storage rather than repeating model requests. Local ideas can still be read and exported. A failed withdrawal blocks the current page/process but may leave an old stored acknowledgement; resolve storage and withdraw successfully before restarting. See the privacy policy.
A hosted key check fails
Start distinguishes not checked, checking, checked this visit and check failed. A saved key is not a passed check. Choose Change connection to reveal its fields; edits invalidate the old proof and delayed checks cannot certify a different configuration. Checking is optional, so a ready summary is not a network guarantee. Key errors appear beside the field as well as in the dismissible error message.
- Confirm the provider selection matches the key issuer. A key from one provider cannot be used through another provider's preset.
- Create a new scoped key in the provider console. Paste it directly, avoid copying surrounding quotes, and press Check the key again.
- Read the error class. Authentication needs a key change; rate limiting needs time or a provider-side limit change; overload is usually transient; a deadline suggests an unreachable or stalled service; a bad response points to incompatible model output.
- Check browser interference. A privacy extension, enterprise filter, VPN, DNS filter, or network proxy can block the provider origin before the browser exposes an HTTP response.
- Use the provider status and account pages. Confirm the project is active and the key has permission and remaining quota. Do not paste the key into an issue or screenshot.
/models first so Check the key can give a more useful result.
| Symptom | Likely class | Action |
|---|---|---|
This provider needs an API key |
Configuration | Paste or restore the key for the currently selected provider. |
| HTTP 401 or 403 | Authentication or authorisation | Replace or re-scope the key; verify the provider project. |
| HTTP 429 | Rate limit | Wait for the provider's retry window or raise the account limit. |
| HTTP 503, 529, or another server error | Overload | Retry after a short wait or choose another provider. |
did not answer within ... |
Request deadline | Check provider reachability; for local models, check load and memory. |
reply was cut off by the token limit |
Unusable response | Use the current preset or a local model with adequate context and output capacity. |
A local connection check fails
Work through these in order. Each step proves a different boundary.
1. Prove the server process answers on the host
For Ollama:
curl http://127.0.0.1:11434/api/version
curl http://127.0.0.1:11434/v1/models
For LM Studio's default address:
curl http://127.0.0.1:1234/v1/models
If the direct request fails, fix or start the model server before changing IdeaForge.
If it answers but lists no models, pull or load one.
In Windows PowerShell, use curl.exe if curl is mapped to
Invoke-WebRequest.
2. Use the API root, not an individual endpoint
The server address normally ends in /v1. IdeaForge appends
/models and /chat/completions. Do not paste the full
/chat/completions URL.
3. Use explicit IPv4 loopback
Try 127.0.0.1 instead of localhost. Do not use
0.0.0.0, a LAN address, or bracketed [::1]. If
localhost and 127.0.0.1 show different model lists, two
local servers are answering on different address families. Choose one explicitly.
4. If the app is hosted, fix CORS
-
Ollama: set
OLLAMA_ORIGINSto the app's exact origin and restart the Ollama process or service. - LM Studio: enable CORS in the server settings, or start the server with its CORS option.
-
A page origin contains the scheme and host, not the path. For the public Pages
deployment, allow
https://jaypetez.github.io, not the/ideaforge/path.
5. If using Chrome from a hosted page, allow Local Network Access
Press Check the connection and accept Chrome's site permission. If it was denied earlier, reset the site's Local Network Access permission in browser settings, reload, and press Check again. A CORS fix cannot substitute for this permission, and the permission cannot substitute for CORS; both must pass.
6. If using Safari from a hosted page, move the app local
Serve IdeaForge at http://127.0.0.1:8765. The shipped app does not
support the hosted-HTTPS to local-HTTP path in Safari.
7. If using a phone, stop using the computer's localhost
On a phone, localhost means the phone. IdeaForge intentionally refuses
a computer's 192.168.x.x address. Use a hosted model on the phone or run
the app on the computer with the model.
8. If the list fails but the server is compatible, type the model
Both model fields are editable inputs, not locked selects, for every provider. A
custom server may omit /models yet still implement chat completions,
and a hosted catalogue may not list a model your account can actually reach. Type
the exact identifier and start only after proving that the chat endpoint answers.
See CORS, Local Network Access, and Safari for the full browser matrix.
Docker does not start or is unexpectedly slow
| Symptom | What it means | Action |
|---|---|---|
could not select device driver "nvidia" |
The repository Compose GPU reservation cannot be satisfied. | Install the NVIDIA Container Toolkit, follow the release file's marked CPU instructions, or run the model natively and containerise only IdeaForge. |
| Port 11434 is already allocated | A native or second containerised Ollama already owns the port. |
Stop the unintended server, or set IDEAFORGE_OLLAMA_PORT and
enter the matching 127.0.0.1 address in IdeaForge.
|
| The app opens but no model is found | The app container and model container have separate jobs. |
Run docker compose exec ollama ollama list, pull a model if
needed, then press Check the connection again.
|
| Inference works but is extremely slow | Ollama may have fallen back to CPU or offloaded only part of the model. | Inspect GPU device requests and run the real-model validator before changing the app. |
A release remains old after up -d |
Compose reused the image already present locally. | Run docker compose pull, then up -d. |
| Models disappeared | The named volume was removed or a different project name is in use. |
Check docker volume ls. Avoid down -v when model
retention matters.
|
Useful first commands:
docker compose -f docker/compose.yml ps
docker compose -f docker/compose.yml logs --tail 100 ollama
docker compose -f docker/compose.yml exec ollama ollama list
docker inspect <ollama-container> --format '{{json .HostConfig.DeviceRequests}}'
The interview uses the built-in checklist
This is a degraded but intentional path, not data loss. The seed question never needs a model. For later turns, IdeaForge falls back when the provider is absent, unreachable, times out, returns unusable JSON, or produces a question that remains repetitive or compound after one regeneration.
- Read the error message; it names the provider or response failure and stays on screen until you dismiss it or leave that screen.
- Return to Settings and run Check the key or Check the connection.
-
For a local model, inspect the browser console for
[ideaforge]warnings. They distinguish absorbed model-shape quirks from a turn that had to fall back. - If a small local model trips a question-quality guard once, retry the validation run before treating it as an application regression. Repeated bank turns with network errors are a server or browser problem, not model luck.
The completed screen records whether any question came from the checklist. A successful-looking export alone is not proof that the provider worked.
The wrap-up fails
The synthesis call is larger than an ordinary turn because it uses the interview transcript to produce the title, refined prompt, assumptions, and open questions. Local models that handled short turn prompts can fail here because of context, memory, output length, or model-shape limits.
- Keep or download the document already shown. The transcript, coverage, and open questions remain; the refined prompt is marked as not generated.
- Check that the model remains loaded and has enough memory for the larger context.
- Run
npm run validate:localto exercise the same final synthesis. - Reopen the idea and ask for more only after the provider is healthy; reopening continues from the saved session rather than reconstructing it from the export.
A session is not saved or disappears
IdeaForge surfaces IndexedDB failures with a message telling you to export before closing the tab. Common causes are private browsing restrictions, disabled site storage, quota pressure, browser eviction, or a database upgrade blocked by another open tab.
- Keep the tab open and export the current idea immediately.
- Close other IdeaForge tabs, then reload and retry.
- Check that browser storage is allowed for the exact origin you are using.
- Install the app if practical, then start or import again so persistence is requested.
- Back up the whole Ideas library before clearing any site data.
If a saved key disappears while sessions remain, the wrapping key may have been evicted independently of the ciphertext. IdeaForge deletes the now-undecryptable credential payload and asks you to paste the key again rather than looping forever.
Voice or dictation is unavailable
- Confirm microphone permission for the exact app origin and the selected Dictation setting. Off — keyboard only disables voice input, not a provider connection.
- Read the message on the voice stage or the error on screen. It distinguishes the two causes that look identical from inside the page: a microphone blocked for the site, which you fix in the browser's site settings before tapping Resume, and a recogniser that exists but fails its proof-of-life check, which you work around by choosing hosted transcription. Exit restores typing without ending the interview.
- If browser recognition is unavailable, particularly in an installed iPhone app, configure Groq or OpenAI transcription. A speech-output key cannot provide dictation. Physical Android/iPhone behaviour for the redesign remains untested.
- If inference and transcription use different providers, paste the separate transcription key. If both use Groq or both use OpenAI, the inference key is reused automatically.
- Test a short recording. An empty or extremely short capture is discarded rather than sent for transcription.
- If a dictated answer repeats its opening words, first rule out a stale app shell with the reload procedure. If it persists, report the browser, device and microphone route; do not assume every repeated phrase is a version problem.
See Mobile and voice for hands-free commands, trigger-word rules, and platform-specific setup.
The meter is still, but dictation works
A level display needs actual microphone samples. Some browsers cannot share input between native recognition and a separate level monitor. IdeaForge turns the monitor off with an explanation rather than making recognition fail for a waveform. A still indicator while speaking, processing or paused is intentional; it is not a recording meter for the assistant’s output.
The bars move but no words appear
This usually means the level bars are keeping the microphone from the browser recogniser. Android may not let both use it at once, and it raises no error when that happens. IdeaForge judges it by behaviour: about two and a half seconds of speech on the bars with no word from the recogniser, or a capture that ends with no word after the bars measured about a second of speech. It then switches the bars off until the page is reloaded.
The words spoken while the bars were on were never heard. Hands-free treats that capture as a miss and follows its recovery steps; give the whole answer again rather than only the rest of it. Press-to-talk retries once without the bars, so repeat whatever is missing from the answer box.
This detection has only been exercised against a scripted recogniser. It has not been confirmed on a physical Android device, so if the bars stay off and words still do not appear, choose hosted transcription and report the device and browser.
Voice has paused or will not resume by speech
Paused means the microphone is released. Saying resume
cannot wake it;
tap Resume. If the button is temporarily unavailable, captured
audio may still be finishing transcription. Read any failure message and check
the retained draft. A submitted model request may also finish while paused,
without starting the next capture.
Leaving the page or putting it in the background pauses the voice run. A wake lock
is best-effort and does not grant background or lock-screen operation.
pause voice
and exit voice
are whole-utterance commands only while
listening; neither interrupts a spoken reply. Use the on-screen buttons instead.
Questions appear, but spoken replies fail
- Exit to the manual interview and open Settings. Expand Voice and speaking pace and try Preview voice from a tap. Check device volume and audio route, and choose another browser voice if the saved one has disappeared.
- Check the voice’s on-device/network label. Browser voices and recognition are not guaranteed offline. The browser decides which voices are exposed; a voice installed elsewhere on the device need not appear in this list.
- For OpenAI speech, enter its separate key, confirm synthetic speech, metered use and text transfer, then use Check and preview OpenAI voice. Passing Check the key for the question model does not pass this speech check.
- If the hosted preview fails, read its error. A rejected key, unavailable service, CORS-blocked response, invalid audio or blocked playback are different failures. Do not widen the CSP, add a proxy or treat a browser fallback as a hosted success.
- After a hosted failure during the interview, check the visible backend label: browser speech is the fallback. If that cannot play either, use Resume for a fresh gesture or Exit to continue typing.
The real-model validator fails
| Failed claim | Meaning | Next action |
|---|---|---|
| No Chrome found | The harness cannot discover a supported browser binary. | Set CHROME_PATH to Chrome or Chromium. |
| Ollama is unreachable | OLLAMA_URL does not answer the native API. |
Start Ollama and use explicit 127.0.0.1. |
| The address names more than one server | localhost resolves to different Ollama instances. |
Set OLLAMA_URL to the intended numeric loopback address. |
| The model is not pulled | The requested identifier is absent from /api/tags. |
Pull that exact model or change IDEAFORGE_MODEL. |
| The model does not load onto the GPU | GPU access is missing or the model does not fit as expected. |
Fix the runtime or deliberately set VALIDATE_ALLOW_CPU=1 to
continue without claiming a GPU pass.
|
| The browser reached a different server | The harness and page resolved the model address differently. | Replace localhost with 127.0.0.1 everywhere. |
| A question came from the checklist | The real provider call or model output failed during the run. | Read the on-screen error and [ideaforge] console warning, then rerun. |
| Too few browser POSTs | The run completed through fallback rather than real inference. | Fix the first provider/network failure; the export itself is not evidence. |
| Synthesis is not generated | The model failed the larger wrap-up request. | Check context capacity, memory residency, and the model's JSON reliability. |
Full validator setup and environment controls are in Validate a real model.
Report a reproducible problem
For an ordinary bug, open a GitHub issue with:
- the exact app origin and whether it was hosted, local, or containerised;
- browser and operating-system versions;
- the selected provider, both model choices, and for local models the base URL;
- for voice, the input and output choices, visible state, audio route and tab/installed mode;
- the complete visible error and relevant console warning;
- whether Check the key or Check the connection passed;
- the smallest safe reproduction, with all API keys and sensitive transcript text removed.
Report suspected credential exfiltration, script execution, or cross-origin storage access through private vulnerability reporting, not a public issue.
Implementation references
Provider error classes and retry policy are in
src/providers/errors.js.
Local diagnostics and request deadlines are in
src/providers/http.js
and
src/providers/openaiCompat.js.
The fallback path is coordinated by
src/runtime/turn.js.
Storage errors and recovery are in
src/store/db.js
and
src/store/secrets.js.
Docker diagnostics come from
docker/compose.yml
and
tools/validate-local.mjs.
Voice input and meter degradation are in
src/voice/index.js.
Output results and fallback are in
src/voice/output.js;
the stage lifecycle and recovery controls are coordinated in
src/ui/app.js.