Balena deploy failing with ESOCKETTIMEDOUT on GitHub actions

Using github actions we have been having lots of failures of balena deploy like the following…

[Info]    Saving release...
Error:    Deploy failed
ESOCKETTIMEDOUT: ESOCKETTIMEDOUT

See here…

And this is what it looks like on dashboard…

Is there a way we can solve this?

Hey @shawaj, are you still experiencing this issue or was it just temporary?

I am consistently getting this error today. I have logged in and out multiple times today in efforts to troubleshoot.

For me it was occurring on two specific fleets which had had failed builds when the balena builder or API had an outage at some point.

They then seemed to get stuck in some weird state and wouldn’t build after dozens of attempts.

The way I fixed it was by pushing draft release to the fleets and then using balena release finalize <commitorid> as shown here