hermes - ✅(Solved) Fix [Bug]: Weixin platform not shown in dashboard /sessions connected platforms panel [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#20187Fetched 2026-05-06 06:38:13
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1

Error Message

Full Error Output

Root Cause

Root Cause (identified)

Fix Action

Fixed

PR fix notes

PR #20221: fix(dashboard): preserve remote gateway platforms

Description (problem / solution / changelog)

Summary

  • preserve platform statuses reported by the remote gateway health endpoint instead of filtering them through the dashboard process's local config
  • keep the existing local-runtime filtering behavior so stale local status files still hide unconfigured platforms
  • add a regression covering remote Weixin visibility on /api/status

Tests

  • uv run pytest tests/hermes_cli/test_web_server.py -q -k 'get_status'
  • python3 -m compileall hermes_cli/web_server.py tests/hermes_cli/test_web_server.py
  • git diff --check

Closes #20187

Changed files

  • hermes_cli/web_server.py (modified, +3/-1)
  • tests/hermes_cli/test_web_server.py (modified, +48/-0)

Code Example

INFO gateway.platforms.weixin: [Weixin] Connected account=9f5e7ad6 base=https://ilinkai.weixin.qq.com
INFO gateway.run: ✓ weixin connected
INFO gateway.run: Gateway running with 2 platform(s)

---

const sI = {
  cli: { ... },
  telegram: { ... },
  discord: { ... },
  slack: { ... },
  whatsapp: { ... },
  cron: { ... }
};
RAW_BUFFERClick to expand / collapse

What's Going Wrong?

The dashboard's Connected Platforms card (visible on the /sessions page) does not display Weixin even when the adapter is fully connected and functioning.

Gateway logs confirm the platform is up:

INFO gateway.platforms.weixin: [Weixin] Connected account=9f5e7ad6 base=https://ilinkai.weixin.qq.com
INFO gateway.run: ✓ weixin connected
INFO gateway.run: Gateway running with 2 platform(s)

Messages are received and responded to correctly. The issue is purely visual in the dashboard UI.

Root Cause (identified)

In hermes_cli/web_dist/assets/index-*.js, the session source icon map sI only includes a fixed set of platforms:

const sI = {
  cli: { ... },
  telegram: { ... },
  discord: { ... },
  slack: { ... },
  whatsapp: { ... },
  cron: { ... }
};

weixin (and likely feishu, dingtalk, wecom, etc.) are missing from this map, so the dashboard renders no icon/entry for them in the Connected Platforms card.

Steps to Reproduce

  1. Configure and connect the Weixin adapter (hermes gateway setup → Weixin)
  2. Confirm gateway logs show ✓ weixin connected
  3. Open the Hermes dashboard → navigate to /sessions
  4. Observe the Connected Platforms card — Weixin is absent

Expected Behavior

All connected platforms (including Weixin) should appear in the Connected Platforms panel with their connection status.

Installation Method

Docker (self-hosted)

Operating System

Linux (iStoreOS / OpenWrt router)

Hermes Version

v0.12.0 (2026.4.30)

Output of hermes doctor

N/A (Docker deployment)

Full Error Output

No errors — the platform works correctly, it is simply not rendered in the dashboard UI.

extent analysis

TL;DR

Update the sI session source icon map in hermes_cli/web_dist/assets/index-*.js to include Weixin and other missing platforms.

Guidance

  • Verify the sI object in hermes_cli/web_dist/assets/index-*.js to confirm the missing platforms.
  • Add Weixin and other missing platforms (e.g., feishu, dingtalk, wecom) to the sI object with their respective icon configurations.
  • Check the dashboard UI after updating the sI object to ensure the Connected Platforms card displays all connected platforms.
  • Consider updating the sI object to dynamically include all supported platforms to prevent similar issues in the future.

Example

const sI = {
  // ... existing platforms ...
  weixin: { /* Weixin icon configuration */ },
  feishu: { /* Feishu icon configuration */ },
  dingtalk: { /* DingTalk icon configuration */ },
  wecom: { /* WeCom icon configuration */ },
};

Notes

The provided solution assumes that the sI object is the sole cause of the issue. If the problem persists after updating the sI object, further investigation may be necessary.

Recommendation

Apply the workaround by updating the sI object to include the missing platforms, as this is a visual issue and the platform is functioning correctly.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix [Bug]: Weixin platform not shown in dashboard /sessions connected platforms panel [1 pull requests, 1 participants]