Isssues after 10.13 update - Web Server and Reflector

Posted on
Sun Mar 08, 2020 7:44 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Isssues after 10.13 update - Web Server and Reflector

Hi,

I've updated this morning my Mac Mini from El Capitain to High Sierra... I can connect a client from my iMac to the Mini without issues. All device works as previously but I can't connect to the Web server! Same thing for the reflector! Remote (client = iMac) and local (server = Mac Mini) are on the same network, I'm always get the same result... "This site can’t be reached"! I have errors in the log:

....
Indigo Cocoa client connected
Error reflector connection test failed: local server unreachable
Error reflector reconnection scheduled in 5 seconds
SQL Logger update complete
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
....


Everything outside Indigo work well (internet access, ...). My network is the same and I've only update the MacOS! Any ideas... ?

Thanks!

Joël

Posted on
Mon Mar 09, 2020 7:41 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Isssues after 10.13 update - Web Server and Reflector

Disable the firewall on your Mac (for testing) and try again.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Mar 09, 2020 8:13 am
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Isssues after 10.13 update - Web Server and Reflector

Also, what version of Indigo are you running? I believe High Sierra broke reflectors for older versions of Indigo which may be what you are seeing if you are using an older version.

Image

Posted on
Mon Mar 09, 2020 9:39 am
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

Hi,

I use the latest version 7.4.1! Also, this morning I have desinstalled everything for a fresh installation and nothing has changed.

Yes the firewall is off... I've also turn off little snitch to be sure.

Thanks!

Joël

Posted on
Mon Mar 09, 2020 10:37 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Isssues after 10.13 update - Web Server and Reflector

Do you have both WiFi and Ethernet connected and enabled?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Mon Mar 09, 2020 8:19 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

Jay,

Good call but no, the WIFI connection is disable.

Also, when I click on 'show in Browser' I've this error!

Image

Thanks!

Joël

Posted on
Tue Mar 10, 2020 8:36 am
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Isssues after 10.13 update - Web Server and Reflector

So it seems that IWS isn't starting up at all. Open a terminal window and copy/paste the following, one line at a time:

Code: Select all
cd /Library/Application\ Support/Perceptive\ Automation/Indigo\ 7.4/IndigoWebServer/devhelpers/
./indigowebstart


Copy/paste everything from that terminal window starting with the first line above into a reply. Hopefully it will show us some additional error messages about what's going on.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Tue Mar 10, 2020 3:50 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

Here the result of those commands:

Code: Select all
Last login: Mon Mar  9 06:02:21 on console
unifi:~ macmini2$ cd /Library/Application\ Support/Perceptive\ Automation/Indigo\ 7.4/IndigoWebServer/devhelpers/
unifi:devhelpers macmini2$ ./indigowebstart
./indigowebstart: line 45: indigowebstop: command not found
Starting IndigoWebServer
unifi:devhelpers macmini2$ [10/Mar/2020:17:46:45] ENGINE Bus STARTING
[10/Mar/2020:17:46:45] ENGINE Started monitor thread '_TimeoutMonitor'.
[10/Mar/2020:17:46:45] ENGINE Serving on 0.0.0.0:8176
[10/Mar/2020:17:46:45]  INDIGO_LOG connecting to Indigo server
[10/Mar/2020:17:46:45]  INDIGO_LOG started on port 8176 -- authentication disabled
[10/Mar/2020:17:46:45] ENGINE Bus STARTED
[10/Mar/2020:17:46:45] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/process/servers.py", line 73, in _start_http_thread
    self.httpserver.start()
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1645, in start
    self.tick()
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1722, in tick
    conn = self.ConnectionClass(s, self.wsgi_app, environ)
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1147, in __init__
    if SSL and isinstance(sock, SSL.ConnectionType):
AttributeError: 'module' object has no attribute 'ConnectionType'

[10/Mar/2020:17:46:45] ENGINE Bus STOPPING
[10/Mar/2020:17:46:45] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8176)) shut down
[10/Mar/2020:17:46:45] ENGINE Stopped thread '_TimeoutMonitor'.
[10/Mar/2020:17:46:45]  INDIGO_LOG disconnecting from Indigo server
[10/Mar/2020:17:46:45] ENGINE Bus STOPPED
[10/Mar/2020:17:46:45] ENGINE Bus EXITING
[10/Mar/2020:17:46:45] ENGINE Bus EXITED
Exception in thread HTTPServer Thread-2:
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/process/servers.py", line 73, in _start_http_thread
    self.httpserver.start()
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1645, in start
    self.tick()
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1722, in tick
    conn = self.ConnectionClass(s, self.wsgi_app, environ)
  File "/Library/Application Support/Perceptive Automation/Indigo 7.4/IndigoWebServer/cherrypy/wsgiserver/__init__.py", line 1147, in __init__
    if SSL and isinstance(sock, SSL.ConnectionType):
AttributeError: 'module' object has no attribute 'ConnectionType'

[10/Mar/2020:17:46:46] ENGINE Waiting for child threads to terminate...
unifi:devhelpers macmini2$

Thanks!

Joël

Posted on
Tue Mar 10, 2020 9:54 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Isssues after 10.13 update - Web Server and Reflector

This:

[10/Mar/2020:17:46:45] ENGINE Serving on 0.0.0.0:8176


indicates to me that your Mac has some odd network configuration. I believe we auto-discover the IP address, but something is telling us that it's 0.0.0.0 which is not a valid IP address. What is your network configuration?

Note: I could be wrong here, I'll let Matt jump in tomorrow...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Mar 11, 2020 2:31 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Isssues after 10.13 update - Web Server and Reflector

The 0.0.0.0 address is okay (same thing I see when starting it on my Mac). This looks like an SSL module or python version issue. From the Terminal what are the results of:

Code: Select all
which python
python --version

Image

Posted on
Wed Mar 11, 2020 4:05 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

Here the result!

Code: Select all
Last login: Tue Mar 10 18:06:10 on ttys000
unifi:~ macmini2$ which python
/usr/bin/python
unifi:~ macmini2$ python --version
Python 2.7.10
unifi:~ macmini2$


Thanks!

Joël

Posted on
Wed Mar 11, 2020 4:17 pm
matt (support) offline
Site Admin
User avatar
Posts: 21417
Joined: Jan 27, 2003
Location: Texas

Re: Isssues after 10.13 update - Web Server and Reflector

That looks okay.

Have you ever installed any python modules in the Terminal before? SSL related?

Image

Posted on
Wed Mar 11, 2020 5:02 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: Isssues after 10.13 update - Web Server and Reflector

Also, have you applied all the security updates to it? It should be showing Python 2.7.16 if you're up-to-date on security patches.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Wed Mar 11, 2020 5:18 pm
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

Jay and Matt,

Since 4 years I never had problems with my mini on El Capitain. My setup ran flawless without any issues at all! The only thing I've done during the weekend was to update to High Sierra and since, it's broken! My best option at the moment is to erase the disk and restart with a fresh installation! I keep you in the loop!

Thanks for your support!

Joël

Posted on
Thu Mar 12, 2020 3:24 am
jblackburn offline
Posts: 77
Joined: Dec 11, 2013
Location: Quebec, Canada

Re: Isssues after 10.13 update - Web Server and Reflector

After a fresh erase and installation, everything is back to normal.

Thanks for your help!

Joël

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 12 guests