Page 1 of 1

Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 3:28 pm
by srkinard
[ADMIN UPDATE]: We have fixed this issue in the now available Indigo 2021.2 release. If you are not able to install Indigo 2021.2 then see this post.

So I wasn't paying attention to which machine I had connected to via SSH and ended up running the 12.0.1 to 12.1 update on my Indigo server.

Mac clients connect fine, but all 9 of my iOS devices can no longer connect to the server. They all say "Failed to connect: Could Not Connect To The Server" and no variation of removing/re-adding to the client is working.

Wonder if anyone else had this happen or if this is isolated to mine. And for those who have not updated, don't. I normally wouldn't until testing had been done but I didn't pay attention.

Thanks
Ross

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:06 pm
by Hap
Ditto. Mac's connect, but iOS devices will not. Other remote iOS apps (Roomie Remote) will connect.

Neither iOS or macOS Safari will connect to the default port. I can get to other web services on the server though.

EDIT: some elaboration

What works:
- connecting to Indigo Server on "Polaris" from Mac Client
- Connecting to Roomie Remote master on "Polaris"
- Connecting to Filemaker server admin via web on "Polaris"

What doesn't work:
- connecting to Indigo server on "Polaris" from any iOS Client (tried from 3 different iPads - all on iPadOS 15.2)
- connecting to indigo web server on "Polaris" via port 8176 from either macOS Safari or iPadOS Safari - I get connection refused.

EDIT2: Checked Mac firewall - it's off, tried changing port on server from default - same problem.

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:30 pm
by matt (support)
Stop and restart the Indigo Server then check the Event Log window for errors. Are there any? And some questions:

1) Can you connect to the Indigo Web Server from the Mac itself using loopback (http://127.0.0.1:8176)?

2) If you have a reflector does accessing that work?

Lastly, does anything change if you completely turn off your macOS firewall (just for troubleshooting)?

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:39 pm
by Hap
- Firewall is and was off
- cannot connect using http://127.0.0.1:8176

I don't use Reflector

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:42 pm
by Hap
switched over to posting from server itself. Looking at the logs, I don't see anything highlighted, but I do see this:

Code: Select all
Started plugin "Web Server 2021.1.2"
   Web Server                      Starting Indigo Web Server...
   Web Server client connected
   Web Server                      started on port 8176 -- authentication enabled: oauth, digest
   Bonjour registered "Indigo - SharpsCove"
   Web Server                      disconnecting from Indigo server
   Web Server client disconnected

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:44 pm
by matt (support)
Okay, the web server is shutting down or crashing immediately after starting. We'll look into this tomorrow morning to see if we can reproduce and fix it.

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 6:48 pm
by matt (support)
Note we'll post updates on this other forum thread as we have them.

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Mon Dec 13, 2021 7:01 pm
by Hap
Console.log after stopping and starting Indigo Server. Not sure if any of that is useful, but just in case.

See attached

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Tue Dec 14, 2021 4:34 pm
by matt (support)

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Tue Dec 14, 2021 4:44 pm
by srkinard
Tried to install the web server plugin from the ZIP and get this:

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Tue Dec 14, 2021 4:48 pm
by srkinard
I had to try installing it, let it give the error and click Cancel.

Then open System Prefs -> Security and allow the plugin to run

Then had to stop the Indigo Server and restart it for it to pick up the new, allowed plugin to run

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Tue Dec 14, 2021 5:16 pm
by jay (support)
Did you double-click it or drag it as we say in the installation instructions?

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Tue Dec 14, 2021 5:29 pm
by srkinard
jay (support) wrote:
Did you double-click it or drag it as we say in the installation instructions?


I followed the instructions and dragged it onto the running Dock icon and got the error. Then I tried the double-click and got the same.

Here's the log from that first attempt (drag and drop on icon)

