❓ FAQ & Troubleshooting
Common questions and resolution steps for issues encountered while using leetrs.
🔒 Authentication Issues
Cookie extraction fails during leetrs auth
Symptoms: Error message Failed to extract cookies from <browser>.
Solutions:
- Open your browser and verify that you are logged into leetcode.com.
- Run with verbose diagnostic logging:
leetrs --verbose auth(orleetrs -v auth) to see exactly which database paths, profile directories, and keyring candidates were scanned by thecookie-extractengine. - Database File Locking: Unlike older tools that locked when browsers were running,
cookie-extractsafely stages temporary copies of the SQLite databases and transaction logs (-wal/-shm), so you do not need to quit your browser. - Windows Chrome 127+ App-Bound Encryption: Recent Windows Chrome updates restrict out-of-process DPAPI decryption. If
cookie-extractreportsAppBoundRestricted, select "Paste cURL / Cookie header manually": in your browser's Developer Tools (F12→ Network tab), right click any request → Copy as cURL, and paste directly intoleetrs auth. - If using a remote SSH session or unsupported browser, choose "Paste cURL / Cookie header manually" to paste tokens directly.
⚡ Neovim & Editor Issues
Neovim fails to launch after leetrs pick
Symptoms: Error failed to launch nvim. is it installed and in your path?
Solutions:
- Check if
nvimis installed and in your$PATH:which nvim - If using another editor (e.g. VS Code), set
editor = "code"inside~/.config/leetrs/config.toml.
💾 Cache & Data Issues
How do I refresh problem cache?
Solutions: If problem metadata or solved statuses appear outdated:
# Delete local data cache
rm -rf ~/.local/share/leetrs/data.json
# Re-run TUI to trigger sync
leetrs tui