Checklist for Debugging 502 Bad Gateway in Command Prompt - Chrome Sync Not Working on Ubuntu: Diagnostic Guide-Fix Remote Desktop Login Loop via Registry and Terminal Services

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