Page 1 of 3

recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 12:23 pm
by dtich
i'm getting this recurring -- restarts, updates, no fix. thoughts? thanks!

is this a port setting perhaps? how can i remedy?




Code: Select all
 uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/door/front door (1)' Opened.
   Trigger                         alarmcomm sets frontdoor var ON
   DSC Alarm                       Alarm Zone 'alarm/door/front door (1)' Closed.
   Trigger                         alarmcomm sets frontdoor var OFF

Jul 18, 2023 at 11:18:08 AM
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')

Jul 18, 2023 at 11:18:29 AM
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')

Jul 18, 2023 at 11:18:47 AM
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/door/front door (1)' Opened.
   Trigger                         alarmcomm sets frontdoor var ON
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/door/front door (1)' Closed.
   Trigger                         alarmcomm sets frontdoor var OFF
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Opened.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/living room (6)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   Indigo Cocoa client authenticated (192.168.100.127)

Jul 18, 2023 at 11:21:06 AM
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Opened.
   DSC Alarm                       Alarm Zone 'alarm/motion/office (8)' Closed.
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=4.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 1:27 pm
by kw123
Do you have 2 factor id on?

And naturally any change in userid pwd etc?


Sent from my iPhone using Tapatalk

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 1:37 pm
by dtich
no 2FA, and no change to id/etc, no. no changes in many months.

thanks karl!

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 1:39 pm
by kw123
What is your setup is what controller. It shows port 8443. Is that correct?


Sent from my iPhone using Tapatalk

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 1:44 pm
by dtich
i did not set the port, i believe the plugin set it automatically. it seems that is the issue, but i've found now way to change it.. i mean, there is a way, but it always worked without error before without any changes.

what should i look for? i have not set the port on the unifi controller no. it should still be default, which is assume is 80? or .. i'll check. not sure.


thx

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 1:55 pm
by dtich
this is the url that the controller accesses when opening the dashboard:

https://localhost:8443/manage/account/l ... =%2Fmanage

so, yes. 8443. works fine from browser. BUT, it does take more than 4s to load usually. not sure same applies to a json or curl, but it does take a bit in html.

fwiw.

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 2:04 pm
by kw123
Why is it that long? Has that changed?

I will check what the time out param is


Sent from my iPhone using Tapatalk

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 2:20 pm
by dtich
believe that timeout is set at 4s, that's what the error says...

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 2:28 pm
by kw123
please try v ...385 just posted I have set all timeouts to 8 secs. that should be plenty.

Karl

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:01 pm
by dtich
so, still getting this error:

Code: Select all
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   Indigo Cocoa client authenticated (192.168.100.127)

Jul 18, 2023 at 1:58:09 PM
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')


but the system is communicating as units are popping online right after initialization of the plugin... odd?

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:04 pm
by kw123
The plugin uses several sources to get info

It would work 99% w/o http
To the controller

Some reports would be missing
and you can select to have the controller info check the info from the ap and switches


Sent from my iPhone using Tapatalk

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:05 pm
by kw123
And did you install the new version?


Sent from my iPhone using Tapatalk

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:19 pm
by dtich
yes this is v .385 running.


thx Karl!

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:25 pm
by dtich
this is log after i just reloaded plugin again.

Code: Select all
Jul 18, 2023 at 2:20:25 PM
   Reloading plugin "uniFiAP 2022.42.385" using API v3.0
   Stopping plugin "uniFiAP 2022.42.385" (pid 63903)
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.10
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.10
   uniFiAP                         after loop , quitNow= >><<
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.20
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.6
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.5
   uniFiAP Warning                 comsumeLogData: stopping process due to stop request
   uniFiAP Warning                 comsumeDictData: stopping process due to stop request
   Stopped plugin "uniFiAP 2022.42.385"
   Starting plugin "uniFiAP 2022.42.385" (pid 65313)
   uniFiAP                         initializing  ...
   uniFiAP                         path To files:          =================
   uniFiAP                         detailed logging        /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.uniFiAP/plugin.log
   uniFiAP                         testing logging levels, for info only:
   uniFiAP                         logger  enabled for     INFO           ==> TEST ONLY
   uniFiAP Warning                 logger  enabled for     WARNING        ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     ERROR          ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     CRITICAL       ==> TEST ONLY
   uniFiAP                         using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
   Started plugin "uniFiAP 2022.42.385"
   uniFiAP                         debug settings :[]
   uniFiAP                         initialized ... looping

