Z-way server goes down spontaneously

Discussions about Z-Way software and Z-Wave technology in general
User avatar
PoltoS
Posts: 4978
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS » 06 Apr 2019 17:29

Thank you a lot for this analysis. We were hunting for this HTTP related bug never thinking about relation to SSL.

We will run ling term test with HTTPS to hunt it down. Is it with XML parsing or with JSON?

z-wavettaja
Posts: 13
Joined: 02 Nov 2017 18:49

Re: Z-way server goes down spontaneously

Post by z-wavettaja » 09 Apr 2019 20:54

Nice to be helpful. I don't understand your question, but here is what I'm doing ;)
I use value

Code: Select all

http://myserver.dy.fi/zway/zway.php?device=%DEVICE%&state=%VALUE%
(or https).
Other side I have that zway.php script, which just receives device and state values and takes furher actions on that side.

User avatar
PoltoS
Posts: 4978
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS » 09 Apr 2019 23:41

Can you provide a snipplet of the code running this http request? How do you process the result of this request? What does it return? Or you just do the request without handling the reply (just do the action without feedback from the request)?

z-wavettaja
Posts: 13
Joined: 02 Nov 2017 18:49

Re: Z-way server goes down spontaneously

Post by z-wavettaja » 10 Apr 2019 20:20

Code running this http request is not my own. As I said before, I used HTTPGet app from appstore.

On my web server php script does not return anything. Actually I don't have to process values at all to get crashes. Like this zway.php:

Code: Select all

<?
$device = $_GET["device"];
$state = $_GET["state"];
?>

User avatar
PoltoS
Posts: 4978
Joined: 26 Jan 2011 19:36

Re: Z-way server goes down spontaneously

Post by PoltoS » 14 Apr 2019 00:15

We will look on the HTTPGet module. May be it uses something that cause the crash

Post Reply