[libvirt-users] libvirt + ESX (HTTP response code 400 for call to 'Login')

Matthias Bolte matthias.bolte at googlemail.com
Fri Mar 4 09:13:02 UTC 2011


2011/3/4 Hereward Cooper <hereward.cooper at iomart.com>:
> [...]
>> 400 means bad request. You probably have a character in you password
>> that needs to be escaped in XML: <, >, &, ', "
>>
>> libvirt currently doesn't escape the password properly when building
>> the SOAP request. You can manually workaround this by entering the
>> password in escaped form. For example when your password is some&word
>> enter some&word instead.
>
> That's fixed it! Thanks for the help.
>
> Cheers.
>
> Coops.
>

The patch was accepted and this will be fixed in the next libvirt release.

Matthias




More information about the libvirt-users mailing list