Jul 18, 2023 at 2:21:04 PM
   uniFiAP                         after loop , quitNow= >>new devices<<
   uniFiAP Warning                 comsumeDictData: stopping process due to stop request
   uniFiAP Warning                 comsumeLogData: stopping process due to stop request
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.10
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.10
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.20
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.5
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.6
   uniFiAP                         runConcurrentThread stopping plugin due to:  ::::: new devices :::::
   Reloading plugin "uniFiAP 2022.42.385" using API v3.0
   Stopping plugin "uniFiAP 2022.42.385" (pid 65313)
   uniFiAP Error                   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Stopped plugin "uniFiAP 2022.42.385"
   Starting plugin "uniFiAP 2022.42.385" (pid 65636)
   uniFiAP                         initializing  ...
   uniFiAP                         path To files:          =================
   uniFiAP                         detailed logging        /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.uniFiAP/plugin.log
   uniFiAP                         testing logging levels, for info only:
   uniFiAP                         logger  enabled for     INFO           ==> TEST ONLY
   uniFiAP Warning                 logger  enabled for     WARNING        ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     ERROR          ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     CRITICAL       ==> TEST ONLY
   uniFiAP                         using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
   Started plugin "uniFiAP 2022.42.385"
   uniFiAP                         debug settings :[]
   uniFiAP                         initialized ... looping

Jul 18, 2023 at 2:23:00 PM
   uniFiAP                         after loop , quitNow= >>new devices<<
   uniFiAP Warning                 comsumeLogData: stopping process due to stop request
   uniFiAP Warning                 comsumeDictData: stopping process due to stop request
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.10
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.20
   uniFiAP Warning                 getMessages: stopping listener process for :APtail - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.5
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.11
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.100.21
   uniFiAP Warning                 getMessages: stopping listener process for :SWdict - 192.168.0.6
   uniFiAP Warning                 getMessages: stopping listener process for :APdict - 192.168.100.10
   uniFiAP                         runConcurrentThread stopping plugin due to:  ::::: new devices :::::
   Reloading plugin "uniFiAP 2022.42.385" using API v3.0
   Stopping plugin "uniFiAP 2022.42.385" (pid 65636)
   uniFiAP Error                   plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
   Stopped plugin "uniFiAP 2022.42.385"
   Starting plugin "uniFiAP 2022.42.385" (pid 66037)
   uniFiAP                         initializing  ...
   uniFiAP                         path To files:          =================
   uniFiAP                         detailed logging        /Library/Application Support/Perceptive Automation/Indigo 2022.2/Logs/com.karlwachs.uniFiAP/plugin.log
   uniFiAP                         testing logging levels, for info only:
   uniFiAP                         logger  enabled for     INFO           ==> TEST ONLY
   uniFiAP Warning                 logger  enabled for     WARNING        ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     ERROR          ==> TEST ONLY
   uniFiAP Error                   logger  enabled for     CRITICAL       ==> TEST ONLY
   uniFiAP                         using '/Library/Frameworks/Python.framework/Versions/Current/bin/python3' for utily programs
   Started plugin "uniFiAP 2022.42.385"
   uniFiAP                         debug settings :[]
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')
   uniFiAP                         initialized ... looping

Jul 18, 2023 at 2:24:04 PM
   uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')

Re: recurring error, unifi access??

PostPosted: Tue Jul 18, 2023 3:26 pm
by dtich
this is the full error line, not sure why it cut off in that last paste, maybe formatting..?

Code: Select all
 uniFiAP Error                   HTTPSConnectionPool(host='192.168.100.100', port=8443): Read timed out. (read timeout=10.0); line#,Module,Statement:(532, 'send', 'raise ReadTimeout(e, request=request)')