error: RPC failed; curl 35 gnutls_handshake() failed: Error in the pull function.

Hi there,

I’m trying to build my first very simple application with Balena (with balenalib/orange-pi-zero-debian-openjdk:latest-buster-build as a base image).
It already works on my Orange Pi Zero with Docker, and I would like to get it to run with Balena.
Anyway… The DockerFile is really simple, but I have some problems building it with Balena Cloud.
I get “error: RPC failed; curl 35 gnutls_handshake() failed: Error in the pull function.” when trying to clone a repo on Github.
Sometimes, the first clone works, sometimes it fails. Sometimes the second clone fails when the first clone worked…

Has anyone already encountered that kind of problem, and would you know of a workaround?

Thanks in advance.

Ok, I should have searched for the answer longer before posting…
I added the libssl-dev package, and now the git clone commands work.

Great to know you got it fixed. Curious to know - did you manage to run this same file under Docker w/o balenaOS, without running into issues?

1 Like

Yes indeed… Docker under Armbian.