Hey all, I'm running KStars 3.1.1 on a 2019 Retina MacBook Pro, Mojave 10.14.5. Every so often I can't seem to start INDI from KStars. Doesn't seem to matter what hardware is connected or not, sometimes it happens with just a simulators profile selected. The error message is "Connection to INDI Server locally on port 7624 failed"; the logs don't appear to show anything particularly interesting. Sometime rebooting the Mac works; sometimes it doesn't. Sometimes it starts working if I turn WiFi on; sometimes it doesn't. I'm usually running VMWare Fusion on this Mac (including plenty of times when it has worked just fine). If I retry, I get the dialog about detecting an instance of INDI server and do I want to kill that and restart; fails no matter which of those options I choose.
Because people in the past edited the simulator profile and then modify it or delete stuff and later complain about it, so it's ready-only for this reason.
Had it happen again last night. Carefully checked the options -- all was set to "local". I happened to have the INDIGO Control Panel installed, ran that, and (after changing the profile to use "remote") had the same error. But when I changed the hostname in the options dialog from "localhost" to the hostname that appears when I run hostname in a Terminal window, Ekos was able to connect.
Last few lines from the (first, local) failed connection log:
[2019-05-26T22:26:02.905 CDT DEBG ][ org.kde.kstars] - Daylight Saving Time active
[2019-05-26T22:26:02.905 CDT DEBG ][ org.kde.kstars] - Next Daylight Savings Time change (Local Time): "Sun Nov 3 02:00:00 2019 GMT"
[2019-05-26T22:26:02.906 CDT DEBG ][ org.kde.kstars] - Next Daylight Savings Time change (UTC): "Sun Nov 3 06:59:59 2019 GMT"
[2019-05-26T22:26:02.906 CDT DEBG ][ org.kde.kstars] - Starting the timer
[2019-05-26T22:26:02.987 CDT DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2019-05-26T22:26:03.019 CDT INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."
[2019-05-26T22:26:24.103 CDT DEBG ][ org.kde.kstars.ekos] - Resetting Ekos Manager...
[2019-05-26T22:26:24.104 CDT WARN ][ default] - QSqlDatabasePrivate::removeDatabase: connection 'filter_db' is still in use, all queries will cease to work.
[2019-05-26T22:26:24.104 CDT WARN ][ default] - QSqlDatabasePrivate::addDatabase: duplicate connection name 'filter_db', old connection removed.
[2019-05-26T22:26:26.646 CDT INFO ][ org.kde.kstars.ekos] - "Starting INDI services..."