AlarmDecoder WebApp keypad "Please Wait Loading..."

General Discussion

AlarmDecoder WebApp keypad "Please Wait Loading..."

Postby jackrm » Mon Jun 01, 2020 9:07 pm

Hi,

I just got my AD2USB and able to use the AlarmDecoder Keypad.

I then proceed to install the alarmdecoder and alarmdecoder-webapp on my Ubuntu Linux from https://github.com/nutechsoftware .
I was also able to register the AD2USB on the alarmdcoder-webapp and can see the events from the log. But the keypad on my webapp is just stuck in "Please Wait Loading..." status. If I click on the keypad it will log an entry in info.og with value :
2020-06-01 21:54:36,989 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]



info.log:

2020-06-01 21:42:24,230 INFO: AlarmDecoder Webapp booting up - v0.8.5-5-g367c3dc [in /opt/alarmdecoder-webapp/ad2web/decoder.py:230]
2020-06-01 21:42:24,242 INFO: Library concurrent.futures.ThreadPoolExecutor found and loaded. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:181]
2020-06-01 21:42:24,244 INFO: ThreadPoolExecutor enabled for notifications with max_workders 5. [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:185]
2020-06-01 21:42:24,248 INFO: Discovery running: loc=192.168.68.153:5000, uuid=cf265306-a420-11ea-9a54-b888e3e78801 [in /opt/alarmdecoder-webapp/ad2web/discovery.py:70]
2020-06-01 21:42:24,261 INFO: Set export parameters to: server localhost port 25 tls False auth False from root@alarmdecoder frequency 0 store files False storage path /opt/alarmdecoder-webapp/instance/exports days to keep files 7 email enable False [in /opt/alarmdecoder-webapp/ad2web/decoder.py:717]
2020-06-01 21:42:24,265 INFO: UPNP Discovery Started [in /opt/alarmdecoder-webapp/ad2web/upnp.py:26]
2020-06-01 21:42:24,265 INFO: Attempting to reconnect to the AlarmDecoder [in /opt/alarmdecoder-webapp/ad2web/decoder.py:541]
2020-06-01 21:42:24,279 INFO: AlarmDecoder device was opened. [in /opt/alarmdecoder-webapp/ad2web/decoder.py:399]
2020-06-01 21:46:24,277 INFO: Checking for version updates - last check at: 06-01-2020 21:36:14 [in /opt/alarmdecoder-webapp/ad2web/decoder.py:616]
2020-06-01 21:46:30,422 INFO: Event: 0181617:0:1:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:46:58,476 INFO: Event: 0554875:0:1:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:33,833 INFO: Event: 0498331:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:34,332 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:36,803 INFO: Event: 0498331:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:37,416 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:47,683 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:48:52,021 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:49:04,354 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:49:10,090 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]

2020-06-01 21:50:41,478 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:50:45,513 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:00,061 INFO: Event: 0498331:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:00,560 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:03,034 INFO: Event: 0498331:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:03,635 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:16,593 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:52:19,141 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:54:16,319 INFO: Event: 0310180:0:1:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:54:36,989 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
2020-06-01 21:55:09,128 INFO: Event: 0498331:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:55:09,613 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:55:12,097 INFO: Event: 0498331:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:55:12,706 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:56:25,700 INFO: Checking for version updates - last check at: 06-01-2020 21:46:24 [in /opt/alarmdecoder-webapp/ad2web/decoder.py:616]
2020-06-01 21:57:22,089 INFO: Event: 0483922:0:1:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:58:08,296 INFO: Event: 0498331:0:0:1:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:58:08,900 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:58:11,268 INFO: Event: 0498331:0:0:0:0:0:0 [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 21:58:11,879 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 22:00:34,731 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 22:00:41,048 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 22:01:02,798 INFO: Event: Ready status has changed to False [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 22:01:08,674 INFO: Event: Ready status has changed to True [in /opt/alarmdecoder-webapp/ad2web/notifications/types.py:527]
2020-06-01 22:01:37,437 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
2020-06-01 22:01:37,974 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
2020-06-01 22:01:38,463 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
2020-06-01 22:01:39,270 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
jackrm
newt
newt
 
Posts: 1
Joined: Mon Jun 01, 2020 8:46 pm

Re: AlarmDecoder WebApp keypad "Please Wait Loading..."

Postby Maxburn » Sat Aug 29, 2020 5:36 am

I'm seeing the same message on my iphone only. Works on the computer. Will look in logs later.
Maxburn
Senior Nut
Senior Nut
 
Posts: 55
Joined: Sat Feb 28, 2015 4:57 pm

Re: AlarmDecoder WebApp keypad "Please Wait Loading..."

Postby davide123 » Fri Nov 06, 2020 11:53 am

Hi, I'm getting the same error on my WebApp installation running Python 2.7 on my Pi 4:

[in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]
2020-11-06 14:44:00,610 ERROR: default_error_handler: method_access_denied, You do not have access to method "on_keypress" (endpoint=/alarmdecoder, msg_id=None) [in /usr/local/lib/python2.7/dist-packages/socketio/virtsocket.py:51]

Did you ever trace the root of this error? It's fired when I try to use the virtual Keypad (which doesn't work).

Thanks
davide123
newt
newt
 
Posts: 9
Joined: Mon Nov 02, 2020 11:54 am
Location: Maryland

Re: AlarmDecoder WebApp keypad "Please Wait Loading..."

Postby delphimon » Mon Jun 12, 2023 9:31 pm

Try reverting back to version 0.4.1 of the python module Flask-login (I'm guessing you have version 0.5.0).
delphimon
newt
newt
 
Posts: 6
Joined: Fri Dec 01, 2017 5:39 pm


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests

cron