The Docker Compose Up runs smoothly, with no errors or warnings that arenāt expected so far.
Is there a fix for this misbehavior? Because obviously, that .crt file is not in place, and I would figure that it is most likely the acme that is failing, if I wouldnāt get an āOKā on the API endpoint:
I already asked a question related to the balena-CLI which ultimately leads to this error because there is obviously a self-signed certificate installed, even though I used the ā-cā for acme in the installation process:
Here is a link to my other Thread about the CLI problem: (it is still unanswered anyways)
Please donāt get me wrong or anything, I like the idea of how balena wants to solve IOT related situations, we in general here at our company really would love to test compatibility to maybe even switch completely with 300+ Devices to balenaCloud, but as long as I can tell, support is most likely the only way to get help from balena. This is not what I was expecting, especially because other threads, with sometimes really easy beginner issues get an answer and help. Whereas myself was greatly ignored for issued by now.
Have a good one, I would love to hear at least a āhiā or āwe donāt have a clue eitherā or āplease give more informationā
But in my case, this is not enough, below are my results with the fix of PR131:
It seems my VPS is rather slow and it needs a restart, these are the logs from āscripts/compose up -dā
Creating openbalena_db_1 ā¦ done
Creating openbalena_redis_1 ā¦ done
Creating openbalena_s3_1 ā¦ done
Creating openbalena_cert-provider_1 ā¦ done
Creating openbalena_api_1 ā¦ done
Creating openbalena_registry_1 ā¦ done
Creating openbalena_vpn_1 ā¦ done
Creating openbalena_haproxy_1 ā¦ done
ā¦
./scripts/compose logs
cert-provider_1 | [Info] VALIDATION not set. Using default: http-01
cert-provider_1 | [Info] Waiting for api.openbalena. to be available via HTTPā¦
cert-provider_1 | [Info] (1/3) Connectingā¦
cert-provider_1 | [Info] (1/3) Failed. Retrying in 5 secondsā¦
cert-provider_1 | [Info] (2/3) Connectingā¦
cert-provider_1 | [Info] (2/3) Failed. Retrying in 5 secondsā¦
cert-provider_1 | [Info] (3/3) Connectingā¦
cert-provider_1 | [Info] (3/3) Failed!
cert-provider_1 | [Info] Unable to access api.openbalena. on port 80. This is needed for certificate validation. Retrying in 30 secondsā¦
cert-provider_1 | [Info] Waiting for api.openbalena. to be available via HTTPā¦
cert-provider_1 | [Info] (1/3) Connectingā¦
cert-provider_1 | [Info] (1/3) Failed. Retrying in 5 secondsā¦
cert-provider_1 | [Info] (2/3) Connectingā¦
cert-provider_1 | [Info] (2/3) Failed. Retrying in 5 secondsā¦
cert-provider_1 | [Info] (3/3) Connectingā¦
cert-provider_1 | [Info] (3/3) Failed!
cert-provider_1 | [Info] Unable to access api.openbalena. on port 80. This is needed for certificate validation. Retrying in 30 secondsā¦
When I do a "docker restart <container-id-if-openbalena_cert-provider>, I get:
ā¦
Info] Installing certificatesā¦
[Fri Jan 14 15:20:19 UTC 2022] Installing cert to: /tmp/cert.pem
[Fri Jan 14 15:20:19 UTC 2022] Installing key to: /tmp/key.pem
[Fri Jan 14 15:20:19 UTC 2022] Installing full chain to: /tmp/fullchain.pem
[Fri Jan 14 15:20:19 UTC 2022] Run reload cmd: cat /tmp/fullchain.pem /tmp/key.pem > /certs/open-balena.pem
[Fri Jan 14 15:20:19 UTC 2022] Reload success
[Info] Waiting for api.openbalena.teamo.at to use a staging certificateā¦
[Info] (1/3) Connectingā¦
[Info] (1/3) Failed. Retrying in 5 secondsā¦
[Info] (2/3) Connectingā¦
[Info] (2/3) Failed. Retrying in 5 secondsā¦
[Info] (3/3) Connectingā¦
[Info] (3/3) Failed!
[Error] Unable to detect certificate change over. Cannot issue a production certificate. [Stopping]
[Info] VALIDATION not set. Using default: http-01
[Info] Waiting for api.openbalena.teamo.at to be available via HTTPā¦
[Info] (1/3) Connectingā¦
[Info] (1/3) Success!
[Info] Last acquired certificate for STAGING
[Info] Using STAGING mode
[Info] Waiting for api.openbalena.teamo.at to be available via HTTPā¦
[Info] (1/3) Connectingā¦
[Info] (1/3) Success!
[Info] Issuing certificatesā¦
[Fri Jan 14 15:24:55 UTC 2022] Domains not changed.
[Fri Jan 14 15:24:55 UTC 2022] Skip, Next renewal time is: Tue Mar 15 15:20:19 UTC 2022
[Fri Jan 14 15:24:55 UTC 2022] Add āāforceā to force to renew.
[Info] Installing certificatesā¦
[Fri Jan 14 15:24:56 UTC 2022] Installing cert to: /tmp/cert.pem
[Fri Jan 14 15:24:56 UTC 2022] Installing key to: /tmp/key.pem
[Fri Jan 14 15:24:56 UTC 2022] Installing full chain to: /tmp/fullchain.pem
[Fri Jan 14 15:24:56 UTC 2022] Run reload cmd: cat /tmp/fullchain.pem /tmp/key.pem > /certs/open-balena.pem
[Fri Jan 14 15:24:56 UTC 2022] Reload success
[Info] Waiting for api.openbalena.teamo.at to use a staging certificateā¦
[Info] (1/3) Connectingā¦
[Info] (1/3) Failed. Retrying in 5 secondsā¦
[Info] (2/3) Connectingā¦
[Info] (2/3) Failed. Retrying in 5 secondsā¦
[Info] (3/3) Connectingā¦
[Info] (3/3) Failed!
[Error] Unable to detect certificate change over. Cannot issue a production certificate. [Stopping]
For now, I stopped evaluating openBalena because of missing features and lack of time. I will freeze this account and will continue to participate with @Markus.Kohn.GWA which is my account when it comes to the company I work for.
@mawiguk0 we have a draft PR open against openBalena, which aims to address a lot of existing concerns. It is blocked on internal tech-debt, but hopefully, once that is cleared, weāll have openBalena published to balenaHub with a much easier interface.