I have a glances web server running on my pc. I have tested it using a mobile device on the same network and it holds the connection. After getting that worked out, I connected it to my hass sever using the glances integration. It does initially connect but it seems to have trouble holding that connection. You can see in the graph for some of the stats provided by my glances server, there are large gaps in the data signaling that it is connecting and disconnecting constantly. How can I go about making this connection more reliable?
I have a similar problem with glances on one of my machines. I have glances set up on six machines in my house and only one of them gives me extremely spotty glances connection. By extremely spotty, I mean it basically returns nothing to the integration, unless I manually use my web browser to open a connection to the glances page on port 61208. Then it works for a short while and eventually goes back to sleep.
All of the systems with glances are wired with ethernet, they are all running Linux. The thing I notice is when attempting the manual glances request with my web browser, sometimes the page doesn’t load for a while, like 4-7 seconds on a cache-less refresh! Unfortunately, I’m not sure why this might be. It’s almost like the web service has been deprioritized in the system or something. I look at the Chrome debugging window and there aren’t any errors, just a long load time on the initial GET request which succeeds with a 200.
Anyway, this has been bugging me for quite some time and I just don’t know what to search for to resolve it. @cperryoh did you ever fix your issue? I wonder if you see a long delay in the “Network” tab of the Chrome debugger (F12, if you’re not familiar).