Hi,
i set up the teddycloud the first time.
the first times i had problems with the certificates and the connection between the box and the teddycloud.
Now i think it is working fine if i review my logs.
Than i added content to the creativetonie that was shiped with the box and placed it at the box.
than i do have a tls-error .
2024/02/13 15:53:43 stderr INFO |server.c:0569:server_init| 6 open HTTPS connections
2024/02/13 15:53:37 stderr INFO |cloud_request.c:0417:web_request| Connection closed
2024/02/13 15:53:37 stderr INFO |handler.c:0225:cbrCloudServerDiscoPassthrough| >> cbrCloudServerDiscoPassthrough
2024/02/13 15:53:37 stderr INFO |cloud_request.c:0386:web_request| Response: '1707836016'
2024/02/13 15:53:37 stderr INFO |handler.c:0061:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: NULL
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: x-request-id = F7NzzxPUKyoyAWQEjG3S
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: cache-control = max-age=0, private, must-revalidate
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Connection = keep-alive
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Length = 10
2024/02/13 15:53:37 stderr INFO |cloud_request.c:0339:web_request| Content-Type is text/plain; charset=utf-8
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Type = text/plain; charset=utf-8
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Date = Tue, 13 Feb 2024 14:53:36 GMT
2024/02/13 15:53:37 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Server = openresty
2024/02/13 15:53:37 stderr INFO |cloud_request.c:0308:web_request| HTTP code: 200
2024/02/13 15:53:35 stderr INFO |cloud_request.c:0071:httpClientTlsInitCallbackBase| Initializing TLS done
2024/02/13 15:53:35 stderr INFO |cloud_request.c:0036:httpClientTlsInitCallbackBase| Initializing TLS...
2024/02/13 15:53:35 stderr INFO |cloud_request.c:0208:web_request| trying IP: 54.156.174.181
2024/02/13 15:53:35 stderr INFO |cloud_request.c:0158:web_request| Connecting to HTTP server tbs.cloudgate.us.prod.tcs.toys.tonie.cloud:443...
2024/02/13 15:53:35 stderr INFO |mqtt.c:0684:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
2024/02/13 15:53:35 stderr INFO |handler_cloud.c:0038:handleCloudTime| >> respond with current time
2024/02/13 15:52:36 stderr INFO |cloud_request.c:0417:web_request| Connection closed
2024/02/13 15:52:36 stderr INFO |handler.c:0225:cbrCloudServerDiscoPassthrough| >> cbrCloudServerDiscoPassthrough
2024/02/13 15:52:36 stderr INFO |cloud_request.c:0386:web_request| Response: '1707835956'
2024/02/13 15:52:36 stderr INFO |handler.c:0061:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: NULL
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: x-request-id = F7NzwP9Kj_x1lX4KuWXR
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: cache-control = max-age=0, private, must-revalidate
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Connection = keep-alive
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Length = 10
2024/02/13 15:52:36 stderr INFO |cloud_request.c:0339:web_request| Content-Type is text/plain; charset=utf-8
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Type = text/plain; charset=utf-8
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Date = Tue, 13 Feb 2024 14:52:36 GMT
2024/02/13 15:52:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Server = openresty
2024/02/13 15:52:36 stderr INFO |cloud_request.c:0308:web_request| HTTP code: 200
2024/02/13 15:52:35 stderr INFO |cloud_request.c:0071:httpClientTlsInitCallbackBase| Initializing TLS done
2024/02/13 15:52:35 stderr INFO |cloud_request.c:0036:httpClientTlsInitCallbackBase| Initializing TLS...
2024/02/13 15:52:35 stderr INFO |cloud_request.c:0208:web_request| trying IP: 35.174.93.29
2024/02/13 15:52:35 stderr INFO |cloud_request.c:0158:web_request| Connecting to HTTP server tbs.cloudgate.us.prod.tcs.toys.tonie.cloud:443...
2024/02/13 15:52:35 stderr INFO |mqtt.c:0684:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
2024/02/13 15:52:35 stderr INFO |handler_cloud.c:0038:handleCloudTime| >> respond with current time
2024/02/13 15:51:42 stderr INFO |server.c:0569:server_init| 7 open HTTPS connections
2024/02/13 15:51:36 stderr INFO |cloud_request.c:0417:web_request| Connection closed
2024/02/13 15:51:36 stderr INFO |handler.c:0225:cbrCloudServerDiscoPassthrough| >> cbrCloudServerDiscoPassthrough
2024/02/13 15:51:36 stderr INFO |cloud_request.c:0386:web_request| Response: '1707835896'
2024/02/13 15:51:36 stderr INFO |handler.c:0061:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: NULL
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: x-request-id = F7NzswPK4wkPPqoE_o1h
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: cache-control = max-age=0, private, must-revalidate
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Connection = keep-alive
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Length = 10
2024/02/13 15:51:36 stderr INFO |cloud_request.c:0339:web_request| Content-Type is text/plain; charset=utf-8
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Type = text/plain; charset=utf-8
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Date = Tue, 13 Feb 2024 14:51:36 GMT
2024/02/13 15:51:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Server = openresty
2024/02/13 15:51:36 stderr INFO |cloud_request.c:0308:web_request| HTTP code: 200
2024/02/13 15:51:35 stderr INFO |cloud_request.c:0071:httpClientTlsInitCallbackBase| Initializing TLS done
2024/02/13 15:51:35 stderr INFO |cloud_request.c:0036:httpClientTlsInitCallbackBase| Initializing TLS...
2024/02/13 15:51:35 stderr INFO |cloud_request.c:0208:web_request| trying IP: 35.174.93.29
2024/02/13 15:51:35 stderr INFO |cloud_request.c:0158:web_request| Connecting to HTTP server tbs.cloudgate.us.prod.tcs.toys.tonie.cloud:443...
2024/02/13 15:51:35 stderr INFO |mqtt.c:0684:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
2024/02/13 15:51:35 stderr INFO |handler_cloud.c:0038:handleCloudTime| >> respond with current time
2024/02/13 15:50:54 stderr ERROR|cloud_request.c:0295:web_request| Failed to read HTTP response header!
2024/02/13 15:50:52 stderr INFO |cloud_request.c:0071:httpClientTlsInitCallbackBase| Initializing TLS done
2024/02/13 15:50:52 stderr INFO |cloud_request.c:0036:httpClientTlsInitCallbackBase| Initializing TLS...
2024/02/13 15:50:52 stderr INFO |cloud_request.c:0208:web_request| trying IP: 35.174.93.29
2024/02/13 15:50:52 stderr INFO |cloud_request.c:0158:web_request| Connecting to HTTP server tbs.cloudgate.us.prod.tcs.toys.tonie.cloud:443...
2024/02/13 15:50:52 stderr INFO |handler_cloud.c:0476:handleCloudContent| Serve cloud content from /v2/content/6780c11c500304e0
2024/02/13 15:50:52 stderr INFO |handler_cloud.c:0303:handleCloudContent| >> client requested content for rUID 6780c11c500304e0, auth 01D6899C...
2024/02/13 15:50:52 stderr INFO |server.c:0248:httpServerRequestCallback| UA=toniebox-esp32-eu/v5.230.0, ESPFW=eu/v5.230.0
2024/02/13 15:50:51 stderr INFO |server.c:0569:server_init| 8 open HTTPS connections
2024/02/13 15:50:36 stderr INFO |cloud_request.c:0417:web_request| Connection closed
2024/02/13 15:50:36 stderr INFO |handler.c:0225:cbrCloudServerDiscoPassthrough| >> cbrCloudServerDiscoPassthrough
2024/02/13 15:50:36 stderr INFO |cloud_request.c:0386:web_request| Response: '1707835835'
2024/02/13 15:50:36 stderr INFO |handler.c:0061:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: NULL
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: x-request-id = F7NzpOzx80yHdP4K1MCC
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: cache-control = max-age=0, private, must-revalidate
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Connection = keep-alive
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Length = 10
2024/02/13 15:50:36 stderr INFO |cloud_request.c:0339:web_request| Content-Type is text/plain; charset=utf-8
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Type = text/plain; charset=utf-8
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Date = Tue, 13 Feb 2024 14:50:35 GMT
2024/02/13 15:50:36 stderr INFO |handler.c:0056:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Server = openresty
2024/02/13 15:50:35 stderr INFO |cloud_request.c:0308:web_request| HTTP code: 200
2024/02/13 15:50:34 stderr INFO |handler_api.c:0094:queryPrepare| requested index for 'content'
2024/02/13 15:50:34 stderr INFO |cloud_request.c:0071:httpClientTlsInitCallbackBase| Initializing TLS done
2024/02/13 15:50:34 stderr INFO |cloud_request.c:0036:httpClientTlsInitCallbackBase| Initializing TLS...
2024/02/13 15:50:34 stderr INFO |cloud_request.c:0208:web_request| trying IP: 35.174.93.29
2024/02/13 15:50:34 stderr INFO |cloud_request.c:0158:web_request| Connecting to HTTP server tbs.cloudgate.us.prod.tcs.toys.tonie.cloud:443...
2024/02/13 15:50:34 stderr INFO |mqtt.c:0684:mqtt_init_box| Skipping client 'Toniebox' (cn: 'default')
2024/02/13 15:50:34 stderr INFO |handler_cloud.c:0038:handleCloudTime| >> respond with current time
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0205:read_certificate| File '/etc/teddycloud/certs/client/private.der' detected as DER style RSA PRIVATE KEY
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0201:read_certificate| File '/etc/teddycloud/certs/client/client.der' detected as DER style CERTIFICATE
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0201:read_certificate| File '/etc/teddycloud/certs/client/ca.der' detected as DER style CERTIFICATE
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0205:read_certificate| File '/etc/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0208:read_certificate| File '/etc/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0205:read_certificate| File '/etc/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
2024/02/13 15:50:31 stderr INFO |tls_adapter.c:0208:read_certificate| File '/etc/teddycloud/certs/server/ca-root.pem' assumed PEM style
2024/02/13 15:50:31 stderr INFO |settings.c:0659:settings_load_ovl| Load settings from /etc/teddycloud/config/config.overlay.ini