Challenge
Encountering issue "Error: Username or password is incorrect" when adding vCloud Director.Cause
When adding the vCloud Director there are a few possible reasons as to why it fails.Solution
Within the VeeamShell.log you will see the following:VeeamShell.log:
Error Failed to login to vCloud server: 'https://IP Address:443'.
Error One or more errors occurred.
Error An error occurred while sending the request.
Error Unable to connect to the remote server
Error No connection could be made because the target machine actively refused it <Public Address>:443
Error Failed to connect to vCloud Director server https://IP Address/.
Error Username or password is incorrect.
Error Failed to login to vCloud server: 'https://IP Address:443'.
Error One or more errors occurred.
Error An error occurred while sending the request.
Error Unable to connect to the remote server
Error No connection could be made because the target machine actively refused it <Public Address>:443
Error Failed to connect to vCloud Director server https://IP Address/.
Error Username or password is incorrect.
When a job fails with the above error you will need to perform the following steps to resolve this issue:
- Verify that the correct password is being utilized.
- Ports, Permissions, or DNS can cause this failure:
a.) Ensure connectivity between Veeam server and vCloud Director address.
b.) Confirm DNS is correctly configured - FQDN in Public URL must be resolvable from Veeam server
c.) Verify ports between Veeam server and vCloud Director are open
d.) Validate that the credentials being leveraged have the correct permissions
b.) Confirm DNS is correctly configured - FQDN in Public URL must be resolvable from Veeam server
c.) Verify ports between Veeam server and vCloud Director are open
d.) Validate that the credentials being leveraged have the correct permissions
Additional Information:
The VeeamShell.log may be as follows:
Error Failed to login to vCloud server: 'https://IP Address:443'.
Error The given header was not found.
Error Failed to connect to vCloud Director server https://IP Address/.
Error Username or password is incorrect.
It is possible that your public address for the vCloud Directory is incorrectly configured, you can verify these settings by following the steps within the following KB article provided by VMware.
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2053817
View ‘Resolution’ for steps to verify Public Addresses.