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

Hereward Cooper hereward.cooper at iomart.com
Fri Mar 4 08:55:06 UTC 2011


[...]
> 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.




More information about the libvirt-users mailing list