Page 2 of 2

Re: Z-way server goes down spontaneously

Posted: 06 Apr 2019 17:29
by PoltoS
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?

Re: Z-way server goes down spontaneously

Posted: 09 Apr 2019 20:54
by z-wavettaja
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.

Re: Z-way server goes down spontaneously

Posted: 09 Apr 2019 23:41
by PoltoS
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)?

Re: Z-way server goes down spontaneously

Posted: 10 Apr 2019 20:20
by z-wavettaja
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"];
?>

Re: Z-way server goes down spontaneously

Posted: 14 Apr 2019 00:15
by PoltoS
We will look on the HTTPGet module. May be it uses something that cause the crash