# Cannot push to balena git remote

**URL:** <https://forums.balena.io/t/cannot-push-to-balena-git-remote/350286>\
**Category:** Product support\
**Created:** [November 25, 2021, 10:55pm UTC](https://forums.balena.io/t/cannot-push-to-balena-git-remote/350286 "2021-11-25T22:55:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lachlan](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lachlan](https://forums.balena.io/u/Lachlan)\
**Post date:** [November 25, 2021, 10:55pm UTC](https://forums.balena.io/t/cannot-push-to-balena-git-remote/350286/1 "2021-11-25T22:55:42Z")

</div>

Struggling to get our repo to push to the Balena cloud.

Balena push results in:

```auto
local@Ubuntu:~/local-distro-ui$ balena push gh_lachlancresswell/local-distro-ui
[Error] Upstream API server/DB error: ESOCKETTIMEDOUT
[Error] Not deploying release.
Remote build failed

```

Git push results in:

```auto
local@Ubuntu:~/local-distro-ui$ git push balena master
Enumerating objects: 136, done.
Counting objects: 100% (136/136), done.
Delta compression using up to 2 threads
Compressing objects: 100% (117/117), done.
Writing objects: 100% (136/136), 26.85 KiB | 8.95 MiB/s, done.
Total 136 (delta 57), reused 3 (delta 1)
remote: Resolving deltas: 80% (46/57)
remote: Resolving deltas: 100% (57/57), done.
[Error] Upstream API server/DB error: ESOCKETTIMEDOUT
[Error] Not deploying release.

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

```

Also `ping git.balena-cloud.com` fails:

```auto
Pinging a0e974d3a1bf245b996ff2d26342608e-8ce58729de8a3bfc.elb.us-east-1.amazonaws.com [3.221.16.120] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 3.221.16.120:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

```

I’m not behind a VPN, I’ve tried multiple DNS servers and two separate WAN connections. I’m based in Victoria, Australia. Any ideas?

---

<div class="post-metadata">

**Author:** ![Lachlan](https://avatars.discourse-cdn.com/v4/letter/l/8e8cbc/32.png) [@Lachlan](https://forums.balena.io/u/Lachlan)\
**Post date:** [November 29, 2021, 12:05pm UTC](https://forums.balena.io/t/cannot-push-to-balena-git-remote/350286/2 "2021-11-29T12:05:01Z")

</div>

This seems to have resolved itself as of today.

---

<div class="post-metadata">

**Author:** ![nitish](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@nitish](https://forums.balena.io/u/nitish)\
**Post date:** [November 29, 2021, 12:32pm UTC](https://forums.balena.io/t/cannot-push-to-balena-git-remote/350286/4 "2021-11-29T12:32:01Z")

</div>

Hi @lachlan,

Good to hear that the issue is resolved. I see a similar issue reported on local-mode here: [Cannot push to device in local mode](https://forums.balena.io/t/cannot-push-to-device-in-local-mode/350285)

Are these the same devices or is this a separate fleet but on same network?

Regards,  
Nitish
