Can't connect to Boxine - codeword owl

Hello dear community,

I can no longer connect to the Teddycloud. Unfortunately, I can’t figure it out from the posts I’ve read so far (yes, I tried).

Docker spits out the following logs for me.

Blockquote INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF4305E, nocloud: 0, live: 0, updated: 0, audioid: 1780F870 (2025-01-10 10:37:36, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035015F61069, nocloud: 0, live: 0, updated: 0, audioid: 5D4D369D (2019-08-09 09:02:21)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A7A, nocloud: 0, live: 0, updated: 0, audioid: 178103C6 (2025-01-10 11:25:58, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A7D, nocloud: 0, live: 0, updated: 0, audioid: 17810230 (2025-01-10 11:19:12, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A80, nocloud: 0, live: 0, updated: 0, audioid: 178104E6 (2025-01-10 11:30:46, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A83, nocloud: 0, live: 0, updated: 0, audioid: 178102F3 (2025-01-10 11:22:27, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035016407A8A, nocloud: 0, live: 0, updated: 0, audioid: 5DA98CC7 (2019-10-18 09:58:31)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF42B9C, nocloud: 0, live: 0, updated: 0, audioid: 178101C5 (2025-01-10 11:17:25, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E0040350137FCBAE, nocloud: 0, live: 0, updated: 0, audioid: 652512FE (2023-10-10 09:01:50)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403501A172DCB, nocloud: 0, live: 0, updated: 0, audioid: 59E9FC16 (2017-10-20 13:37:26)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500E129FE2, nocloud: 0, live: 0, updated: 0, audioid: 5C863AC4 (2019-03-11 10:39:00)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035015342CED, nocloud: 0, live: 0, updated: 0, audioid: 604A2A3B (2021-03-11 14:33:31)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0000000001000000, nocloud: 0, live: 0, updated: 0, audioid: 58DE2BEB (2017-03-31 10:14:03)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0100000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0200000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0300000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0400000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0500000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0600000001000000, nocloud: 0, live: 0, updated: 0, audioid: 6644C1D2 (2024-05-15 14:08:18)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0700000001000000, nocloud: 0, live: 0, updated: 0, audioid: 595364DC (2017-06-28 08:12:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0800000001000000, nocloud: 0, live: 0, updated: 0, audioid: 59536396 (2017-06-28 08:06:46)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0900000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8977 (2016-09-30 15:49:11)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0A00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 595363CC (2017-06-28 08:07:40)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0B00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8977 (2016-09-30 15:49:11)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0C00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0D00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0E00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0F00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1000000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1100000001000000, nocloud: 0, live: 0, updated: 0, audioid: 59F0AC95 (2017-10-25 15:24:05)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1200000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1300000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1400000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1500000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1600000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1700000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1800000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443…
INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Unknown certificate authority [537]
INFO |handler_cloud.c:0941:handleCloudFreshnessCheck| Freshness check response: size=14, content=
INFO |server.c:0961:server_init| 1 open HTTPS API connections
INFO |server.c:0961:server_init| 2 open HTTPS API connections
INFO |server.c:0432:httpServerRequestCallback| UA=toniebox-esp32-eu/v5.233.0, ESPFW=eu/v5.233.0
INFO |handler_cloud.c:0817:handleCloudFreshnessCheck| Content (688 of 688)
INFO |handler_cloud.c:0825:handleCloudFreshnessCheck| Found 43 tonies:
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035017581617, nocloud: 0, live: 0, updated: 0, audioid: 1776C322 (2025-01-02 16:47:30, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF3B819, nocloud: 1, live: 0, updated: 0, audioid: 178225B8 (2025-01-11 08:03:04, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF3B81F, nocloud: 0, live: 0, updated: 0, audioid: 1781015E (2025-01-10 11:15:42, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF3B822, nocloud: 0, live: 0, updated: 0, audioid: 1781001F (2025-01-10 11:10:23, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403501A521E2C, nocloud: 0, live: 0, updated: 0, audioid: 6311BB74 (2022-09-02 08:14:44)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035017A39F3E, nocloud: 0, live: 0, updated: 0, audioid: 61DEDCCF (2022-01-12 13:51:11)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF4305E, nocloud: 0, live: 0, updated: 0, audioid: 1780F870 (2025-01-10 10:37:36, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035015F61069, nocloud: 0, live: 0, updated: 0, audioid: 5D4D369D (2019-08-09 09:02:21)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A7A, nocloud: 0, live: 0, updated: 0, audioid: 178103C6 (2025-01-10 11:25:58, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A7D, nocloud: 0, live: 0, updated: 0, audioid: 17810230 (2025-01-10 11:19:12, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A80, nocloud: 0, live: 0, updated: 0, audioid: 178104E6 (2025-01-10 11:30:46, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF40A83, nocloud: 0, live: 0, updated: 0, audioid: 178102F3 (2025-01-10 11:22:27, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035016407A8A, nocloud: 0, live: 0, updated: 0, audioid: 5DA98CC7 (2019-10-18 09:58:31)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500EF42B9C, nocloud: 0, live: 0, updated: 0, audioid: 178101C5 (2025-01-10 11:17:25, custom)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E0040350137FCBAE, nocloud: 0, live: 0, updated: 0, audioid: 652512FE (2023-10-10 09:01:50)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403501A172DCB, nocloud: 0, live: 0, updated: 0, audioid: 59E9FC16 (2017-10-20 13:37:26)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E00403500E129FE2, nocloud: 0, live: 0, updated: 0, audioid: 5C863AC4 (2019-03-11 10:39:00)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: E004035015342CED, nocloud: 0, live: 0, updated: 0, audioid: 604A2A3B (2021-03-11 14:33:31)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0000000001000000, nocloud: 0, live: 0, updated: 0, audioid: 58DE2BEB (2017-03-31 10:14:03)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0100000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0200000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0300000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8975 (2016-09-30 15:49:09)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0400000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0500000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0600000001000000, nocloud: 0, live: 0, updated: 0, audioid: 6644C1D2 (2024-05-15 14:08:18)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0700000001000000, nocloud: 0, live: 0, updated: 0, audioid: 595364DC (2017-06-28 08:12:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0800000001000000, nocloud: 0, live: 0, updated: 0, audioid: 59536396 (2017-06-28 08:06:46)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0900000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8977 (2016-09-30 15:49:11)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0A00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 595363CC (2017-06-28 08:07:40)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0B00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8977 (2016-09-30 15:49:11)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0C00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 00000001 (special)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0D00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0E00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 0F00000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1000000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8978 (2016-09-30 15:49:12)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1100000001000000, nocloud: 0, live: 0, updated: 0, audioid: 59F0AC95 (2017-10-25 15:24:05)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1200000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1300000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1400000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE8979 (2016-09-30 15:49:13)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1500000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1600000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1700000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |handler_cloud.c:0885:handleCloudFreshnessCheck| uid: 1800000001000000, nocloud: 0, live: 0, updated: 0, audioid: 57EE897A (2016-09-30 15:49:14)
INFO |cloud_request.c:0200:web_request| Connecting to HTTP server prod.de.tbs.toys:443…
INFO |cloud_request.c:0252:web_request| trying IP: 3.69.182.181
ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Unknown certificate authority [537]
INFO |handler_cloud.c:0941:handleCloudFreshnessCheck| Freshness check response: size=14, content=
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client ‘Toniebox’ (cn: ‘default’)
INFO |server.c:0961:server_init| 1 open HTTPS API connections
INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
INFO |mqtt.c:0690:mqtt_init_box| Skipping client ‘Toniebox’ (cn: ‘default’)
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022
INFO |handler_api.c:2375:handleApiTonieboxJson| Trying to read /teddycloud/config/tonieboxes.json with size 3022

Do you have any advice for me? Or should I just flash the box again?

Best regards
Luke

That’s the problem.

Have you generated the server certificates again?

Which box version do you have? Did it ever worked? What have you done before the connection broke? Give more details please.

I had to flash the box again and honestly don’t know if I ever had a connection to the cloud afterwards.

How can I regenerate the server certificates?
I Have an ESP32.

Thank you before.

Are these the files I backed up?

Unfortunately, I only have *.bin files and not *.der. Or am I doing something wrong?

Sorry, this is all new territory for me.

You flashed an already patched Box again and therefore your client certificates in Teddycloud are wrong.

You can easily fix this by downloading the original Boxine CA and place it in both your certs client folders :

  1. Connect to your Teddycloud container on your Docker host machine:
    docker exec -it teddycloud bash

  2. Download Boxine CA (one line)

echo "" | openssl s_client -host prod.de.tbs.toys -port 443 -showcerts | awk '/BEGIN CERTIFICATE/ {p=1} ; p==1; /END CERTIFICATE/ {p=0}' | awk '$0=="-----BEGIN CERTIFICATE-----" {n++} n>2' | openssl x509 -outform der -out /tmp/ca.der
  1. Copy CA to teddycloud (default) client folder
    cp /tmp/ca.der /teddycloud/certs/client/ca.der

  2. Copy CA to teddycloud client folder of your Toniebox (replace *** with box-id)
    cp /tmp/ca.der /teddycloud/certs/client/***/ca.der

  3. Restart Teddycloud

1 Like

Thank you very much for your answer!!!

Unfortunately, I have already imported the last working backup, which was also connected to the Teddycloud. Now the original Tonies are working again (my daughter already wanted to kill me).

Unfortunately I have now removed the box from the Teddycloud. Can I add them back somehow?

Tried this.
But i get this message:

The ID is that one at the base of the Toniebox?

It’s the Mac address of the Toniebox and it should already be there in your case.

Also with the MAC address I got the message „cannot create …“.

And I can’t find the Toniebox in teddycloud.
How to add a deleted one?

You could add it manually in the tonieboxes.ini (or so) but that won’t help as if it’s not created automatically, it won’t be usable at all (would be only shown in the gui)

What ave you entered as Mac? It expects the MAC in lowercase and without : or -

Thx a lot. I’ve entered the MAC now in lowercase. That worked.
But i’m not able too find the Toniebox.

So it is maybe the best way to flash and patch it again?

Not yet.

Is the box in your WiFi visible?

Not visible. Listed as „not connected“.

But new original tonies are playing. So it must have WiFi or?

If you do not see the box connected to your WiFi, then something is wrong. If you can play new tonies with the box, but the box is not showing up in teddycloud, then it’s not connected to teddycloud nor patched correctly.

1 Like

Okay. Thx.

Then I will try to patch it again.

Worked! Thx a lot to you all!