after last osx security upgrade reflector does not work

Posted on
Fri Jun 15, 2018 2:51 am
kw123 offline
User avatar
Posts: 7688
Joined: May 12, 2013
Location: Dallas, TX

after last osx security upgrade reflector does not work

getting:
Code: Select all
 Error                           reflector connection test failed: local server unreachable
   Error                           reflector reconnection scheduled in 5 seconds
   Error                           failed to create reflector connection: local server unreachable
   Error                           check your Firewall and Network configurations and try restarting the server
   Error                           reflector reconnection scheduled in 15 minutes


also locally the iPhone can not connect to the indigo server

have osx 10.11.6, firewall is off

indigo client can connect

any suggestions?

Karl

Posted on
Fri Jun 15, 2018 3:27 am
matt (support) offline
Site Admin
User avatar
Posts: 20538
Joined: Jan 27, 2003
Location: Texas

Re: after last osx security upgrade reflector does not work

Indigo's Web Server might have crashed. Try stopping/restarting the Indigo Server to see if it starts working. If it doesn't copy/paste the Event Log snippet from the server restart so I can see if there are any Web server errors.

Image

Posted on
Fri Jun 15, 2018 4:09 am
durosity offline
User avatar
Posts: 4046
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: after last osx security upgrade reflector does not work

Reinstall indigo on the server to fix screwy permissions?


Sent from my iPhone using Tapatalk

Computer says no.

Posted on
Fri Jun 15, 2018 4:59 am
DaveL17 offline
User avatar
Posts: 5897
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: after last osx security upgrade reflector does not work

Can you telnet to the port?

Code: Select all
Daves-Air:~ Dave$ telnet 192.168.1.100 8176
Trying 192.168.1.100...
Connected to indigo-imac.localdomain.
Escape character is '^]'.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Fri Jun 15, 2018 7:08 am
kw123 offline
User avatar
Posts: 7688
Joined: May 12, 2013
Location: Dallas, TX

Re: after last osx security upgrade reflector does not work

reinstalling the server did it.

(rebooting .. not)

Posted on
Fri Jun 15, 2018 9:42 am
kw123 offline
User avatar
Posts: 7688
Joined: May 12, 2013
Location: Dallas, TX

Re: after last osx security upgrade reflector does not work

I messed up the indigo web server py..
Changed a tab to 4 spaces " " in pibeacon program change web server (menu item: suppress logging of incoming change variable messages)
Did a change all tabs to " " in the pibeacon plugin program -- that also changed the tab that should have stayed a tab .

Karl

ps who ever allowed to have x spaces OR a tab in python as indent should be ... :evil: :evil: :evil:
creates so many problems

Posted on
Fri Jun 15, 2018 10:47 am
Different Computers offline
User avatar
Posts: 2115
Joined: Jan 02, 2016
Location: East Coast

Re: after last osx security upgrade reflector does not work

kw123 wrote:
ps who ever allowed to have x spaces OR a tab in python as indent should be ... :evil: :evil: :evil:
creates so many problems

THANK YOU for mentioning this. Still just learning and this indent thing is super confusing!

SmartThings refugee, so happy to be on Indigo. 10.13.6 on an i5 MBP w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKit Bridge, MatplotLib, Plex, uniFAP, Wunderground, Nanoleaf, LED Simple Effects, Airfoil Pro, Grafana.

Posted on
Fri Jun 15, 2018 11:23 am
jay (support) offline
Site Admin
User avatar
Posts: 16767
Joined: Mar 19, 2008
Location: Austin, Texas

Re: after last osx security upgrade reflector does not work

The Python spec says an equal amount of "white space" (thank Guido for that). We're not very consistent in our stuff either, though I've been slowly standardizing to the de facto 4 spaces.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Jun 15, 2018 11:29 am
durosity offline
User avatar
Posts: 4046
Joined: May 10, 2012
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: after last osx security upgrade reflector does not work

kw123 wrote:
reinstalling the server did it.

(rebooting .. not)


Woo I’m a genius! Matt, you owe me a pay rise!

Computer says no.

Posted on
Fri Jun 15, 2018 5:41 pm
kw123 offline
User avatar
Posts: 7688
Joined: May 12, 2013
Location: Dallas, TX

Re: after last osx security upgrade reflector does not work

Code: Select all
        tab = "   " # this is a real tab
        for line in f.readlines():
....
                    if line[0] == tab:
                        tab = u"   "  # this is a tab
                    else:
                        tab = u"    " # this is 4 spaces
....
had this code in there
tab =" " had a tab (CTR-I) in there, but the change tabs to 4 " " spaces throughout the doc changed that and then the code went wrong ..

Posted on
Sun Jun 17, 2018 3:50 pm
rehafer offline
Posts: 247
Joined: Feb 08, 2013

Re: after last osx security upgrade reflector does not work

Just had a similar problem after power glitch. I discovered that that the settings had changed from separate remote server to the all-in-1 local


Sent from my iPhone using Tapatalk

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest