fusioninventory / fusioninventory-agent

FusionInventory Agent
http://fusioninventory.org/
GNU General Public License v2.0
253 stars 125 forks source link

Error when trying to deploy after change the server address #1038

Open neobnr opened 1 year ago

neobnr commented 1 year ago

When I try to deploy I have a problem. The status stay in "Prepared" forever.

Info: glpi.empresa.br = 10.10.10.18 old_server_glpi.empresa.br = 10.10.134.33 GLPI: 9.5.7 FusionInventory: 2.6

In Server: When I do "ping glpi.empresa.br" the answear is "10.10.10.18" When I do "ping 10.10.134.33" the answear is "Request timed out." (Normal... it was the old address)

In workstation: When I do "ping glpi.empresa.br" the answear is "10.10.10.18" When I do "ping 10.10.134.33" the answear is "Request timed out." (Normal... it was the old address)

But when a look the log (with debug 2):

[Fri Feb 24 10:34:44 2023][info] running task Deploy [Fri Feb 24 10:34:44 2023][debug2] http://**glpi.empresa.br**/plugins/fusioninventory/?action=getConfig&task[Deploy]=2.8&machineid=rasals.empresa.br-2023-02-23-15-58-04 [Fri Feb 24 10:34:44 2023][debug2] http://**10.10.134.33**/plugins/fusioninventory/b/deploy/?action=getJobs&machineid=rasals.empresa.br-2023-02-23-15-58-04&version=2.8 [Fri Feb 24 10:35:05 2023][error] [http client] communication error: 500 Can't connect to 10.10.134.33:80 (Uma tentativa de conexão falhou porque o componente conectado não respondeu [Fri Feb 24 10:35:05 2023][debug] bad JSON: No answer from server. [Fri Feb 24 10:35:05 2023][info] No Deploy job found in server jobs list.

Any ideas or help?