Troubleshooting
Start with toge doctor. Here are the usual problems and their fixes.
Start here:
toge doctor
toge’s hooks stay quiet so they never get in your agent’s way. doctor is where they speak up:
it tells you what’s missing.
The bar says “not connected”
No agent session is listening for the page. Usually one of these:
- The hooks aren’t installed, or are from an older toge.
doctorwill say. Runtoge install <agent>and restart your agent’s sessions. - The agent hasn’t finished its turn yet. Hooks start listening when a turn ends.
- The session was closed. Ask a new session to
toge openthe page again. Your threads stay.
Your comments are saved in the meantime. Send them once the agent is back.
I sent comments, but the agent never answered
A thread says sent until an agent picks it up, then with agent. If it stays on sent, no
session is listening (see above). If it says with agent, the agent has it; ask it in the chat.
The page doesn’t reload when the agent edits it
toge watches the file while the page is open in a tab. If the agent wrote to a different file,
toge open that one.
A shared link doesn’t open
- “Works only on the network it was made on”: you changed networks. Share again from here.
- Someone’s phone can’t connect: check it’s on the same wifi. Some office and café networks stop devices from reaching each other; use Cloudflare instead.
- The gist is cut off: gistpreview only shows about 1 MB. Host toge’s own viewer (see Sharing).
- The Share panel says to reconnect your Worker: run
toge connect cloudflareagain.
Two OpenCode or Pi sessions in one folder
They can’t tell toge which session they are, so the first one to ask takes the folder’s pages.
Open pages with --session to be sure.
Logs
They’re in ~/.toge/server.log. To restart toge, run toge stop; the next toge open starts it
again.