A convex problem followed by Nan solution

Maybe your Mosek issue is the same as in CVX giving 'Solved' outcome not satisfying the constraints If so then do not set “cvx precision best”.