An error occured: read ECONNRESET - airmonitor build

I’m following your blog post for the bme680 air monitor and when I attempt to push the build I get the following error:

An error occured: read ECONNRESET

I saw there were build issues on the server side ~10 days ago, are they happening again?

Also seeing repeatedly

[Info]     Uploading images
[Error]    An error occured: read ECONNRESET
[Error]    Not deploying release.

remote: error: hook declined to update refs/heads/master

I have faced the same issue, pushing the app from mac os,
it got solved using sudo!
sudo balena push

I don’t think it was the sudo, just that it worked on your second try.

My deploy succeeded now as well, after half a dozen or so failures.

Hi all. One of our arm build servers (arm03) is currently having some issues, but our devops team are looking at it as I type this message. An incident has been posted to our status page (status.balena.io). For now, I would recommend trying builds until you get a server other than arm03.

It doesn’t seem like the problem is fixed as is written on the status page. Just wanted to make sure you are aware of it not being fixed.

Greetings and thanks for your efforts :smile:

Edit: In the meantime for everybody having this problem, you can enforce a build that is locally emulated (i.e. definitely not running on arm03) as a workaround by running:

git push balena your-branch-name:balena-emulated

or if you are using the balena CLI to push your code:

balena push yourApplication --emulated

(I think this disables caching though :slight_smile: )

Hi @tschebbischeff, could you please specify which builder are you still seeing the issue on?

It is still arm03

Counting objects: 12, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (10/10), done.
Writing objects: 100% (12/12), 1.45 KiB | 1.45 MiB/s, done.
Total 12 (delta 8), reused 0 (delta 0)

[Info]         Starting build for XXX, user XXX
[Info]         Dashboard link: XXX
[Info]         Building on arm03
[Info]         Pulling previous images for caching purposes...
[Success]      Successfully pulled cache images
[A]      Step 1/20 : FROM XXX/raspberrypi3-A:1.2
[B]    Step 1/24 : FROM XXX/raspberrypi3-B:1.2
[C]  Step 1/19 : FROM XXX/raspberrypi3-C:1.2
[D]     Step 1/21 : FROM XXX/raspberrypi3-D:1.2
[E]           Step 1/20 : FROM XXX/raspberrypi3-E:1.5
<MOSTLY CACHED STUFF>
[Info]         Uploading images
[Error]        An error occured: read ECONNRESET
[Error]        Not deploying release.

remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:XXX/XXX.git
 ! [remote rejected]   XXX -> master (hook declined)
error: failed to push some refs to 'XXX@git.balena-cloud.com:XXX/XXX.git'

Hi @tschebbischeff
The problems you faced were related to an incident we had with the application builder component.
https://status.balena.io/incidents/zq5zcjnr2v6l

The problem has been mitigated. Please let us know if you still have problems.