Page 1 of 1

Cynical SecuritySpy Request: Retry connection

PostPosted: Wed Feb 15, 2023 12:41 pm
by boisy
I don't think that Cynical SecuritySpy will retry the server connection if it goes down. I've quit SecuritySpy and notice that the plugin doesn't attempt to reconnect when I relaunch.

Perry, can you add this feature into the plugin?

Re: Cynical SecuritySpy Request: Retry connection

PostPosted: Thu Feb 16, 2023 7:34 am
by McJohn
At our site the Plugin reconnects automatically:
(Cynical SS Plugin 3.1.0, SecuritySpy 5.5.5, Indigo 2022.1.2, Mac OS 12.4)

This happened when SecuritySpy quits:
Cynical SecuritySpy SSGarage is now passive
Cynical SecuritySpy SSGarage is now disconnected
Cynical SecuritySpy Error SSServer unavailable: [Errno 61] Connection refused
Cynical SecuritySpy Error SSGarage unavailable: host device SSServer is unavailable

And when the SecuritySpy app will be activated again:

Cynical SecuritySpy SSServer is now ready
Cynical SecuritySpy SSGarage host device SSServer now available
Cynical SecuritySpy SSGarage reset
Cynical SecuritySpy SSGarage is now disconnected
Cynical SecuritySpy SSGarage is now passive
Cynical SecuritySpy SSGarage is now active
Cynical SecuritySpy SSServer event tap active

Re: Cynical SecuritySpy Request: Retry connection

PostPosted: Thu Feb 16, 2023 8:33 pm
by boisy
Thanks for responding.

How long after starting SecuritySpy does the plugin reconnect?

Re: Cynical SecuritySpy Request: Retry connection

PostPosted: Fri Feb 17, 2023 4:49 am
by McJohn
Immediately.
(I don't know in milliseconds :wink: )

Re: Cynical SecuritySpy Request: Retry connection

PostPosted: Fri Feb 17, 2023 9:13 am
by boisy
Well, I can't explain it, but now it's working.

I'll leave it at that :)

Thanks for the feedback.

Re: Cynical SecuritySpy Request: Retry connection

PostPosted: Fri Feb 17, 2023 2:34 pm
by McJohn
You're welcome, happy to help.
(when I saw your problem I just had to respond because in our situation it works for years perfectly)

We also made an AI action from SecuritySpy to Indigo, works perfect!
https://bensoftware.com/forum/discussio ... one#latest

John