Fix Python UnicodeDecodeError in Socket Data - How to Debug Nginx Configuration Test Failures-DNS Probe Finished NXDOMAIN Fix Guide

Result check
- Keep one change per test run so you know which step helped.
- Undo temporary changes after the issue is confirmed.