Nexora Gateway 诊断记录

OpenClaw 配置与调试 拆分。

以下信息来源于 nexora 的 Mattermost DM 聊天记录(2026-03-31)。

斜杠命令不响应

Nexora 诊断了 Mattermost /new /status 等斜杠命令不响应的问题:

根因:OpenClaw 文档明确说明 native: "auto" 对 Mattermost 默认为 disabled,需设置 native: true 才能启用 native slash commands。但启用后仍需 Mattermost 服务器能回调到 Gateway。

回调可达性问题:Gateway 绑定 localhost:18789,Mattermost 服务器在 mm.dora.restry.cn 远程,无法回调到本地。

尝试方案(已回滚):

  1. 配置 Caddy 反向代理 claw.nexora.restry.cn → Gateway:18789
  2. 设置 channels.mattermost.interactions.callbackBaseUrl 为该地址
  3. 被用户否决(安全风险:Gateway 暴露在公网),立即回滚

最终结论:不使用斜杠命令,改为在聊天中直接打文字(如 new sessionstatus)。

Gateway 日志问题清单

级别问题说明
🔴Mattermost 交互回调不可达localhost:18789 远程不可达
🔴grok-code-fast-1 模型不支持GitHub Copilot provider 报 400
🟡OpenRouter API Key 缺失如不用可忽略
🟡allowInsecureAuth=true内网可接受,建议关闭
🟡Bonjour 名称冲突残留进程导致 mDNS 冲突
🟡punycode 模块废弃Node.js 内部,无害
🟡pricing bootstrap failed定价数据拉取失败,不影响使用

配对记录补充

Bot配对码日期
bibotMFRVEHQC
nexoraFRZDA4GS