I am trying to push a project using the CLI command (add a release). When balena push l_laspada/tti-gw-2287 I got the following error message. What am I doing wrong?
ERR_TLS_CERT_ALTNAME_INVALID: Hostname/IP does not match certificate’s altnames: Host: builder.balena-cloud.com. is not in the cert’s altnames: DNS:*.gocanvas.com, DNS:gocanvas.com
I’m getting a 500 error message when trying to push a new release with CLI
mbp@mbp tti-gw-wifi % balena push l_laspada/tti-gw-wifi
[Info] Starting build for tti-gw-wifi, user l_laspada
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/2240303/devices
[Info] Building on 4b2d7d0
[Info] No suitable previous release for caching, skipping cache pull
[Error] Some services failed to build:
[Error] Service: basicstation
[Error] Error: (HTTP code 500) server error - Head "https://ghcr.io/v2/lorabasics/basicstation/manifests/latest": denied
[Info] Built on 4b2d7d0
[Error] Not deploying release.
Remote build failed
Is this a temporary server issue? Or is it on my side?
The same with Git
Enumerating objects: 30, done.
Counting objects: 100% (30/30), done.
Delta compression using up to 10 threads
Compressing objects: 100% (30/30), done.
Writing objects: 100% (30/30), 203.66 KiB | 11.98 MiB/s, done.
Total 30 (delta 3), reused 0 (delta 0), pack-reused 0 (from 0)
e[36m[Info]e[39m Starting build for tti-gw-wifi, user l_laspada
e[36m[Info]e[39m Dashboard link: https://dashboard.balena-cloud.com/apps/2240303/devices
e[36m[Info]e[39m Building on c617b98
e[36m[Info]e[39m No suitable previous release for caching, skipping cache pull
e[31m[Error]e[39m Some services failed to build:
e[31m[Error]e[39m Service: basicstation
e[31m[Error]e[39m Error: (HTTP code 500) server error - Head "https://ghcr.io/v2/lorabasics/basicstation/manifests/latest": denied
e[36m[Info]e[39m Built on c617b98
e[31m[Error]e[39m Not deploying release.
remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:l_laspada/tti-gw-wifi.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git.balena-cloud.com:l_laspada/tti-gw-wifi.git'
I’m still having errors trying to push a release with the CLI command. Below is the log with --debug function. Why am I not able to publish a relaease?
mbp@mbp tti-gw-wifi % balena push l_laspada/tti-gw-wifi --debug
[debug] new argv=[/usr/local/lib/balena-cli/bin/node,/usr/local/lib/balena-cli/bin/run,push,l_laspada/tti-gw-wifi] length=4
[debug] Deprecation check: 0.62243 days since last npm registry query for next major version release date.
[debug] Will not query the registry again until at least 7 days have passed.
[Debug] Using build source directory: .
[Debug] Pushing to cloud for fleet: l_laspada/tti-gw-wifi
[debug] Event tracking error: Timeout awaiting 'response' for 0ms
| Packaging the project source...[Debug] Tarring all non-ignored files...
/ Packaging the project source...[Debug] docker-compose.yml file found at "/Users/mbp_m1/Documents/GitHub/tti-gw-wifi"
- Packaging the project source...[Debug] Tarring complete in 221 ms
[debug] Connecting to builder at https://builder.balena-cloud.com/v3/build?slug=l_laspada%2Ftti-gw-wifi&dockerfilePath=&emulated=false&nocache=false&headless=false&isdraft=false
/ Uploading source package to https://builder.balena-cloud.com[debug] received HTTP 200 OK
[debug] handling message: {"type":"metadata","resource":"buildLogId","value":"3461192"}
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Starting build for tti-gw-wifi, user l_laspada"}
[Info] Starting build for tti-gw-wifi, user l_laspada
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Dashboard link: https://dashboard.balena-cloud.com/apps/2240303/devices"}
[Info] Dashboard link: https://dashboard.balena-cloud.com/apps/2240303/devices
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Building on c617b98"}
[Info] Building on c617b98
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m No suitable previous release for caching, skipping cache pull"}
[Info] No suitable previous release for caching, skipping cache pull
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Some services failed to build:","isError":true}
[Error] Some services failed to build:
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Service: basicstation","isError":true}
[Error] Service: basicstation
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Error: (HTTP code 500) server error - Head \"https://ghcr.io/v2/lorabasics/basicstation/manifests/latest\": denied ","isError":true}
[Error] Error: (HTTP code 500) server error - Head "https://ghcr.io/v2/lorabasics/basicstation/manifests/latest": denied
[debug] handling message: {"message":"\u001b[36m[Info]\u001b[39m Built on c617b98"}
[Info] Built on c617b98
[debug] handling message: {"message":"\u001b[31m[Error]\u001b[39m Not deploying release.","isError":true}
[Error] Not deploying release.
Remote build failed
RemoteBuildFailedError: Remote build failed
at handleRemoteBuildStream (/usr/local/lib/balena-cli/build/utils/remote-build.js:83:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.startRemoteBuild (/usr/local/lib/balena-cli/build/utils/remote-build.js:65:13)
at async PushCmd.pushToCloud (/usr/local/lib/balena-cli/build/commands/push/index.js:78:27)
at async PushCmd.run (/usr/local/lib/balena-cli/build/commands/push/index.js:31:17)
at async PushCmd._run (/usr/local/lib/balena-cli/node_modules/@oclif/core/lib/command.js:312:22)
at async Config.runCommand (/usr/local/lib/balena-cli/node_modules/@oclif/core/lib/config/config.js:435:25)
at async run (/usr/local/lib/balena-cli/node_modules/@oclif/core/lib/main.js:95:16)
at async /usr/local/lib/balena-cli/build/app.js:78:13
at async Promise.all (index 2)
at async oclifRun (/usr/local/lib/balena-cli/build/app.js:97:5)
at async Object.run (/usr/local/lib/balena-cli/build/app.js:110:9)
at async run (/usr/local/lib/balena-cli/bin/run.js:18:2)
Hi, thank you for your reply. I’m not an expert with GitHub, but the repo is a clone on my local drive. I managed to publish releases not long ago, now I see this error. I’m not sure if I am missing a step or if there is a server connection issue on the Balena side.
From the GitHub desktop, I get this error message:
...
remote: error: hook declined to update refs/heads/master
To git.balena-cloud.com:l_laspada/tti-home-gw.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git.balena-cloud.com:l_laspada/tti-home-gw.git'
And from the Balena CLI:
balena push l_laspada/tti-home-gw
ERR_TLS_CERT_ALTNAME_INVALID: Hostname/IP does not match certificate's altnames: Host: builder.balena-cloud.com. is not in the cert's altnames: DNS:sellerdashboard.manheim.com, DNS:sell.manheim.com