Godot discards buffered data packets when the close frame arrives, so the JSON error sent by RejectAsync is never received. Map known server close reasons (auth_failed, auth_required) from the close frame's reason field to AUTH_FAILED / AUTH_REQUIRED so Auth.gd's logout+navigate logic fires correctly instead of treating every rejection as a transient DISCONNECTED. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>