Skip to content

Fix OpenClaw stats when Heimdall shares a trusted proxy host - #1071

Draft
sidevesh wants to merge 1 commit into
linuxserver:masterfrom
sidevesh:fix-openclaw-proxy-attribution
Draft

sidevesh wants to merge 1 commit into
linuxserver:masterfrom
sidevesh:fix-openclaw-proxy-attribution

Conversation

@sidevesh

Copy link
Copy Markdown
Contributor

OpenClaw rejects the WebSocket connection when Heimdall shares a host configured in gateway.trustedProxies, leaving dashboard statistics unavailable. Retry once with the actual local socket IP in X-Forwarded-For when the gateway explicitly returns proxy_attribution_required. Existing URLs, credentials and device pairing remain unchanged.

Validated against a live gateway and socket fixtures covering normal connections, attribution retries and unrelated errors. PHP syntax and repository checks pass.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

1 participant