If you're using a managed model endpoint that scales to zero when idle (Hugging Face Inference Endpoints with scale-to-zero, for example), the first call after the endpoint has been idle may take 30–90 seconds while the platform brings a replica back up. During that window you may see:
- a
503response or aVerify & Saveerror in MagenticLite's Settings, or - the first chat turn appearing to hang.
Wait a minute and try again. Subsequent requests respond at normal speed until the endpoint scales to zero again.
See the Model Hosting Guide for the full explanation.
When you click Verify & Save, MagenticLite sends a probe request to the endpoint. Common failures:
| Symptom (banner) | Likely cause |
|---|---|
Endpoint returned HTTP 401 or 403 |
API Key field is empty or wrong (different endpoints return one or the other for the same problem) |
Endpoint returned HTTP 503 on the first attempt |
Cold start — see the section above; wait a minute and click Verify again |
Connection refused — is the server running? or other network errors |
Endpoint URL is wrong (typo in the host, missing https://, VPN/firewall issue) |
Re-check the values against the source you copied them from (the Hugging Face dashboard, the Foundry deployment page, etc.) and try again.
Your virtual environment isn't activated. Re-activate it and try again:
deactivate # if another env is active
source .venv/bin/activate
magentic-ui --port 8081Another MagenticLite process is already running on the same port. Stop it, or run on a different port:
magentic-ui --port 8082- Confirm KVM is available:
[ -e /dev/kvm ] && echo okshould printok. - Confirm your user is in the
kvmgroup:groups | grep -q kvm && echo ok. If not, runsudo usermod -aG kvm $USERand restart your shell. - Without KVM the VM falls back to software emulation, which is significantly slower but should still work.
- Make sure the Quicksand VM is healthy (check the MagenticLite logs for
quicksanderrors). - Check that any local firewall isn't blocking the noVNC port the app picks for the embedded browser viewer.
- Restart MagenticLite — the browser is recreated on each session.
The 0.1.x line of Magentic-UI is still on PyPI under the same magentic_ui package name, and its on-disk data lives in the same default app directory. A few things to be aware of:
A plain uv pip install magentic_ui (no version pin) may resolve to a 0.1.x release. Pin to a 0.2.x version explicitly:
uv pip install "magentic_ui>=0.2.0"(Adjust the version to whatever 0.2.x release you intend to run.)
MagenticLite (0.2.x) doesn't migrate the 0.1.x database. By default both versions use the same app directory, which can lead to confusing state. To keep them separate, point MagenticLite at a different --appdir:
magentic-ui --port 8081 --appdir ~/.magentic-lite- Re-check the Installation Guide and Configuration.
- Search GitHub Issues for similar problems.
- Open a new issue and include:
- A detailed description of your problem
- Information about your system (OS, hardware acceleration support, MagenticLite version)
- Steps to reproduce the issue