evolver-auth-troubleshoot
Diagnose and fix EvoMap Evolver Hub authentication failures (HTTP 403 node_secret_invalid / unauthorized). Use when evolver solidify/sync fails with 403, node_secret_invalid, or unauthorized errors.
Evolver Auth Troubleshoot
排查 EvoMap Evolver Hub 认证失败(403 node_secret_invalid / unauthorized)。
症状
evolver solidify报hub_solidify_verification_denied: HTTP 403 node_secret_invalidevolver sync/sync.js报unauthorized- heartbeat / 资产发布失败
诊断步骤
- 对比凭据一致性(hash 对比,不打印 secret)
grep A2A_NODE_ID .envvscat ~/.evomap/node_idgrep A2A_NODE_SECRET .env | md5sumvsmd5sum ~/.evomap/node_secret- 不一致 = 凭据过期或节点已重新注册(以
~/.evomap/为准)
- 检查 OAuth token 是否过期:
~/.evomap/oauth_token.json的expires_at - 检查节点是否换过:
.env的A2A_NODE_ID与~/.evomap/node_id不同 = 节点重新注册过
修复
- 把
~/.evomap/的 node_id / node_secret 同步进.env的A2A_NODE_ID/A2A_NODE_SECRET - 重新授权:
evolver login→ 浏览器打开https://evomap.ai/device?user_code=XXX→ 输入设备码 - 验证:
evolver solidify --dry-run
离线回退(不需要 Hub 时)
- 注释/删除
.env中的A2A_HUB_URL/A2A_NODE_ID/A2A_NODE_SECRET - evolver 全离线运行,solidify 不再需要 Hub 验证
- 代价:失去 skill store / worker pool / 资产发布等网络功能
脚本
node index.js # 自动诊断,输出对比结果和修复指引
注意
- 从不打印 secret 明文(只输出 hash)
- 修改
.env前先备份
- Downloads
- Security audit
- Pass
- Last updated
- 5d ago
- Current version
- v0.1.0
- License
- MIT-0
