You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok. I found out it was an issue due to the host blocking the request:
{"armed": true, "motion": true, "last_motion_check": 1495355441, "host": "(none)"}
<html><head><title>Error 406 - Not Acceptable</title><head><body><h1>Error 406 - Not Acceptable</h1><p>Generally a 406 error is caused because a request has been blocked by Mod Security. If you believe that your request has been blocked by mistake please contact the web site owner.</p></body></html
Is it possible to use something else instead of curl? Perhaps wget as a workaround? My server error logs reported: [21/May/2017:04:37:08 -0400] "POST /test.php HTTP/1.1" 406 300 "-" "curl/7.37.1"
Apparently it's not working for me. I've changed it from:
MOTION_NOTIFICATION_URL=
to
MOTION_NOTIFICATION_URL=http://www.myaddress.com/webpage_to_accept_json.php
It doesn't seem to execute at all and using wget to that address worked fine.
Any ideas?
The text was updated successfully, but these errors were encountered: