Deploy on Aws SSL Certificate Error

Hello,

I’m facing strange error when deploying the image to s3 registry.

In the balena cli side, i can able to login and also https://api.mydomain.com/ping working OK.

On Cli deploy operation is stucking on pushing state. (12.44.12)

balena deploy myApp myDocker

[Info] Creating default composition with image: “Image_Name”
[Info] Everything is up to date (use --build to force a rebuild)
[Info] Creating release…
[Info] Pushing images to registry…
Retrying “registry.mydomain.com/v2/64afd1dcc1012c88c7aa4e81021f0dc8:latest” after 2.0s (1 of 2) due to: Error: received unexpected HTTP status: 500 Internal Server Error
Retrying “registry.mydomain.com/v2/64afd1dcc1012c88c7aa4e81021f0dc8:latest” after 2.8s (2 of 2) due to: Error: received unexpected HTTP status: 500 Internal Server Error

On the server side in registry container:

May 05 13:03:19 e967506d285d registry[998]: caused by: Put https://s3.mydomain.com/registry-data/data/docker/registry/v2/repositories/v2/9a7505d22ca4a37f610562355b8b9ac9/
_uploads/ea286fa8-7f53-45bb-878f-fa4b97a4a71c/startedat: x509: certificate signed by unknown authority" err.message=“unknown error” go.version=go1.11.2 http.request.host=reg
istry.mydomain.com http.request.id=38e4783f-14a9-429e-a5c9-f34b4ff8325c http.request.method=POST http.request.remoteaddr=176.88.20.93 http.request.uri="/v2/v2/9a7505d22ca
4a37f610562355b8b9ac9/blobs/uploads/" http.request.useragent=“docker/20.10.6 go/go1.13.15 git-commit/8728dd2 kernel/5.4.72-microsoft-standard-WSL2 os/linux arch/amd64 Upstre
amClient(Go-http-client/1.1)” http.response.contenttype=“application/json; charset=utf-8” http.response.duration=283.898301ms http.response.status=500 http.response.written=
104 vars.name=“v2/9a7505d22ca4a37f610562355b8b9ac9”
May 05 13:03:19 e967506d285d registry[998]: 172.21.0.9 - - [05/May/2021:13:03:18 +0000] “POST /v2/v2/9a7505d22ca4a37f610562355b8b9ac9/blobs/uploads/ HTTP/1.1” 500 104 “” “do
cker/20.10.6 go/go1.13.15 git-commit/8728dd2 kernel/5.4.72-microsoft-standard-WSL2 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)”
May 05 13:03:40 e967506d285d registry[998]: time=“2021-05-05T13:03:40.295892106Z” level=error msg=“response completed with error” auth.user.name=admin err.code=unknown err.d
etail="s3aws: RequestError: send request failed

It seems like the registry cannot upload images to the minio. I am currently not understand why.

Is there something I am doing wrong? It would be awesome if somebody can help or point me to a solution.

Thanks in advance
Emre

Hi @emre

I just want to check whether you are still encountering this problem?

If so,

  • Can you confirm that you have followed all the instructions here?
  • Is it the first time that you follow these steps, or is the currently failing workflow something that used to work before, and stopped working after a recent change?

Kind regards
Alida