getunifiOSAndPort bad return from unifi controller...

Posted on
Tue Jan 26, 2021 10:01 pm
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

getunifiOSAndPort bad return from unifi controller...

Hi Karl, J

Thanks for all of your work! Just updated to 7.34.215 (I forget from what but it's been at least 4 months or so).

Now my event log is flooded with the last message below (it is referencing the port on which my Gen 1 Cloud Key is located):

Code: Select all
Jan 26, 2021 at 10:50:13 PM
   Enabling plugin "uniFiAP 7.34.315"
   Starting plugin "uniFiAP 7.34.315" (pid 24820)
   uniFiAP                         initializing  ...
   uniFiAP                         path To files:          =================
   uniFiAP                         indigo                  /Library/Application Support/Perceptive Automation/
   uniFiAP                         installFolder           /Library/Application Support/Perceptive Automation/Indigo 7.5/
   uniFiAP                         plugin.py               /Library/Application Support/Perceptive Automation/Indigo 7.5/Plugins/uniFiAP.indigoPlugin/Contents/Server Plugin/
   uniFiAP                         Plugin params           /Library/Application Support/Perceptive Automation/Indigo 7.5/Preferences/Plugins/com.karlwachs.uniFiAP/
   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                         check                   /Library/Application Support/Perceptive Automation/Indigo 7.5/Logs/com.karlwachs.uniFiAP/plugin.log  <<<<    for detailed logging
   uniFiAP                         Plugin short Name       UniFi
   uniFiAP                         my PID                  24820
   uniFiAP                         set params for indigo V 7.5
   Started plugin "uniFiAP 7.34.315"
   uniFiAP                         testing if variable enableTimeTracking_UniFi is == on/off/print-option to enable/end/print time tracking of all functions and methods (option:'',calls,cumtime,pcalls,time)
   uniFiAP                         myLogSet setting parameters -- logFileActive= ; logFile= /Library/Application Support/Perceptive Automation/Indigo 7.5/Preferences/Plugins/com.karlwachs.uniFiAP/plugin.log;  debugLevel= []
   uniFiAP                         MAP2Vendor initializing
   uniFiAP                         MAP2Vendor initializing  finished, read from mac2Vendor.json file
   uniFiAP                         MAP2Vendor initializing  finished, read from mac2Vendor.json file
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   Error (client)                  timeout waiting for plugin response from com.karlwachs.uniFiAP for request UiGetValues1
   Error (client)                  timeout waiting for plugin response from com.karlwachs.uniFiAP for request CallPluginFunc
   Error (client)                  runConfigDialog() caught exception: NSInvalidArgumentException -- *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.45, no os and / port found, tried ports:['8443', '443']


Thoughts?

Posted on
Wed Jan 27, 2021 7:36 am
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: getunifiOSAndPort bad return from unifi controller...

could you upgrade to v .316?
It seems that the last upload had a corrupt pluginconfig.xml file, no clue how that happened


Karl

Posted on
Sat Jan 30, 2021 6:38 pm
mundmc offline
User avatar
Posts: 1060
Joined: Sep 14, 2012

Re: getunifiOSAndPort bad return from unifi controller...

Sorry if I'm dense, but when you type v.316, I'm kinda in the weeds with finding it.

https://www.indigodomo.com/pluginstore/13/
Above doesn't show it

https://www.dropbox.com/s/5dmpsf5ipu60b ... 2.zip?dl=0
Above is a higher version number but Indigo asks if I want to downgrade.

Thanks for clarifying, I am guessing this might have been a typo.

Posted on
Sun Jan 31, 2021 12:35 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: getunifiOSAndPort bad return from unifi controller...

sorry for being cryptic post.

the latest "official" version is always in the plugin store https://www.indigodomo.com/pluginstore/73

During development I post intermediate versions on GitHub.
so gihub v >= indigo plugin store v

Indigo checks only against the plugin store version, so if you have downloaded a newer version from GitHub, you might get a message from indigo that the versions are higher/lower

Karl

Posted on
Sat Mar 19, 2022 3:10 pm
dnomode offline
Posts: 366
Joined: Apr 12, 2008
Location: North Georgia

Re: getunifiOSAndPort bad return from unifi controller...

Hello Karl,

I'm getting the following warning. Any ideas?

I'm on:
Mac 10.13.6
Indigo 2021.2
Plugin 7.39.373
Unifi OS 2.3.15
Unifi Network 7.0.23

Thanks for the help.

Ed

Code: Select all
Mar 19, 2022 at 5:01:19 PM
   uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.10, no os and / port found, tried ports:[u'443', u'8443']
   uniFiAP                         MAP2Vendor initializing  still waiting for download
   uniFiAP                         MAP2Vendor initializing  still waiting for download
   uniFiAP                         MAP2Vendor initializing  still waiting for download
   uniFiAP                         MAP2Vendor initializing  still waiting for download
   uniFiAP                         MAP2Vendor initializing  still waiting for download

Posted on
Sun Mar 20, 2022 12:26 pm
kw123 offline
User avatar
Posts: 8333
Joined: May 12, 2013
Location: Dallas, TX

Re: getunifiOSAndPort bad return from unifi controller...

the plugin tries to download mac# to vendor tables once very xx days

that site might not be reachable sometimes.

it should not create any issues beside these anoying messages

Karl

Posted on
Mon Mar 21, 2022 7:50 am
dnomode offline
Posts: 366
Joined: Apr 12, 2008
Location: North Georgia

Re: getunifiOSAndPort bad return from unifi controller...

Hey Karl,

Thanks for the reply. I copied to much stuff. I was actually just concerned with this warning. Sorry

What you think?

Code: Select all
uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.10, no os and / port found, tried ports:[u'443', u'8443']

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest