fusioninventory-agent icon indicating copy to clipboard operation
fusioninventory-agent copied to clipboard

http server does not work after computer restart

Open Jonasdart opened this issue 5 years ago • 5 comments

Friends, good morning! After the computer is restarted, the agent or only the http server does not start.

  • operational system: Windows-10-10.0.18362-SP0
  • Architecture: x64
  • Agent version: 2.5.2

Jonasdart avatar Jan 29 '20 14:01 Jonasdart

Hi @duzzsys when you say agent or http server does not start, do you also mean sometime there's no problem ? Did you check the agent log for any error ?

g-bougard avatar Feb 07 '20 05:02 g-bougard

Hello, @g-bougard !! Yes, when installed it works ok. But, when the network is changed, for example, when the wifi takes a long time to connect - of course - keeping the old IP, the server will stop working. That is, we do not have access even maintaining the IP.

Jonasdart avatar Feb 12 '20 10:02 Jonasdart

The agent won't try to follow network changes and I can understand this can make the HTTP server failing after the first network change. Can you try to set the "conf-reload-interval" to something like 3600 (for one hour) ? This may help the agent to reconfigure the HTTP server in less than an hour. Don't forget to check the agent log for any interesting error.

g-bougard avatar Feb 12 '20 11:02 g-bougard

Okay, thank you so much for your help! I will stay tuned :D

Jonasdart avatar Feb 13 '20 10:02 Jonasdart

Hi @Jonasdart I made few test on that case and I wasn't able to reproduce. On a computer, I started the agent, accessed on the remote ip, got the expected page. Then I changed manually the ip, the agent still being running, and I was also able to reach the default page on the new ip. I have a question then, did you set httpd-ip during the setup ? Can you check eventually the value in registry ? By default, it should be 0.0.0.0 as set by the installer.

g-bougard avatar Nov 17 '20 14:11 g-bougard