hero_embedder not available #87
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_books#87
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello!, Nice app but hard (for me) to get started. The service which should run on localhost:3752 fails. See WARN after running hero_books from terminal:
WARN Cannot persist state (hero_embedder unavailable): Health check failed: hero_embedder not available: HTTP error: error sending request for url (http://localhost:3752/rpc)
I followed the binary install instruction on README.
What to do? How to debug?
Hi — thanks for the clear report, and sorry for the rough onboarding. The
WARNline you are seeing is informational, not fatal. Hero Books is actually working; it is just running in degraded mode becausehero_embedder— a separate service that provides vector search, Q&A embedding, and semantic retrieval — is not running on your machine yet. The reader UI, PDF export, and Markdown browsing should all work as-is.What to do
If you only need the reader UI and PDF output: you are already done. Ignore the warning. You can browse books, generate PDFs, and use the Markdown views without
hero_embedder.If you want vector search / Q&A / AI features: install and start
hero_embedderbefore startinghero_books.http://localhost:3752/rpcor Unix socket~/hero/var/sockets/hero_embedder.sock.hero_books --stop && hero_books --start) and the warning will go away.Recommended (Hero-native path): the supported way to bring both services up together is through
hero_skills, which installs everything underhero_procsupervision:This wires up sockets, logs, and restart policy automatically, and is what we test against.
What we changed on our side
You hit a real documentation gap. The README and the server manual mentioned
hero_embedderonly in passing and did not flag it as a prerequisite. We just opened a PR to fix that:Once merged, the README will have:
Prerequisitessection at the top of Installation that explains thehero_embedderdependency, what features it enables, and what "degraded mode" means.Troubleshootingsection that explains theWARN Cannot persist state (hero_embedder unavailable)line you saw, so the next person does not get blindsided the way you did.hero_skills-based install path for running the whole stack.docs/manual/server.mdalso gains a dedicated "External Dependency: hero_embedder" section with the default endpoint and degraded-mode behavior.Please let us know if the workaround gets you running, and whether anything else in the onboarding tripped you up — we would rather find out now than have another person hit the same wall.