This object is in archive! 

Rule with HTTP request

Alberto Sagredo shared this problem 10 years ago
Known

Hi i have configured a rule when motion is detected it must make a get request over http but it seems to do not work, ,as in apache logs i do not see anything


What could be wrong?


Thanks in advance

Replies (9)

photo
1

For testing put an emailmessage in the rule and see if the motion is triggert.


Also can u post the http request screen to see it.

photo
1

Motion is triggered


I tested to light on a lamp and it worked but http request it seems not


I tested with email send and worked also


Here a capture of http get config


Only url of my apache server configured port 8082


XHGFdn23sMNZEkzYsY8z

photo
2

So zipato works.


Don't know what u are trying todo and what your config is.


But when you open the url in your browser does the request work?

photo
1

Hi,


Since Zipato works it could be:

1. a DNS problem. Replace myserver by IP-address;

2. Firewall stuff: is 8082 op in the firewall en on your webserver machine;

3. Put: Content-Type: application/x-zip in the headers part of HTTP Request;

photo
1

It's most likely a DNS problem. If you're using 'mywebserver' for real,

the box won't resolve it. Use either FQDN or IP address.


Firewall problem is also a possibility, but putting a Content-Type header wouldn't make any difference as there is no content here.

photo
1

i replace mywebserver for screenshot. Its pointing my domain webserver and it works for all the internet but zipato does not do request.


You could check in my real config which domain is and it works. I have seen an access from zipato but not from zipato. webservice


Thanks

photo
1

I have replace domain on http url for ip and same result. No logs on apache from zipato. Does it works?

photo
1

The question is... zipato make uRL GET request from local device, or from a external ip address?


I mean if it has a local ip, maybe i have to point to local webserver ip or use external one , because request came from outside.. Im looking to see what could be wrong on my side but do not see anything anormal

photo
1

Ok. That was the problem. URL GET is made locally,


Using local address it worked


10.0.1.101 - - [18/Oct/2013:19:28:11 +0200] "GET / HTTP/1.1" 200 359 "-" "Java/1.6.0_32"10.0.1.101 - - [18/Oct/2013:19:29:10 +0200] "GET / HTTP/1.1" 200 359 "-" "Java/1.6.0_32"


Sorry for confusion i did not know request where made locally by unit , so external domain does not work from internal requests

Leave a Comment
 
Attach a file