Hello @0xbadbee.
Thanks for the info. Of course, without background information it will be more difficult. Hope it’s not too much text and log.
Description:
Problem, no connection to Boxine or only “half”. New original Tonies are not synchronized automatically.
1st… Actions performed:
Teddycloud installed, Toniebox firmware update performed and prepared according to instructions (ESP) and connected to Teddycloud.
2nd… Expected outcome:
I place a new original Tonie figure on the Toniebox. The Tonie is displayed in the Teddycloud with a symbol and question mark. Tonie figure should be automatically synchronized and displayed in the Teddycloud with picture.
3rd… Actual outcome:
I place a new original Tonie figure on the Toniebox. The Tonie is displayed in the Teddycloud with a symbol and question mark. Toniebox flashes blue. A few seconds later, the box flashes red with the message Ant.
I can then see the relevant Tonie figure in the Teddycloud and click on Download in the middle. After a short time, the content is loaded and can be played. The picture of the corresponding clay figure is also available.
4… environment details:
Raspberry PI OS operating system. Docker and TeddyCloud version 0.6.3 installed (stack).
5… logs:
Here is the log when I set up a new original figure:
ERROR|handler_cloud.c:0698:handleCloudContent| >> file /teddycloud/data/library/by/audioID/xxxxxxx.taf not available or not send, error=Write failed [521]…
INFO |contentJson.c:0179:save_content_json| Content dir for JSON ‘/teddycloud/data/content/default/xxxxxxx/xxxxxxx.json’ not existing, creating it.
INFO |server.c:0432:httpServerRequestCallback| UA=toniebox-esp32-eu/v5.233.0, ESPFW=eu/v5.233.0
INFO |handler_cloud.c:0448:handleCloudContent| >> client requested content for rUID xxxxxxx, auth xxxxxxx…
INFO |handler_cloud.c:0314:dumpRuidAuth| Dumped rUID xxxxxxx and auth into content.json
INFO |handler_cloud.c:0724:handleCloudContent| Serve cloud content from /v2/content/xxxxxxx
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.74.99.150
ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Not Modified error=End of file reached [304]
And here is a log when I manually click on “Download” for the Toniebox.
INFO |handler_cloud.c:0448:handleCloudContent| >> client requested content for rUID xxxxxxx, auth xxxxxxx…
INFO |handler_cloud.c:0724:handleCloudContent| Serve cloud content from /v2/content/xxxxxxx
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
INFO |cloud_request.c:0453:web_request| Binary data, not dumping body
INFO |handler.c:0269:cbrCloudBodyPassthrough| >> Start caching uri=/v2/content/xxxxxxx
INFO |server.c:0961:server_init| 1 open HTTPS API connections
INFO |handler.c:0308:cbrCloudBodyPassthrough| >> Successfully cached /teddycloud/data/content/default/xxxxxxx/xxxxxxx
INFO |handler.c:0944:moveTAF2Lib| >> Successfully set to library lib://by/audioID/xxxxxxx.taf
INFO |handler.c:0308:cbrCloudBodyPassthrough| >> Successfully cached /teddycloud/data/content/default/xxxxxxx/xxxxxxx
INFO |handler.c:0944:moveTAF2Lib| >> Successfully set to library lib://by/audioID/xxxxxxx.taf
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:0448:handleCloudContent| >> client requested content for rUID xxxxxxx, auth xxxxxxx…
INFO |handler_cloud.c:0684:handleCloudContent| Serve local content from /teddycloud/data/library/by/audioID/xxxxxxx.taf
ERROR|handler_cloud.c:0698:handleCloudContent| >> file /teddycloud/data/library/by/audioID/xxxxxxx.taf not available or not send, error=Write failed [521]…
INFO |server.c:0432:httpServerRequestCallback| UA=toniebox-esp32-eu/v5.233.0, ESPFW=eu/v5.233.0
INFO |handler_cloud.c:0448:handleCloudContent| >> client requested content for rUID xxxxxxx, auth xxxxxxx…
INFO |handler_cloud.c:0684:handleCloudContent| Serve local content from /teddycloud/data/library/by/audioID/xxxxxxx.taf
INFO |contentJson.c:0179:save_content_json| Content dir for JSON ‘/teddycloud/data/content/default/xxxxxxx/xxxxxxx.json’ not existing, creating it.
INFO |server.c:0432:httpServerRequestCallback| UA=toniebox-esp32-eu/v5.233.0, ESPFW=eu/v5.233.0
INFO |handler_cloud.c:0448:handleCloudContent| >> client requested content for rUID xxxxxxx, auth xxxxxxx…
INFO |handler_cloud.c:0314:dumpRuidAuth| Dumped rUID xxxxxxx and auth into content.json
INFO |handler_cloud.c:0724:handleCloudContent| Serve cloud content from /v2/content/xxxxxxx
In other posts with the HTTP error message 304 I have read that you should create a new Docker image here and flash the box again including certificate import. I haven’t done that yet. Presumably this will be the faster way
I’m just wondering why it can’t establish the connection to Boxine automatically
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.74.99.150
ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Not Modified error=End of file reached [304]
manually, but when I click on Download it does
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
INFO |cloud_request.c:0453:web_request| Binary data, not dumping body
INFO |handler.c:0269:cbrCloudBodyPassthrough| >> Start caching uri=/v2/content/xxxxxxx
Thanks for your support and help.