Troubleshooting
Common Issues
Solutions to frequently encountered issues in ChatML.
App Won't Start
Backend fails to connect
Symptoms: App opens but shows "Connecting..." indefinitely.
Solutions:
- Check if another ChatML instance is running — quit it first
- Restart ChatML
- If the issue persists, check if ports 9876-9899 are available
macOS security prompt
Symptoms: "ChatML can't be opened because it is from an unidentified developer."
Solution: Go to System Settings > Privacy & Security and click Open Anyway.
API Key Issues
"API key not configured" error
Solutions:
- Go to Settings > Account > Anthropic API Key
- Enter a valid API key (starts with
sk-ant-api03-...) - The key is validated automatically
Agent Issues
Agent not responding
Symptoms: Message sent but no response appears.
Solutions:
- Click the Stop button or press
Cmd+Shift+S - Send a new message — a fresh agent process will spawn
- Check your API key is valid and has available credits
Extended thinking not working
Solutions:
- Check Settings > AI > Extended Thinking is enabled
- Ensure Max Thinking Tokens is set (default: 50,000)
- Verify your selected model supports extended thinking
Git Issues
"Branch already checked out in another worktree"
Solutions:
- Use a different branch name for the new session
- Delete the session that has the branch checked out
- If the worktree is stale:
git worktree remove <path>thengit worktree prune
Session worktree directory missing
Solutions:
- Delete the session from ChatML and create a new one
- To diagnose: run
git worktree listin your repository to see all worktrees
Too many worktrees consuming disk space
Solutions:
- Archive or delete sessions you're done with
- Use the branch cleanup feature to find stale branches
- Note: worktrees share git objects with the main repo, so they're smaller than full clones
Authentication Issues
GitHub OAuth callback fails
Symptoms: After authorizing on GitHub, ChatML doesn't receive the callback.
Solutions:
- Restart ChatML — the
chatml://protocol is registered on launch - If the issue persists, reinstall the app
GitHub token expired
Solutions:
- Go to Settings > Account > GitHub
- Click Disconnect, then Connect GitHub to re-authorize
UI Issues
Keyboard shortcuts not working
Solutions:
- Click outside any input/editor/terminal to restore global shortcut handling
- Some shortcuts only work in specific contexts
Dark mode not applying
Solutions:
- Go to Settings > Appearance > Theme
- Set explicitly to "Dark" instead of "System"
- If using "System", check macOS System Settings > Appearance