Page 1 of 1

AD2PI Beta WebApp Failing Tests

PostPosted: Tue Aug 05, 2014 6:23 am
by ritter4jp
I had my system working but reloaded the software and now the tests fail at the end of setup. I used the 6-18 image with the defaults which I belive to be the same as I had done before. I can telnet to the 10000 port and talk with the board via ser2sock so that seems to work fine. I get update messages from the alarm panel while connected so that is working. I was able to type a '!' char and the setup came up and seemed to be working normally. Wouldn't I get a green check for something in the tests with that much working? What would the next step be in debugging the webapp?

Re: AD2PI Beta WebApp Failing Tests

PostPosted: Tue Aug 05, 2014 9:41 am
by kevin
A look at the /var/log/gunicorn/alarmdecoder.log around that point in time would likely help in diagnosing the problem

Re: AD2PI Beta WebApp Failing Tests

PostPosted: Tue Aug 05, 2014 6:13 pm
by ritter4jp
I opened a putty session monitoring the log as suggested and it worked fine. I had done the same configuration many times without success. Mechanic syndrome strikes again.

Looking back in the file I ran across a Traceback that ended with wsgi.version (1,0) failed with KeyError.

Thanks for the advice.

Re: AD2PI Beta WebApp Failing Tests

PostPosted: Wed Aug 06, 2014 9:14 am
by Scott
If you're not even getting a green check for the 'open' test I'm thinking that something was set wrong in the setup process.

The default setup is:
  • Local Device
  • /dev/ttyAMA0
  • 115200
  • Share device should be checked and configured for localhost:10000.

If that all looks good to you, send us an email at ad2usb@support.nutech.com and attach the log. I'd also be interested to see the exported settings. (Export link at the bottom of the settings page)

Thanks!