/opt/vmware/vcloud-director/logs/vcloud-container-debug.log
, the following entries are seen:2024-08-14 06:25:01,630 | ERROR | pool-38-thread-1 | CheckMqttTask | Error while checking mqtt connection. |
[VcdErrorResponseException] HTTP status code = 401
Request ID: 978b2345-e5eb-4df2-a932-389dae036376-bf565ed4-c3de-416e-8724-11ced3647ff1
VCD Error: null
VCD ErrorType: major error code = 0, minor error code = -
Server stack trace: null
Caused by: javax.ws.rs.NotAuthorizedException: Unauthorized
VMware Cloud Director 10.4.x
VMware Cloud Director 10.5.x
To resolve this, create a new auto-scale user account with a password that excludes special character (!) to prevent potential authentication issues.
Ensuring the credentials are correct and avoiding special characters in the password should resolve the "401 Unauthorized" error, allowing the Auto Scale Plug-in to function properly.