Spaces:
Paused
Paused
Commit History
-
fix(proxy): buffer request bodies to avoid chunked Transfer-Encoding, add HERMES_WEBUI_TRUST_FORWARDED_HOST=1
Farhan BegTwo fixes for WebUI behind the Node.js reverse proxy: 1. HTTP 501 Unsupported method error: Python BaseHTTPRequestHandler cannot decode chunked request bodies (Transfer-Encoding: chunked). Node.js http.request may use chunked encoding when piping req streams. Fix: buffer the full request body and send it with an explicit Content-Length header. 2. Cross-origin CSRF mismatch: hermes-webui no longer trusts X-Forwarded-Host by default. The proxy sets this header, so browser Origin vs Host checks fail. Fix: set HERMES_WEBUI_TRUST_FORWARDED_HOST=1 in Dockerfile ENV.1f29b0d
-
fix(docker): restore proper Dockerfile and add venv chown for hermes user
Farhan Begbe5c4d4 -
fix(permissions): chown /opt/hermes/.venv to hermes so auto-updates work
Farhan Beg2e4f994
-
Update Dockerfile
Farhan BegUnverified signature0f35c79
-
fix(logs): silence noisy WebUI access log polls + bound on-disk log size
F4bC0d3Three changes to keep the HF Logs tab readable and the HF Dataset backup from growing unbounded: 1. Patch hermes-webui's log_request() at image build time to drop 2xx responses for high-frequency poll paths (/api/dashboard/status, /api/health/agent, /api/sessions, /api/profiles, /api/models, /sw.js, /static/*, etc). 4xx and 5xx still log so debugging works. 2. Rotate \/logs/*.log at boot when any file exceeds 5MB (rename to .log.1, start fresh). Bounds the disk footprint. 3. Extend hermes-sync.py exclusions to skip *.log, *.log.1, *.log.2, *.pid, *.tmp suffixes - and treat 'logs/' as a fully-excluded dir not just a top-level skip. Backup dataset stays clean.aadc662 -
Initial release: HuggingMes + Hermes WebUI integration
F4bC0d35f92103