Retry Server Connection

Hello,

I am running the latest client in Debian Gnome and I have an issue where the client starts too fast, sometimes just barely before the networking stack is fully up and running. This race condition sometimes causes the client to not automatically connect to the server and the cameras don’t come up. This is an issue for locations where there are no attached keyboard/mice.

I used to get over this issue by adding X-GNOME-Autostart-Delay=15 to the autostart file created, but that no longer seems to work.

Is it possible to get the client to auto retry connation to the server endlessly or at least for some short period of time after it starts?

Thanks for the feedback. I understand the issue and currently we do not support auto-reconnect and I absolutely see the value in it. I’ll make sure this is added on our next major release of the client (code named “unity”).

Perhaps running a shell script with a down and dirty sleep 30; command or something more advanced:

#!/bin/bash
ping -c 1 IPADDRESS
if [ $? -eq 0 ]; then
    /path/to/bluecherry-client
fi

Hi Curtis,

Thank you for that workaround.