PowerShell 502 Bad Gateway: A Troubleshooting Checklist - Troubleshooting Slow PowerShell Startup-Gradle Build Failed? Here's How to Fix It

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