You are not logged in.
Hi,
It's the first time I'm trying using and know the webservices plugin.
Following the documentation, I can run glpi.test, glpi.doLogin (that gives me a session), but now, any request I trying to do, I have an error 500 and session always after xmlrpc.php?session
I can't make glpi.doLogout,
Here a print of my screen: https://ibb.co/SKV8x3C
How can I do glpi.doLogout for clean that session?
I did try but always get error
Offline
Update:
I was need delete the file located on /root/.config/glpi_webservices_config to can do anything without the error 500.
But now, after method glpi.doLogin, any request that I make, gives me again error 500.
Why happening that?
Am I doing something wrong?
Offline
But if I remove the file, after do glpi.doLogin and tryes execute the method glpi.getMyInfo tells me "Not authenticated".
I need do again glpi.doLogin, but next any method request send error 500.
Need help to exit out that
Offline
Have you many GLPI on the same computer?
How do you call glpi.doLogin?
Version of GLPI used?
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
Have you many GLPI on the same computer?
How do you call glpi.doLogin?
Version of GLPI used?
Hi,
Thanks by your reply.
I'm using GLPI 9.4.2, only this version in my server.
Here what I'm doing:
I can return status and do Login.
But, when I try quit or any other method, have error 500, like below:
I'm reading documentation from here: https://forge.glpi-project.org/projects … MLRPC-call
Please, let me know if I'm doing something wrong?? Since now I appreciate it.
Offline
OK i think i understand.
After the glpi.doLogin, you don't have to call the other method with --session parameter.
Now, your session is stocked in glpi_webservices_config
In your picture, you have method called with session parameter adding two time
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
OK i think i understand.
After the glpi.doLogin, you don't have to call the other method with --session parameter.
Now, your session is stocked in glpi_webservices_config
In your picture, you have method called with session parameter adding two time
Thanks by your answer again.
So, even I only doLogin, I have a response with session.
If then I try doLogout after doLogin, I have a error 500
Here my image:
https://ibb.co/hYTQNYv
Offline