Common issues and how to fix them.
Symptoms: Chat doesn't respond, "server not running" error
Solutions:
- Check if
curlandunzipare installed - Try setting
server_pathmanually with absolute path - Check logs with
debug = truein configuration - Try
:EcaServerRestart
-- Debug configuration
require("eca").setup({
debug = true,
server_args = "--log-level debug",
})Symptoms: Download fails, timeouts, network errors
Solutions:
- Check your internet connection
- Ensure firewalls are not blocking requests
- Restart with
:EcaServerRestart - Configure a proxy if necessary
- Download the server manually and set
server_path
Symptoms: <leader>ec doesn't open chat
Solutions:
- Ensure
behavior.auto_set_keymaps = true - Confirm your
<leader>key (default:\) - Configure shortcuts manually:
vim.keymap.set("n", "<leader>ec", ":EcaChat<CR>", { desc = "ECA Chat" })
vim.keymap.set("n", "<leader>et", ":EcaToggle<CR>", { desc = "ECA Toggle" })Symptoms: Path errors, server not found
Solutions:
- Use WSL2 for better compatibility
- Install curl and unzip on Windows
- Use forward slashes
/in paths - Configure
server_pathwith.exeextension
Symptoms: Lag when typing, slow responses
Solutions:
- Reduce window width:
windows.width = 25 - Disable visual updates:
behavior.show_status_updates = false - Use the minimalist configuration preset