# balena-cli configure os socket hangup

**URL:** <https://forums.balena.io/t/balena-cli-configure-os-socket-hangup/369331>\
**Category:** openBalena\
**Tags:** network\
**Created:** [November 14, 2023, 4:08am UTC](https://forums.balena.io/t/balena-cli-configure-os-socket-hangup/369331 "2023-11-14T04:08:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![choln](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@choln](https://forums.balena.io/u/choln)\
**Post date:** [November 14, 2023, 4:08am UTC](https://forums.balena.io/t/balena-cli-configure-os-socket-hangup/369331/1 "2023-11-14T04:08:58Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![choln](https://avatars.discourse-cdn.com/v4/letter/c/13edae/32.png) [@choln](https://forums.balena.io/u/choln)\
**Post date:** [November 14, 2023, 9:57am UTC](https://forums.balena.io/t/balena-cli-configure-os-socket-hangup/369331/2 "2023-11-14T09:57:53Z")

</div>

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