It sounds like you’ve been affected by the vsock TLS change, see the LXD 5.0.1 release notes for details:
There is a workaround described in there too to avoid needing to restart the VMs.
Also as you’re running LXD in a production environment its important to setup your snap environment to suit your update schedule, see Managing the LXD snap for more details.