more G-Labs products

Author Topic: Server not responding  (Read 1290 times)

June 24, 2016, 08:21:05 PM
Read 1290 times

martinren

  • *
  • Information
  • Newbie
  • Posts: 5
Hello everyone,

Some time ago I've been working in my home automation system with HomeGenie.
Almost from the beginning I have the same problem: The web server randomly fails to respond to the clients.

To be clearer, I recorded a video (https://youtu.be/NkMyL26s6o0) which shows first, a Google Chrome trying to access the HomeGenies site, and on the right side of the screen you can see a Wireshark to monitor connections. As you can see, when I ask for an image, or for the entire site, it sometimes respond,and sometimes not. What is interesting, is that there is a “keep alive” packet on the connection, even when the server is not working Ok. Also, I permanently have the “Event stream” connect/disconnect message.

I have reinstalled the software on different computers, used different IP and Ports, and the result is the same: Sometimes it works, sometimes not.
Right now I'm using Windows 10 (Spanish).

Reviewing the Log of HomeGenie, nothing appears abnormal. I show a fragment:


2016-06-08 20:47:47.1557 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [OPEN]
2016-06-08 20:47:47.3119 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [CLOSED AFTER 0,156 seconds]
2016-06-08 20:47:48.2641 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [OPEN]
2016-06-08 20:47:48.2641 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   304 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [CLOSED AFTER 0,003 seconds]
2016-06-08 20:47:51.3647 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [OPEN]
2016-06-08 20:47:51.5053 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [CLOSED AFTER 0,14 seconds]
2016-06-08 20:47:52.4653 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   200 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [OPEN]
2016-06-08 20:47:52.4692 Info WebServiceGateway   xxx.xxx.xxx.xxx   HTTP   GET   304 /hg/html/pages/control/widgets/homegenie/generic/images/icons/radio_02.png [CLOSED AFTER 0,004 seconds]


Can anybody help me with this trouble, at least letting me know what test I can do to find the problem? Has anyone gone trough this?

July 01, 2016, 01:18:07 AM
Reply #1

martinren

  • *
  • Information
  • Newbie
  • Posts: 5
Guys, is this happening just to me?

Could anyone please try loading the following image on your server, and reloading it a couple of times? Is the server always responding?

http://YOURHOMEGENIEIP:YOURHOMEGENIEPORT/hg/html/pages/control/widgets/homegenie/generic/images/icons/printer.png

In my case, the server responds one time every two queries

July 01, 2016, 12:53:02 PM
Reply #2

Michel

  • **
  • Information
  • Jr. Member
  • Posts: 42
The image reloads every time.

July 02, 2016, 12:41:14 AM
Reply #3

Zen

  • **
  • Information
  • Jr. Member
  • Posts: 27
The image has problem loading for me too. The issues with web server probably only affects people who runs Homegenie on Windows. I have to clear cache every other time to get homegenie to load.
« Last Edit: July 02, 2016, 05:05:02 AM by Zen »

July 02, 2016, 09:22:00 PM
Reply #4

julianlp

  • *
  • Information
  • Newbie
  • Posts: 2
Same problem here.
I think it's a Chrome related problem. I've tried on IE and the issue doesn't seem to appear.

July 05, 2016, 02:09:02 PM
Reply #5

martinren

  • *
  • Information
  • Newbie
  • Posts: 5
Same problem here.
I think it's a Chrome related problem. I've tried on IE and the issue doesn't seem to appear.


I have tried and you are right. The problem is mainly with Chrome.
Anyone running HG on a RPI or Linux could try the behaviour when loading the image from Chrome and Edge?
« Last Edit: July 05, 2016, 03:48:23 PM by martinren »

July 14, 2016, 11:52:12 PM
Reply #6

amselem

  • **
  • Information
  • Jr. Member
  • Posts: 25
It's working for me with Win10 + Edge

July 16, 2016, 12:18:15 AM
Reply #7

julianlp

  • *
  • Information
  • Newbie
  • Posts: 2
So, does anyone know if this is a confirmed bug? Should we report it somewhere?