Troubleshooting Instructor Solution

Overview of Issues

  1. connection timeout: VM is not running
  2. connection timeout: NSG inbound rule for port 443 is missing
  3. connection refused: NGINX service is down
  4. 502 bad gateway: MySQL service is down
  5. 502 bad gateway: appsettings.json doesn’t contain the correct KV name
  6. 502 bad gateway: VM not granted access to KV

Overview of Troubleshooting Diagnosis

  • connection timeout: networking issue (VM is down or NSG rule missing/misconfigured)
  • connection refused: port is not in use (service is down)
  • 502 bad gateway: the web server can’t access the upstream API (API is crashed / not running)