Find Anything becomes unavailable when first of two virtual AI Keys goes offline
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- ollama, postgresql, python
- Domain
- backend, distributed-systems
Research direction
Start by reproducing the issue with both AI Keys online and stopping the first-adopted Key, while checking the per-device search WebSocket and capability registration described in the report. Trace Protect’s search-host selection, PostgreSQL connectivity, and failover behavior to determine whether the limitation belongs to Protect or Keystone interoperability. The change is done when Find Anything stays enabled and uses the surviving eligible Key after the other Key goes offline.
Written by the indexing model from the issue text.
Description
Environment
Environment: Keystone v0.1.5, native Debian 13 installations, UNVR with Protect 7.4.114. Tested on a multilingual-search fork at 0daad0cba2e86db6041fc44df09bd562524e4276, based on upstream 48d1168b07867032c4ba684c56f02d048ec8a9ea. Not yet reproduced on an unmodified current upstream checkout.
Two independently adopted AI Keys with distinct MACs and separate PostgreSQL databases: Intel i5-1220P (LXC, CLIP FP32, vision disabled) and i5-4250U (bare metal, CLIP FP32, Ollama Qwen 3.5 2B). Both receive live recognition jobs and have independently received NL_PARSE requests.
Reproduction
- With both Keys online, Find Anything is available.
- Stop Keystone on the first-adopted Key (i5-1220P). The second Key remains online in Protect, but Find Anything displays “Edge AI is temporarily unavailable” and disables the input.
- Restart the first Key: search becomes available again.
- Stop the second Key instead: search remains available.
Expected
If supported, search should remain available through the surviving eligible Key.
Notes
A source review found no peer election in Keystone; the search WebSocket and capabilities are registered per device. The actual Protect search-host selection, PostgreSQL connectivity and failover rules are not verified. Could this be a Protect limitation or a Keystone interoperability issue? No routing changes have been attempted.
- Dominant language
- Python
- Stars
- 1k
- Forks
- 114
- Avg merge
- 1h
- Merged PRs (30d)
- 115
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from seeARMS/keystone
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
Maintainers usually reply within 1 day
All issues in seeARMS/keystone
Similar issues
-
docs(contributing): the two things that silently block a PRPossibly taken A pull request linked to this issue is open or already merged. Openavailable documentation good first issue
Difficulty 1/5 1-3 hours Newbie friendliness 95/100
Nixitov/Riptide-Native#944 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JTHCode/secretguard#24 ·
Maintainers usually reply within 1 day
-
area: middleware documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainers usually reply within 1 day