You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2017-09-03 12:19:55

kenderkin
Guest
Registered: 2017-09-03
Posts: 2

Unknown internal function for glpi.listGroups (xml-rpc)

Hey all,
GLPI 9.1.6
Webservices 1.7

I have a php script that was working with webservices 1.6
Moving to 1.7 I am now getting an error when running it:
ERROR: XMLRPC fault - (3): Unknown internal function for glpi.listUsers (xml-rpc)
Array
(
    [faultCode] => 3
    [faultString] => Unknown internal function for glpi.listUsers (xml-rpc)
)


I have checked permissions, .htaccess, reconfiogured the user and ip under webservices inside the GLPI webservices UI.

ANy ideas at all?

Offline

#2 2017-09-04 10:32:54

yllen
GLPI-DEV
From: Sillery (51)
Registered: 2008-01-14
Posts: 13,879

Re: Unknown internal function for glpi.listGroups (xml-rpc)

I make a test in 1.7.1 and no problem for me
[[email protected] scripts]# php testxmlrpc.php method=glpi.listUsers
+ Configuration read from '/root/.config/glpi_webservices_config'
+ Calling 'glpi.listUsers' on http://localhost//git91/plugins/webservices/xmlrpc.php?session=t69s2km8cnc0vo78tbr6ta5ee3
+ Response: Array
(
    [0] => Array
        (
            [id] => 2
            [name] => glpi
            [firstname] =>

Have you some errors in GLPI logs? in apache logs?


CentOS 6.5 - CentOS 7
PHP 5.6 - PHP 7 - MySQL 5.6  + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)

Offline

#3 2017-11-14 21:33:11

nicowizz
Guest
Registered: 2017-01-13
Posts: 17

Re: Unknown internal function for glpi.listGroups (xml-rpc)

Bonjour yllen,

Je me permets de revenir sur ce problème, car je rencontre le même.
Je suis dessus depuis 2 jours, impossible de trouver le problème.

GLPI 0.84.4 : avec webservice 1.4

GLPI 9.1.6 avec webservice 1.7  =>

[faultCode] => 3
    [faultString] => Unknown internal function for glpi.listUsers (xml-rpc)

Merci d'avance !

Logs apache
127.0.0.1 - - [14/Nov/2017:20:36:10 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 1196 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 866 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 869 "-" "-"
127.0.0.1 - - [14/Nov/2017:20:36:11 +0100] "POST /glpi/plugins/webservices/xmlrpc.php HTTP/1.0" 200 758 "-" "-"

1641618    14-11-2017 20:36    webservice (864)        Connexion (webservice, 127.0.0.1, glpi.doLogout, xml-rpc)
1641617    14-11-2017 20:36    webservice (864)        Connexion (webservice, 127.0.0.1, glpi.createTicket, xml-rpc)
1641616    14-11-2017 20:36    webservice (864)        Connexion (webservice, 127.0.0.1, glpi.listUsers, xml-rpc)
1641615    14-11-2017 20:36            Connexion (anonymous, 127.0.0.1, glpi.doLogin, xml-rpc)

Last edited by nicowizz (2017-11-14 23:59:43)

Offline

#4 2017-11-16 00:00:03

nicowizz
Guest
Registered: 2017-01-13
Posts: 17

Re: Unknown internal function for glpi.listGroups (xml-rpc)

up , merci !

Last edited by nicowizz (2017-11-16 00:19:04)

Offline

Board footer

Powered by FluxBB