Logo di Messaging Gateway Troubleshooting

Messaging Gateway Troubleshooting

Community
AtlasOmnia
messaging-gateway-troubleshooting

messaging-gateway-troubleshooting — Troubleshoot Hermes messaging gateway platform adapters, webhooks, authorization, delivery, and loop-prevention behavior.

Add to TypingMind

Panoramica

Pubblicato daAtlasOmnia
Repositorydonna-starter
Nome della skillmessaging-gateway-troubleshooting
Stelle
131
Fork
9
File inclusi
3
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 3

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da AtlasOmnia su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Messaging Gateway Troubleshooting in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/messaging-gateway-troubleshooting
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AtlasOmnia/donna-starter.git /tmp/donna-starter
mkdir -p .claude/skills
cp -r /tmp/donna-starter/skills/hermes/messaging-gateway-troubleshooting .claude/skills/messaging-gateway-troubleshooting
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Messaging Gateway Troubleshooting in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Messaging Gateway Troubleshooting non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Messaging Gateway Troubleshooting non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Messaging Gateway Troubleshooting

Use this when Hermes messaging platforms are installed/configured but messages do not arrive, are ignored, do not reply, or appear to risk reply loops.

Operating principles

  1. Verify the live path end to end before assuming config is wrong:
  • Gateway service is running.
  • Platform server/client is running.
  • Local webhook/listener is bound.
  • Health endpoint responds if available.
  • Platform has the webhook registered.
  • Gateway logs show the adapter connected.
  1. Separate transport, authorization, and adapter filtering:
  • Transport failure: no webhook hit / listener closed.
  • Authorization failure: sender not allowed or pairing pending.
  • Adapter filtering: message acknowledged but intentionally skipped, e.g. group mention gating, tapback filtering, or self-message loop guard.
  1. For user-visible claims, verify with real command output: hermes status, listener checks, webhook health, and gateway logs.
  2. When changing Hermes gateway config or adapter code, restart the gateway and verify the adapter reconnects.
  3. For gateway slash-command failures, inspect session-origin scope separately from transport health:
  • Compare source, user_id, chat_id, thread_id, and origin_json in the live session database.
  • Trace both the listing path and the action path; a session browser is still broken if it lists a target that /resume rejects.
  • In forum/threaded platforms, distinguish same-parent-chat ownership from exact-thread isolation rather than weakening origin checks globally.

Telegram forum session browsing

  • A fresh Telegram forum topic can have no prior exact-thread sessions even when the same owner has many titled sessions in sibling topics of the same parent chat.
  • Do not diagnose this from session history alone. Correlate gateway send logs, live DB origin columns, and the gateway routing origin.
  • Cross-topic browsing must be Telegram-specific, same-parent-chat, and same-owner; thread_sessions_per_user=false permits sharing within one thread, not across sibling threads.
  • Keep /sessions visibility and /resume authorization aligned, including persisted-only rows.
  • See references/telegram-forum-session-scope.md for the reproduction, authorization contract, TDD matrix, and safe activation procedure.

BlueBubbles / iMessage notes

  • BlueBubbles may mark messages from the Mac's own Apple ID/iMessage identity as isFromMe=true.
  • A blanket isFromMe skip prevents reply loops but also prevents the owner from texting Hermes from that same iMessage identity.
  • The safer loop guard is outbound-ID based: remember Hermes-sent tempGuid and returned guid/messageGuid, then ignore only inbound webhook echoes whose IDs match that cache.
  • On macOS, do not assume localhost reaches an IPv4-only Hermes webhook. BlueBubbles/Electron/Node may resolve localhost to IPv6 ::1, causing connect ECONNREFUSED ::1:<port> while curl http://127.0.0.1:<port>/health still works. Register local BlueBubbles webhooks as http://127.0.0.1:<port>/... unless Hermes is listening on IPv6 too.
  • See references/bluebubbles-self-imessage-loop-guard.md for the concrete fix pattern, localhost/IPv6 pitfall, stale-webhook cleanup, and verification loop.
  • See references/memory-context-injection-probes.md for probe handling when recalled-memory wrappers, formatting-failure echoes, or outbound test messages appear in a live platform chat.

Verification checklist

  • hermes status shows the platform configured.
  • Gateway process/service is running under the expected profile/home.
  • Listener exists for the adapter webhook port/path.
  • Webhook health returns success if implemented.
  • Platform-side webhook registration points at the active Hermes listener.
  • Logs show adapter connected and webhook registered.
  • A test message reaches the adapter or produces a pairing/authorization signal.

Pitfalls

  • Do not confuse “gateway open” with “message authorized.” A listener can be healthy while the sender is ignored by allowlist/pairing logic.
  • If Telegram is fast for text but a photo/image turn appears to run forever, inspect agent.log for repeated API calls ending in TypeError: expected string or bytes-like object, got 'list' from _interim_assistant_visible_text → strip_think_blocks. This was a multimodal block-list regression introduced by Codex interim-commentary handling; a current upstream release fixes the loop. Stop the affected turn, update Hermes through the normal update-safe procedure, reapply local patches, restart the gateway, and verify with a real photo+caption message. Transport latency and gateway health can look completely normal while this retry loop burns up to the agent iteration cap.
  • Do not persist negative claims like “BlueBubbles ignores self messages” as a permanent tool limitation. The durable lesson is the loop-guard design.
  • Do not edit protected bundled skills; place Hermes-gateway-specific operational learnings here when bundled skills cannot be patched.

Public support files

  • references/bluebubbles-self-imessage-loop-guard.md
  • references/memory-context-injection-probes.md
  • references/telegram-forum-session-scope.md

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Messaging Gateway Troubleshooting?

messaging-gateway-troubleshooting — Troubleshoot Hermes messaging gateway platform adapters, webhooks, authorization, delivery, and loop-prevention behavior.

Perché usare Messaging Gateway Troubleshooting su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Messaging Gateway Troubleshooting è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Messaging Gateway Troubleshooting in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/AtlasOmnia/donna-starter/tree/main/skills/hermes/messaging-gateway-troubleshooting. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Messaging Gateway Troubleshooting?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Messaging Gateway Troubleshooting?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Messaging Gateway Troubleshooting: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Messaging Gateway Troubleshooting è gratuita?

Sì. È pubblicata su GitHub da AtlasOmnia con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