Code: Select all
2021-12-14 16:39:19.898   Z-Wave   received "Kitchen - Ultraviolet" sensor update to 0
2021-12-14 16:40:44.467   Application   Stopping plugin Web Server (pid 548)
2021-12-14 16:40:44.529   Web Server   Stopping Indigo Web Server...
2021-12-14 16:40:46.495   Application   Stopped plugin Web Server
2021-12-14 16:40:46.495   Application   Upgrading plugin Web Server to newer version 2021.1.3 (previous version moved to trash)
2021-12-14 16:40:46.500   Application   Loading plugin "Web Server 2021.1.3"
2021-12-14 16:40:46.504   Application   Starting plugin "Web Server 2021.1.3" (pid 11225)
2021-12-14 16:40:56.508   Web Server Error   Error in plugin execution InitializeMain:

Traceback (most recent call last):
ImportError: dlopen(/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so, 0x0002): tried: '/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so' (code signature in <FCEBE93C-397E-3E6C-BB6E-D8D43C59570B> '/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so' not valid for use in process: library load disallowed by system policy), '/usr/lib/plugin.so' (no such file)

2021-12-14 16:40:56.508   Application   Stopping plugin "Web Server 2021.1.3" (pid 11225)
2021-12-14 16:40:57.125   Application   Stopped plugin "Web Server 2021.1.3"


This is the second attempt via double-click:

Code: Select all
2021-12-14 16:41:55.965   Application   Installing plugin Web Server v2021.1.3 (previous version 2021.1.3 moved to trash)
2021-12-14 16:41:55.967   Application   Loading plugin "Web Server 2021.1.3"
2021-12-14 16:41:55.971   Application   Starting plugin "Web Server 2021.1.3" (pid 11322)
2021-12-14 16:42:02.056   Web Server Error   Error in plugin execution InitializeMain:

Traceback (most recent call last):
ImportError: dlopen(/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so, 0x0002): tried: '/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so' (code signature in <FCEBE93C-397E-3E6C-BB6E-D8D43C59570B> '/Library/Application Support/Perceptive Automation/Indigo 2021.1/Plugins/Web Server.indigoPlugin/Contents/Server Plugin/plugin.so' not valid for use in process: library load disallowed by system policy), '/usr/lib/plugin.so' (no such file)

2021-12-14 16:42:02.056   Application   Stopping plugin "Web Server 2021.1.3" (pid 11322)
2021-12-14 16:42:02.319   Application   Stopped plugin "Web Server 2021.1.3"


Here's where I shut down the server after clicking the "Allow" in Security

