Fixing Sync Issues After Chrome Profile Reset - Windows Security 502 Bad Gateway Fix-Resolve 504 Gateway Timeout in Windows 10 Remote Desktop

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.