Warning message

Posted on
Thu Dec 30, 2021 10:11 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Warning message

I recently noted I'm getting a warning notice in my Indigo log:
Code: Select all
 uniFiAP Warning                 getunifiOSAndPort bad return from unifi controller 192.168.1.1, no os and / port found, tried ports:[u'443', u'8443']


I see this is just a warning notice, but I can't figure out what is causing it and how I can correct it. Any suggestions?

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Thu Dec 30, 2021 3:37 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Warning message

Any upgrades on UniFi?


Sent from my iPhone using Tapatalk

Posted on
Thu Dec 30, 2021 3:58 pm
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Warning message

As a matter of fact, yes I did have an update to the device. Now that you mention it, I think that's when the message began.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Thu Dec 30, 2021 4:21 pm
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Warning message

I still have not setup my indigo server after my move. Lamps and furniture is still a priority.

But next year definitely


Sent from my iPhone using Tapatalk

Posted on
Thu Dec 30, 2021 4:47 pm
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Warning message

I understand your priorities!

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Posted on
Thu Jan 06, 2022 5:30 am
kw123 offline
User avatar
Posts: 8363
Joined: May 12, 2013
Location: Dallas, TX

Re: Warning message

ok I am ready to look into it:

could you please switch on debug in config, save
# 6, 6.1 and 14
and restart plugin
and send (karlwachs at me com) the results (plugin.log in the logs directory in indigo) !! will contain user id password etc!!

Karl
it should look like.. and a lot more, I have xxx out the uid and passwords

Code: Select all
06 12:33:30 myLogSet setting parameters -- logFileActive= indigo; logFile= /Library/Application Support/Perceptive Automation/Indigo 2021.2/Logs/com.karlwachs.uniFiAP/plugin.log;  debugLevel= [u'ConnectionCMD', u'ConnectionRET']
06 12:33:30 ... debug enabled for GW-dev:F, AP-dev:F,F,F,F,F, SW-dev:F,F,F,F,F,F,F,F,F,F,F,F,F
06 12:33:31 getunifiOSAndPort existing  os>< .. ip#>192.168.1.xx< .. trying ports>[u'443', u'443', u'8443']<
06 12:33:31 getunifiOSAndPort trying port#:>/usr/bin/curl --insecure  -I -s -o /dev/null -w "%{http_code}" 'https://192.168.1.xx:443'< gives ret code:200
06 12:33:31 getunifiOSAndPort found  OS:unifi_os, port#:443 using ip#:192.168.1.xx
06 12:33:31 Connection: requests login url:https://192.168.1.xx:443/api/auth/login;
dataLogin:{"username": "xxx", "password": "xxx"};
loginHeaders:{'referer': '/login', 'Content-Type': 'application/json', 'Accept': 'application/json'};
06 12:33:32 Connection: requests login code:200; ret-Text:
 {
  "unique_id": "xxx",
  "first_name": "xxx",
....

Posted on
Thu Jan 06, 2022 10:45 am
jalves offline
Posts: 744
Joined: Jun 16, 2013

Re: Warning message

Sent. Hope it helps.

Running Indigo 2023.2 on a 24" iMac M1), OS X 14.4
Jeff

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests