balena-cli configure os socket hangup

Hi all,

Does anyone know how to overcome this socket hangup error that happens when I run balena os configure ~/balena3.img --fleet AUTOBAT3 --config ./config4.json

Sometimes it randomly works and don’t know why, I have tried different versions of the CLI 16.7.6, 16.7.8 and even 14.0.0. The issue always persists. Other things such as listing fleets or devices work fine.

docker restart openbalena_api_1 helped with this but I had to wait a few minutes before retrying os configure.