OSIS API returns 404 through hero_proxy/hero_router (port 6666) #111
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?
Problem
The OSIS API is unreachable through the proxy layer at
http://127.0.0.1:6666/hero_osis/ui/. Direct socket access works fine (hero_osis/ui.sock), but requests through hero_proxy on port 6666 return 404.Impact
hero_agent uses
OSIS_URL = http://127.0.0.1:6666/hero_osis/uifor conversation persistence. When OSIS returns 404:This was the root cause of #109.
Workaround Applied
Added a safety check in
hero_agent/crates/hero_agent/src/agent.rsthat ensures the current user message is always present in the messages vector, even when OSIS is unavailable. This makes the agent resilient to OSIS outages.Root Fix Needed
hero_proxy/hero_router must correctly route
/hero_osis/ui/*requests to the OSIS UI socket. The routing configuration or socket discovery for OSIS needs investigation.Reproduction
Signed-off-by: mik-tf