Code: Select all
2021-12-14 16:46:43.050   Application   Stopped plugin "secondsSinceLastChange 7.1.8"
2021-12-14 16:46:43.894   Application   Stopped plugin "appleTV 1.1.14"
2021-12-14 16:46:45.382   Application   Stopped plugin "piBeacon 7.138.545"
2021-12-14 16:47:01.014   Warning   plugin "Roku Network Remote 2.4.8" (pid 594) failed to quit after polite request -- forcing it to quit now
2021-12-14 16:47:01.022   Application   Stopping embedded script executor host1 (pid 2184)
2021-12-14 16:47:02.256   Application   Stopped "embedded script executor host1"
2021-12-14 16:47:02.258   Application   Quitting Indigo Server - saving database
2021-12-14 16:47:02.459   Application   Quitting Indigo Server - saving preferences
2021-12-14 16:47:02.462   Application   Quitting Indigo Server - disconnecting clients
2021-12-14 16:47:03.467   Application   Indigo Cocoa client disconnected
2021-12-14 16:47:03.468   Application   Quitting Indigo Server - unloading launchd plist
2021-12-14 16:47:03.477   Application   Quitting Indigo Server - complete
2021-12-14 16:47:09.047   Application   Starting Indigo Server version 2021.1.2 on macOS Version 12.1 (Build 21C52)
2021-12-14 16:47:09.692   Application   Loading database "/Library/Application Support/Perceptive Automation/Indigo 2021.1/Databases/Apartment.indiDb"
2021-12-14 16:47:09.794   Application   Waiting for client to connect
2021-12-14 16:47:09.987   Application   Indigo Cocoa client connected
2021-12-14 16:47:10.882   Application   Waiting for client to sync
2021-12-14 16:47:13.949   Application   Loading disabled plugins
2021-12-14 16:47:13.949   Application   Found disabled plugin "Growl 7.4.1"
2021-12-14 16:47:13.949   Application   Found disabled plugin "Flux LED 1.0.0"
2021-12-14 16:47:13.950   Application   Found disabled plugin "Global Property Manager 2021.1.0"
2021-12-14 16:47:13.951   Application   Found disabled plugin "Domotics Pad Mobile Client 2.2.6"
2021-12-14 16:47:13.952   Application   Found disabled plugin "Alexa 2021.1.1"
2021-12-14 16:47:13.952   Application   Found disabled plugin "Cynical Caché 1.9.0"
2021-12-14 16:47:13.953   Application   Found disabled interface "INSTEON Commands 2021.1.0"
2021-12-14 16:47:13.954   Application   Found disabled plugin "EasyDAQ Relay Card 2021.1.1"
2021-12-14 16:47:13.954   Application   Found disabled plugin "iCal Alarm Processor 7.4.1"
2021-12-14 16:47:13.955   Application   Found disabled plugin "uniFiAP 7.30.191"
2021-12-14 16:47:13.955   Application   Loading internal plugins
2021-12-14 16:47:13.966   Application   Loading interface "Z-Wave 2021.1.2"
2021-12-14 16:47:13.970   Application   Starting interface "Z-Wave 2021.1.2" (pid 11771)
2021-12-14 16:47:13.972   Application   Loading plugin "Web Server 2021.1.3"
2021-12-14 16:47:13.974   Application   Starting plugin "Web Server 2021.1.3" (pid 11772)
2021-12-14 16:47:13.976   Application   Loading interface "Virtual Devices 2021.1.0"
2021-12-14 16:47:13.979   Application   Starting interface "Virtual Devices 2021.1.0" (pid 11773)
2021-12-14 16:47:13.996   Application   Loading plugin "Action Collection 2021.1.0"
2021-12-14 16:47:13.999   Application   Starting plugin "Action Collection 2021.1.0" (pid 11775)
2021-12-14 16:47:14.014   Application   Loading plugin "SQL Logger 2021.1.0"
2021-12-14 16:47:14.016   Application   Starting plugin "SQL Logger 2021.1.0" (pid 11776)
2021-12-14 16:47:14.028   Application   Loading plugin "Timers and Pesters 2021.1.0"
2021-12-14 16:47:14.032   Application   Starting plugin "Timers and Pesters 2021.1.0" (pid 11777)
2021-12-14 16:47:14.043   Application   Loading plugin "Email+ 2021.1.1"
2021-12-14 16:47:14.047   Application   Starting plugin "Email+ 2021.1.1" (pid 11778)
2021-12-14 16:47:14.050   Application   Loading plugin "Airfoil Pro 2021.1.0"
2021-12-14 16:47:14.052   Application   Starting plugin "Airfoil Pro 2021.1.0" (pid 11779)
2021-12-14 16:47:14.055   Application   Loading plugin "NOAA Weather 2021.1.0"
2021-12-14 16:47:14.064   Application   Starting plugin "NOAA Weather 2021.1.0" (pid 11780)
2021-12-14 16:47:14.067   Application   Loading plugin "iTunes 2021.1.0"
2021-12-14 16:47:14.070   Application   Starting plugin "iTunes 2021.1.0" (pid 11781)
2021-12-14 16:47:14.724   Application   Started interface "Virtual Devices 2021.1.0"
2021-12-14 16:47:14.835   Application   Started plugin "SQL Logger 2021.1.0"
2021-12-14 16:47:14.836   SQL Logger   connected to /Library/Application Support/Perceptive Automation/Indigo 2021.1/Logs/indigo_history.sqlite
2021-12-14 16:47:14.836   SQL Logger   searching for unused device tables
2021-12-14 16:47:14.865   Application   Started plugin "NOAA Weather 2021.1.0"
2021-12-14 16:47:14.867   NOAA Weather Debug   Starting device: NOAA Weather Station - ABIA - KAUS
2021-12-14 16:47:14.867   NOAA Weather Debug   Updating device: NOAA Weather Station - ABIA - KAUS
2021-12-14 16:47:14.878   Application   Started plugin "iTunes 2021.1.0"
2021-12-14 16:47:14.887   Application   Started plugin "Timers and Pesters 2021.1.0"
2021-12-14 16:47:14.908   Application   Started plugin "Action Collection 2021.1.0"
2021-12-14 16:47:14.912   Application   Started plugin "Airfoil Pro 2021.1.0"
2021-12-14 16:47:14.953   Application   Started plugin "Email+ 2021.1.1"
2021-12-14 16:47:14.954   Email+ Debug   Email+ SMTP Server: Device Version is up to date
2021-12-14 16:47:14.956   Email+ Debug   Email+ SMTP Server: Starting device (smtpAccount)
2021-12-14 16:47:14.957   Email+ Debug   theplanetgallifrey.com-relay: Device Version is up to date
2021-12-14 16:47:14.958   Email+ Debug   theplanetgallifrey.com-relay: Starting device (smtpAccount)
2021-12-14 16:47:15.097   NOAA Weather Debug   Starting concurrent tread
2021-12-14 16:47:15.126   SQL Logger   search complete (none found)
2021-12-14 16:47:15.126   SQL Logger   updating all device tables
2021-12-14 16:47:15.141   Application   Started interface "Z-Wave 2021.1.2"
2021-12-14 16:47:15.220   Z-Wave   connected to Z-Stick Gen5 (ZW090) interface on /dev/cu.usbmodem14601 (firmware 1.01, minimum SDK 6.51.06)
2021-12-14 16:47:15.369   Z-Wave   found module included in controller with no matching device (missing or disabled): 002 - Dimmable Scene Switch
2021-12-14 16:47:15.429   Z-Wave   found module included in controller with no matching device (missing or disabled): 011 - Dimmable Power Switch
2021-12-14 16:47:15.571   Z-Wave   found module included in controller with no matching device (missing or disabled): 037 - Relay Power Switch
2021-12-14 16:47:15.604   Z-Wave   found module included in controller with no matching device (missing or disabled): 041 - Secure Barrier Add-On
2021-12-14 16:47:15.925   Airfoil Pro   Available Airfoil instances: {u'Indigo Server': u'Indigo-Server.local:52182'}
2021-12-14 16:47:17.744   SQL Logger   updating all variable tables
2021-12-14 16:47:18.260   SQL Logger   update complete
2021-12-14 16:47:19.281   Application   Started plugin "Web Server 2021.1.3"
2021-12-14 16:47:19.289   Web Server   Starting Indigo Web Server...
2021-12-14 16:47:19.520   Application   Web Server client connected
2021-12-14 16:47:19.522   Web Server   started on port 8176 -- authentication enabled: oauth, digest
2021-12-14 16:47:19.522   Web Server   loaded web plugin "Android Client Helper Plugin"
2021-12-14 16:47:19.522   Application   Bonjour registered "Indigo - Apartment"
2021-12-14 16:47:19.794   Application   Waiting for internal plugins to initialize
2021-12-14 16:47:21.045   Web Server   Indigo Touch client connected from 192.168.100.69
2021-12-14 16:47:21.082   Web Server   Indigo Touch client connected from 192.168.100.67
2021-12-14 16:47:21.095   Web Server   Indigo Touch client connected from 192.168.100.70
2021-12-14 16:47:21.144   Web Server   Indigo Touch client connected from 192.168.100.65
2021-12-14 16:47:21.341   Web Server   Indigo Touch client connected from 192.168.100.61
2021-12-14 16:47:21.615   Web Server   Indigo Touch client connected from 192.168.100.66


So you can see it launched 2021.1.3 web server successfully after I allowed it, then you see all the iPads connect...

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Wed Dec 15, 2021 11:02 am
by jay (support)
Yeah, I've updated the installation instructions. Apple's "security" to the rescue again, making your life harder with each new measure... :roll:

Re: Monterey 12.1 update breaks IndigoTouch connections

PostPosted: Thu Dec 16, 2021 2:50 pm
by matt (support)
We have fixed this issue in the now available Indigo 2021.2 release. If you are not able to install Indigo 2021.2 then see this post.