Ec2 auth problems

Well i’ve just installed opennebula 5.2.0 and i cannot seem to get any of ec2 tools to work:

oneadmin@virtuals:~$ oneuser create otheradmin demo
ID: 4
oneadmin@virtuals:~$ oneuser chgrp otheradmin oneadmin
oneadmin@virtuals:~$ oneuser show otheradmin
USER 4 INFORMATION
ID              : 4
NAME            : otheradmin
GROUP           : oneadmin
PASSWORD        : 89e495e7941cf9e40e6980d14a16bf023ccd4c91
AUTH_DRIVER     : core
ENABLED         : Yes

TOKENS

USER TEMPLATE
TOKEN_PASSWORD="a230512d19623c192c51c0aa4d1a5daed8d2255d"

RESOURCE USAGE & QUOTAS

    NUMBER OF VMS               MEMORY                  CPU     SYSTEM_DISK_SIZE
      0 /       -        0M /        -      0.00 /        -        0M /        -

oneadmin@virtuals:~$ econe-describe-images -Kotheradmin -S89e495e7941cf9e40e6980d14a16bf023ccd4c91 -Uhttp://localhost:4567 -v
econe-describe-images: The username or password is not correct
oneadmin@virtuals:~$ econe-describe-images -K otheradmin -S 89e495e7941cf9e40e6980d14a16bf023ccd4c91 -U http://localhost:4567 -v
econe-describe-images: The username or password is not correct
oneadmin@virtuals:~$ econe-describe-images -V
OpenNebula 5.2.0

oneadmin@virtuals:~$ euca-describe-images -I otheradmin -S 89e495e7941cf9e40e6980d14a16bf023ccd4c91 -U http://localhost:4567
euca-describe-images: error (AuthFailure): The username or password is not correct
oneadmin@virtuals:~$ euca-describe-images --version
euca2ools 3.0.1 (Sparta)

econe.conf extract:

:host: 0.0.0.0
:port: 4567
:auth: ec2
:core_auth: cipher

ok, so it seems that what is provided in econe.conf :host parameter must match exactly what is used with the url option.

so when i changed:

:host: 127.0.0.1
and:
-U http://127.0.0.1:4567

it started working.