ticgal / gapp

Bug reporting for Gapp
https://tic.gal/gapp/
4 stars 2 forks source link

doesn't login #29

Closed DanielLLQ closed 3 years ago

DanielLLQ commented 3 years ago

https://github.com/ticgal/gapp/issues/29

GLPI 9.5.3 Gapp1.2.0 after entering the login and password, asks them again and does not allow them to be entered, then an endless connection occurs. there is nothing in the server logs. Screenshot_20210122-235606


Creado por DanielLLQ

Numero de la peticion de GLPI: 4886
Creado por GitSync en GLPI por Óscar Beiro
PedroTicGal commented 3 years ago

Hi @DanielLLQ,

First of all, thank you for using Gapp and providing us feedback :)

When you login in Gapp within your GLPI enviroment, Gapp expects a json with the token provided by your server. If, instead, your server gives in return a html web page, Gapp shows it to you to help you out find the issue.

Usually this kind of issues are refered to firewall, proxies, and all sort of blockers. This messages means that your web server is not configured correctly.

DanielLLQ commented 3 years ago

Hello. Thanks for answering. Where can I get the json file for glpi? and how can I add a web server to the configs? 25.01.2021, 18:34, "Pedro Muñoz" notifications@github.com: Hi @DanielLLQ,First of all, thank you for using Gapp and providing us feedback :)When you login in Gapp within your GLPI enviroment, Gapp expects a json with the token provided by your server.If, instead, your server gives in return a html web page, Gapp shows it to you to help you out find the issue.Ussually this kind of issues are refered to firewall, proxies, and all sort of blockers.This messages means that your web server is not configured correctly.—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.  -- С уважением,Литвиц Даниель Системный администраторООО"Лаборатория ИТ-Решений"   

OscarBeiro commented 3 years ago

Hi @DanielLLQ,

We have some miscommunication here.

A JSON file is what GLPI returns when making a request to the API. In your environment, no JSON file is been returned, but an HTML file with the Login. This means you have an issue with your webserver configuration.

This is not a Gapp or GLPI issue, but a Webserver one. Ask your Sysadmin to fix it for you, or you can professional support to fix it.

Cheers,