We have a VPN deployed via Configuration Profile with a LaunchDaemon to keep it always on. During startup and resuming from sleep, the LaunchDaemon script checks if the machine has internet connectivity - if it does, it then automatically connects to the VPN.
In most cases, this works the first time. However, there are a few cases where this does not work the first time and the user sees the attached screenshot. When the script attempts to connect to the VPN the second time, it connects just fine and the message disappears (if the user had not clicked OK).
I cannot find any particular reason as to why this does not connect the first time and then immediately does the next time. While I continue to look into that further, does anyone know how to suppress this error message?