uniFiAP Error

Posted on
Sun Mar 21, 2021 11:12 am
farberm offline
Posts: 393
Joined: Feb 24, 2008

uniFiAP Error

I am getting the following recurring error.. Not sure why

Thanks for you great plugin work

uniFiAP Error in Line 7763 has error=No JSON object could be decoded
uniFiAP checkAndPrepDict JSON len:59; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1...... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx1
uniFiAP .... in receiving DICTs for APdict-192.168.1.9; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log


Log File:
21 13:09:12 getMessages: relaunching dictLoop.exp / APdict / 192.168.1.9: timeSinceLastRestart 41 > forcedRestart:999999999 [sec] ; without message:132.1[sec], limitforRestart:130.0[sec], restartCount:0, len(msg):56; lastMSG:mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1<<
2021-03-21 13:09:17.859 ERROR Plugin.checkAndPrepDict in Line 7763 has error=No JSON object could be decoded
21 13:09:17 checkAndPrepDict JSON len:59; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx2
21 13:09:17 .... in receiving DICTs for APdict-192.168.1.8; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log
21 13:09:17 .... ping test: ok
21 13:09:17 .... ssh test: ok
21 13:09:17 .... uid/passwd:>(u'mypassword', u'xcvbnmasdf')<
21 13:09:17 getMessages: consume data needed > 10 secc; APdict-192.168.1.8-0; DT:10.8[sec] len(MSG):59 lastMSG:mca-dump | sed -e 's/^ *//'

xxxThisIsTheEndTokenxxx2

21 13:09:26 getMessages: relaunching dictLoop.exp / APdict / 192.168.1.8: timeSinceLastRestart 106 > forcedRestart:999999999 [sec] ; without message:131.9[sec], limitforRestart:130.0[sec], restartCount:0, len(msg):56; lastMSG:mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2<<
2021-03-21 13:09:56.903 ERROR Plugin.checkAndPrepDict in Line 7763 has error=No JSON object could be decoded
21 13:09:56 checkAndPrepDict JSON len:59; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx1
21 13:09:56 .... in receiving DICTs for APdict-192.168.1.9; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log
21 13:09:56 .... ping test: ok
21 13:09:56 .... ssh test: ok
21 13:09:56 .... uid/passwd:>(u'mypassword', u'xcvbnmasdf')<
21 13:09:56 getMessages: consume data needed > 10 secc; APdict-192.168.1.9-1; DT:10.7[sec] len(MSG):59 lastMSG:mca-dump | sed -e 's/^ *//'

xxxThisIsTheEndTokenxxx1
Last edited by farberm on Sun Mar 21, 2021 4:18 pm, edited 1 time in total.

Posted on
Sun Mar 21, 2021 12:44 pm
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFiAP Error

I have a fix ready.


Sent from my iPhone using Tapatalk

Posted on
Mon Mar 22, 2021 9:15 am
farberm offline
Posts: 393
Joined: Feb 24, 2008

Re: uniFiAP Error

Fix that error but now I get this similar one at7754 instead of 7763. Thanks again.

Mar 22, 2021 at 11:07:10 AM
uniFiAP Error in Line 7754 has error=No JSON object could be decoded
uniFiAP checkAndPrepDict JSON len:56; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx2
uniFiAP .... in receiving DICTs for APdict-192.168.1.9; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log
uniFiAP Error in Line 7754 has error=No JSON object could be decoded
uniFiAP checkAndPrepDict JSON len:56; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx1
uniFiAP .... in receiving DICTs for APdict-192.168.1.8; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log

Mar 22, 2021 at 11:08:03 AM
uniFiAP Error in Line 7754 has error=No JSON object could be decoded
uniFiAP checkAndPrepDict JSON len:56; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx1
uniFiAP .... in receiving DICTs for APdict-192.168.1.9; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log


Here is the log file:
22 11:10:51 getMessages: relaunching dictLoop.exp / APdict / 192.168.1.9: timeSinceLastRestart 41 > forcedRestart:999999999 [sec] ; without message:136.7[sec], limitforRestart:135.0[sec], restartCount:0, len(msg):54; lastMSG:mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx1<<
2021-03-22 11:11:12.536 ERROR Plugin.checkAndPrepDict in Line 7754 has error=No JSON object could be decoded
22 11:11:12 checkAndPrepDict JSON len:56; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx2
22 11:11:12 .... in receiving DICTs for APdict-192.168.1.8; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log
22 11:11:12 .... ping test: ok
22 11:11:12 .... ssh test: ok
22 11:11:12 .... uid/passwd:>(umyusername', u'mypassword')<
22 11:11:12 getMessages: consume data needed 10.8[secs] for data form APdict-192.168.1.8-0; len(MSG):56 lastMSG:mca-dump | sed -e 's/^ *//'
xxxThisIsTheEndTokenxxx2

22 11:11:20 getMessages: relaunching dictLoop.exp / APdict / 192.168.1.8: timeSinceLastRestart 109 > forcedRestart:999999999 [sec] ; without message:136.7[sec], limitforRestart:135.0[sec], restartCount:0, len(msg):54; lastMSG:mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2<<
2021-03-22 11:12:44.162 ERROR Plugin.checkAndPrepDict in Line 7754 has error=No JSON object could be decoded
22 11:12:44 checkAndPrepDict JSON len:56; mca-dump | sed -e 's/^ *//' xxxThisIsTheEndTokenxxx2...
... ed -e 's/^ *//' xxxThisIsTheEndTokenxxx2
22 11:12:44 .... in receiving DICTs for APdict-192.168.1.9; for details check unifi logfile at: /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log
22 11:12:44 .... ping test: ok
22 11:12:44 .... ssh test: ok
22 11:12:44 .... uid/passwd:>(umyusername', u'mypassword')<
22 11:12:44 getMessages: consume data needed 9.7[secs] for data form APdict-192.168.1.9-1; len(MSG):56 lastMSG:mca-dump | sed -e 's/^ *//'
xxxThisIsTheEndTokenxxx2

Posted on
Mon Mar 22, 2021 9:28 am
kw123 offline
User avatar
Posts: 8360
Joined: May 12, 2013
Location: Dallas, TX

Re: uniFiAP Error

can you do:
open terminal
ssh unixuserid@192.168.1.9 enter password
mca-dump

post /email me response

then
switch on debug expect command and result in config
then post / send me the plugin.logfile
and also the menu/print config
Screen Shot 2021-03-22 at 10.28.04.png
Screen Shot 2021-03-22 at 10.28.04.png (8.58 KiB) Viewed 1411 times

it will show user id and password, you should mask them

its should be a lot of data, posting it might not work
my email is karlwachs at me com

Karl

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 18 guests