群晖反向代理后面的网关报 proxy_attribution_required:两个条件叠在一起才会 403
OpenClaw 网关跑在 192.168.1.244 上,我习惯通过 wenkangnas.local (192.168.1.4) 的反向代理访问它:浏览器打开 https://192.168.1.4:18789/,由 DSM 的反代转给虚拟机里的网关。某天这个页面突然只返回一段 JSON: {"error":{"message":"Proxy client attribution is required. Configure gateway.trustedProxies narrowly and make the proxy overwrite or safely rebuild forwarded client headers.","type":"proxy_attribution_required"}} 之前 NAS 侧的 agent 已经"修"过一次——往 gateway.trustedProxies 里加了 192.168.1.4——没用,它自己当时也说"可能不会解决报错"。这次我让 Claude Code 上去看。 ...