Inspector marks HTTP-speaking _server.sock services as unhealthy #3
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
Services with
_server.socksuffix are classified asSocketKind::Openrpcand only probed with raw JSON-RPC over the socket stream. Many services (hero_auth, hero_books_server, hero_embedder_server, hero_foundry_server, hero_inspector_server) actually speak HTTP over their Unix socket (axum-based). The raw JSON-RPC probe fails and they are marked unhealthy even though they respond correctly to HTTP health checks.Affected services
All respond to
curl --unix-socket <path> http://localhost/healthwith 200 OK.Fix
Add HTTP fallback in
probe_openrpc_socket(): when raw JSON-RPC fails, tryprobe_http_socket()before giving up.Context
Part of lhumina_code/home#3 (Demo Readiness).