ticgal / gapp

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

DNS is not flushed/up to date #30

Closed CartCaved closed 3 years ago

CartCaved commented 3 years ago

Describe the bug

We have GLPI running on an internal network with a firewall redirecting access to the machine from the internet. From the external network, the domain name points to the public IP. On the internal network, the local DNS points to the internal IP address of the GLPI instance.

When the client is on the internal network, GAPP is still trying to connect to the public IP.

To Reproduce

Steps to reproduce the behavior:

  1. Disable Wifi -> external network
  2. Enter username and password in GAPP, and press login
  3. GAPP is logged in, logout
  4. Enable Wifi -> internal network
  5. Enter username and password in GAPP, and press login
  6. GAPP gives an error: Errir Error 005-1420135 -> failed to connect to [domain name as configured]/[External IP] (port [port number] from /[internal IP of the client] (port [client port]) after 5000 ms

Expected behavior

The expected behavior is that GAPP will use the local IP resolution when on the local network.

Smartphone (please complete the following information):

Samsung A4

Your GLPI server

GLPI 9.5.3

CartCaved commented 3 years ago

My bad - incorrectly filed!