question

Todd Wallace avatar image
Todd Wallace asked

Spinning color wheel problem in mac OS when running VictronConnect App everytime I open it

color wheel spins for 10-15 seconds.logEvery time I open the VictronConnect app on my MacBook Pro 2018, once the app is open, i get the spinning color wheel at least 10 seconds, sometimes as long as 20 seconds before it populates my smart devices and I can continue. Occasionally no devices will show up and i have to reboot the computer. But usually, they appear ok, but I always have to wait 10-15 seconds to select anything. Am I doing something wrong? Running latest mac OS version and app version 5.7. I will try and attach the "Service Report" log file if that will help. Thanks

VictronConnect
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

3 Answers
Guy Stewart (Victron Community Manager) avatar image
Guy Stewart (Victron Community Manager) answered ·

Thanks for reporting.

I also get this, so it's a known issue, not just you. Aside from waiting, I don't think there is anything you can do differently to fix it.

I have passed your log onto the developers.

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

jladdjr avatar image
jladdjr answered ·

I'm running into a very similar issue, if not the exact same issue. I have been able to connect VictronConnect to my SmartSolar device in the past, but there are some times (including the present moment) where no matter what I try, I the app can't find / connect to the device.


Uploading my service report file in case it helps with narrowing down what might be happening.


Environment:

* macOS Mojave (10.1435)

* VictronConnect v5.7

* SmartSolar MPPT 75/15


When I open up console, I see several error messages that repeat indefinitely and begin pretty much as soon as I open VictronConnect:


default    23:09:27.350318 -0700    VictronConnect    {"msg":"CLClientIsLocationServicesEnabled", "event":"activity"}
error    23:09:27.350663 -0700    VictronConnect    #Spi, Invalidated
error    23:09:27.350726 -0700    VictronConnect    #Spi, Error with proxy, error: <private>
error    23:09:27.350598 -0700    kernel    Sandbox: VictronConnect(29799) deny(1) mach-lookup com.apple.locationd.desktop.synchronous
default    23:09:27.350755 -0700    VictronConnect    #Warning CLInternalGetLocationServicesEnabled failed; falling back to client-side implementation
error    23:09:27.350837 -0700    VictronConnect    Location Services are disabled, filtering BSSID information (bundle=<private>, proc=<private>, pid=29799)
default    23:09:27.372784 -0700    VictronConnect    {"msg":"CLClientIsLocationServicesEnabled", "event":"activity"}
error    23:09:27.373071 -0700    VictronConnect    #Spi, Invalidated
error    23:09:27.373136 -0700    VictronConnect    #Spi, Error with proxy, error: <private>
default    23:09:27.373172 -0700    VictronConnect    #Warning CLInternalGetLocationServicesEnabled failed; falling back to client-side implementation
error    23:09:27.373198 -0700    VictronConnect    Location Services are disabled, filtering BSSID information (bundle=<private>, proc=<private>, pid=29799)
default    23:09:29.184607 -0700    VictronConnect    27366555: RECEIVED OUT-OF-SEQUENCE NOTIFICATION: 0 vs 1969, 513, <private>
default    23:09:33.691937 -0700    kernel    Sandbox: 1 duplicate report for VictronConnect deny(1) mach-lookup com.apple.locationd.desktop.synchronous


(Here's a gist of the same errors in case it's easier to work with)


Things I have tried. As far as I can tell, none of them have had any effect.

* Since a number of the errors in Console are related to location services, I verified that (1) Location Services in general were enabled and (2) searched for VictronConnect app in list of services requesting that Location Services access, but didn't see it listed

* Turning Bluetooth off and on

* Removing SmartSolar from list of devices in Bluetooth settings

* Turning off bluetooth on my iPhone (before using VictronConnect on my mac, I used the app on my iPhone for a few days).


I have not tried restarting my computer. Will give that a try now to see if that helps.


UnableToLocateSmartSolarMPPT75_15.log


2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

jladdjr avatar image
jladdjr answered ·

(this update follows up on my previous post)

Restarted, opened Console, and started VictronConnect again. Console isn't showing any errors this time. The output looks totally different. Still not connecting to the SmartSolar device, though. Get the spinning beachball for ~20 seconds instead like before.


default    23:26:36.328704 -0700    launchservicesd    CHECKIN:0x0-0x5a05a 1004 com.victronenergy.victronconnect.mac
default    23:26:39.767520 -0700    tccd    -[TCCDAccessIdentity staticCode]: static code for: identifier com.victronenergy.victronconnect.mac, type: 0: 0x7fab845461d0 at /Applications/VictronConnect.app
default    23:26:40.320307 -0700    bluetoothd    -[CBPowerManager updateClient:] - Central (0) com.victronenergy.victronconnect.mac:1004
default    23:26:44.728547 -0700    loginwindow    -[PersistentAppsSupport saveLogoutPersistentState:finalSnapshot:] |           Contents:(
        {
        BackgroundState = 0;
        BundleID = "com.victronenergy.victronconnect.mac";
        Hide = 0;
        Path = "/Applications/VictronConnect.app";
    },
...
)

(as gist)


Even though restarting didn't fix things, it did seem to clear the error messages. It's interesting that the logs now mention "CBPowerManager". Maybe the issue is related to the computer going to sleep? It's a wild theory, but wonder if there's something there.


------------


Update:

The SmartSolar device was listed about two minutes after I wrote the above update. Here's what I see in Console: (gist)


One thing that stands out in those logs is:

Sandbox: VictronConnect(1667) deny(1) network-bind*:1900
Violation:       deny(1) network-bind*:1900

I saw that _after_ I closed and reopened VictronConnect. Makes me wonder:

* .. is VC not closing a network connection?

* .. is there something else using that port?


Looks like port 1900 is associated with the Simple Service Discovery Protocol. Wandering back into wild theory territory.. this seems like something that may be needed for seeing a device?


Even though my device reappeared, I just tried closing and reopening VictronConnect, just to see what would happen. Alas, the device is no longer visible. So, whatever is contributing to the issue, seems like it can come and go pretty quickly. Again, makes me wonder if VictronConnect is the source of the issue (e.g. not cleaning up after itself like it should.)

2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Related Resources