Hello,

Well yess you do miss something:

Try http://127.0.0.1:62354/now

as you might have enabled 127.0.0.1 but not localhost as trusted source.
When you install the agent, you should set the following parameter: 
/httpd-trust=127.0.0.1,localhost

Regards,
Ozy.

-----Message initial-----
De: loïc Lauréote<[email protected]>
Envoyé: jeudi 22 mai 2014 17:54
À: [email protected]
Sujet: [Fusioninventory-devel] impossible to use http://localhost:62354/now

Hi,
I develop a python server with python-tornado, interfacing 
fusioninventory-agent and openerp.
Everything works ok with fusioninventory-injector but i have some problems with 
fusioninventory-agent,
for exemple, a GET on "http://localhost:62354/now"; give =
"Access denied. You are not using the 127.0.0.1 IP address to access the 
server or rpc-trust-localhost is off or the token is invalid"
even when i modify my conf on "/etc/fusioninventory/agent.cfg"

Did i mess something ?

I use : 
Ubuntu 12.04, FusionInventory Agent (2.1.10), python27, perl v5.14.2

Thx,
Best regards,

Lauréote Loïc

_______________________________________________

Fusioninventory-devel mailing list

[email protected]

http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel


_______________________________________________
Fusioninventory-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/fusioninventory-devel

Répondre à