HTTP status code 402

Symptoms

  • Remote installation, update or auto-update of the agent fails with error: "Failed to connect to machine https://xx.xx.xx.xx:9877. HTTP status code 402"
  • After installation, agent is not registered in Management Server.

Cause