fix: restore missing /api/ping status route#3
Open
DiamondEyesFox wants to merge 1 commit intooutsourc-e:mainfrom
Open
fix: restore missing /api/ping status route#3DiamondEyesFox wants to merge 1 commit intooutsourc-e:mainfrom
DiamondEyesFox wants to merge 1 commit intooutsourc-e:mainfrom
Conversation
Mamidi7
added a commit
to Mamidi7/hermes-workspace
that referenced
this pull request
Mar 25, 2026
- Add /api/ping route - lightweight gateway health probe compatible with legacy ping callers (restores functionality from PR outsourc-e#3 by DiamondEyesFox) - Add /api/diagnostics route - comprehensive endpoint-by-endpoint health check with actionable hints so users can self-diagnose connection issues - Rewrite normalizeHermesErrorMessage() in send-stream.ts to return specific, actionable error messages for each failure mode: - ECONNREFUSED / network unreachable -> "Cannot reach Hermes gateway..." - 401 Unauthorized -> "Hermes authentication failed..." - 403 Forbidden -> "Access forbidden..." - 404 Not Found -> "Hermes endpoint not found... outdated version?" - 503 Sessions API unavailable -> upgrade instructions - Generic stream errors -> include the raw message - Add README troubleshooting section covering: - "Failed to send message - Hermes Stream Error" with /api/diagnostics link - "Terminal doesn't accept keyboard input" - "I set a custom API URL but chat still fails" (explains the two-URL architecture) - "Agent thinks but never shows a reply" - curl commands for manual endpoint testing - Add Troubleshooting & Debugging section to CONTRIBUTING.md with: - Debugging path for stream errors - Key files reference table - Browser DevTools instructions - Terminal debugging notes Fixes Issue outsourc-e#2: "Hermes Stream Error" + terminal input not working
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/pingcompatibility route using the existing Hermes gateway probeTesting