My VeraLite running 1.7.649. I have my event server recording events successfully to a database. If it matters, it’s running ASP Classic (don’t ask) on IIS in Windows 10, with an SQL Server 2014 Express backend. Everything seems to be going smoothly with the logging part.
I followed the wiki at [url=http://wiki.micasaverde.com/index.php/AlternateEventServer]http://wiki.micasaverde.com/index.php/AlternateEventServer[/url] using the instructions for UI7.
I noticed that Vera was sending the same events repeatedly, so I started deduping them in my database instead of just logging a bunch of redundant garbage.
Upon “tailing” the log, as indicated on AlternateEventServer’s wiki page (and removing the grep), I now see that it’s not treating my server’s response as a success for some reason, and retrying it later.
I’ve tried everything I can think of to determine the problem: Setting explicit Content-Type header (text/plain), specifying Content-Length, mixing up the “1234” in the JSON response with other numbers, including 0, etc. Attached is a screenshot of the log being tail’ed as it fires off an event or two. You can see my server’s response is exactly as specified in the wiki, and the Vera doesn’t seem to like it for some reason.
Can someone please clue me in as to what I might be doing wrong? My brain is fried.