Hi,
i have a working teddycloud on version 0.4.3 with esp32.
if i using a newer image the boxine-state become red and the log tells me "auth failed, wrong certificate (or something like that).
If i change back to version 0.4.3 it is working again.
any ideas where to look?
|2025/01/03 08:41:37|stderr|INFO |handler_reverse.c:0045:handleReverse| httpServerRequestCallback: (done)|
|—|—|—|
|2025/01/03 08:41:37|stderr|INFO |handler_reverse.c:0038:handleReverse| httpServerRequestCallback: (waiting)|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0452:web_request| Connection closed|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0311:cbrCloudServerDiscoPassthrough| >> cbrCloudServerDiscoPassthrough|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0421:web_request| Response: ‘1735890097’|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0075:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: NULL|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: x-request-id = GBce2MXVVFCPn6pfiiOR|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: cache-control = max-age=0, private, must-revalidate|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Connection = keep-alive|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Length = 10|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0374:web_request| Content-Type is text/plain; charset=utf-8|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Content-Type = text/plain; charset=utf-8|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Date = Fri, 03 Jan 2025 07:41:37 GMT|
|2025/01/03 08:41:37|stderr|INFO |handler.c:0069:cbrCloudHeaderPassthrough| >> cbrCloudHeaderPassthrough: Server = openresty|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0311:web_request| HTTP code: 200|
|2025/01/03 08:41:37|stderr|cyclone/cyclone_crypto/cipher/aes.c:511:35: runtime error: left shift of 169 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:41:37|stderr|cyclone/cyclone_crypto/cipher/aes.c:496:35: runtime error: left shift of 187 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:41:37|stderr|cyclone/cyclone_crypto/cipher/aes.c:506:35: runtime error: left shift of 128 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:41:37|stderr|cyclone/cyclone_crypto/cipher/aes.c:501:35: runtime error: left shift of 205 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0073:httpClientTlsInitCallbackBase| Initializing TLS done|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0038:httpClientTlsInitCallbackBase| Initializing TLS…|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0211:web_request| trying IP: 18.156.186.144|
|2025/01/03 08:41:37|stderr|INFO |cloud_request.c:0161:web_request| Connecting to HTTP server teddy.extern:443…|
|2025/01/03 08:41:37|stderr|INFO |mqtt.c:0684:mqtt_init_box| Skipping client ‘Toniebox’ (cn: ‘default’)|
|2025/01/03 08:41:37|stderr|INFO |handler_cloud.c:0040:handleCloudTime| >> respond with current time|
|2025/01/03 08:41:32|stderr|WARN |server_helpers.c:0792:httpServerUriNotFoundCallback| >> 404 /weg|
|2025/01/03 08:41:25|stderr|INFO |mqtt.c:0684:mqtt_init_box| Skipping client ‘Toniebox’ (cn: ‘default’)|
|2025/01/03 08:41:25|stderr|INFO |handler_cloud.c:0040:handleCloudTime| >> respond with current time|
|2025/01/03 08:38:38|stderr|INFO |toniesJson.c:0196:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5088305|
|2025/01/03 08:38:38|stderr|INFO |toniesJson.c:0196:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2|
|2025/01/03 08:38:38|stderr|INFO |toniesJson.c:0118:tonies_update| … success updating tonies.json from api.revvox.de, reloading|
|2025/01/03 08:38:38|stderr|INFO |cloud_request.c:0452:web_request| Connection closed|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0374:web_request| Content-Type is text/plain; charset=utf-8|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0311:web_request| HTTP code: 200|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0073:httpClientTlsInitCallbackBase| Initializing TLS done|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0038:httpClientTlsInitCallbackBase| Initializing TLS…|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0211:web_request| trying IP: 185.199.109.133|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0161:web_request| Connecting to HTTP server raw.githubusercontent.com:443…|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0324:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonies.json|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0311:web_request| HTTP code: 302|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:400:34: runtime error: left shift of 149 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|src/cyclone/cyclone_crypto/mpi.c:792:48: runtime error: left shift of 241 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:395:34: runtime error: left shift of 226 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:385:34: runtime error: left shift of 164 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0073:httpClientTlsInitCallbackBase| Initializing TLS done|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:390:34: runtime error: left shift of 142 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:260:47: runtime error: left shift of 174 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|cyclone/cyclone_crypto/cipher/aes.c:268:55: runtime error: left shift of 177 by 24 places cannot be represented in type ‘int’|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0038:httpClientTlsInitCallbackBase| Initializing TLS…|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0211:web_request| trying IP: 157.90.183.226|
|2025/01/03 08:38:35|stderr|INFO |cloud_request.c:0161:web_request| Connecting to HTTP server api.revvox.de:443…|
|2025/01/03 08:38:35|stderr|INFO |toniesJson.c:0094:tonies_update| Updating tonies.json from api.revvox.de…|
|2025/01/03 08:38:34|stderr|INFO |toniesJson.c:0196:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5081880|
|2025/01/03 08:38:34|stderr|INFO |toniesJson.c:0196:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0394:tls_adapter_init| Loading certificates…|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|INFO |settings.c:0697:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘debug.web.pcm_encode_console_url’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘debug.web.pcm_encode_console_url’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘tonie_json.cache_preload’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘tonie_json.cache_preload’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘tonie_json.cache_images’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘tonie_json.cache_images’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘pcap.filename’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘pcap.filename’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘pcap.enabled’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘pcap.enabled’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘frontend.confirm_audioplayer_close’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘frontend.confirm_audioplayer_close’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘frontend.ignore_web_version_mismatch’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘frontend.ignore_web_version_mismatch’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘frontend.split_model_content’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘frontend.split_model_content’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘encode.stream_max_size’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘encode.stream_max_size’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘cloud.localOta’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘cloud.localOta’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘cloud.cacheOta’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘cloud.cacheOta’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.onRobotsTxt’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.onRobotsTxt’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.onCrawler’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.onCrawler’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.onBlacklistDomain’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.onBlacklistDomain’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.httpsOnly’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.httpsOnly’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.lockAccess’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.lockAccess’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘security_mit.warnAccess’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘security_mit.warnAccess’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.settings_level’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.settings_level’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.allowNewBox’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.allowNewBox’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.boxCertAuth’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.boxCertAuth’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.new_webgui_as_default’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.new_webgui_as_default’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.cachedir’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.cachedir’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.server.https_api_port’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.server.https_api_port’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘core.server.https_web_port’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘core.server.https_web_port’ not found|
|2025/01/03 08:38:34|stderr|INFO |settings.c:0697:settings_load_ovl| Load settings from /teddycloud/config/config.ini|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0205:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY|
|2025/01/03 08:38:34|stderr|INFO |tls_adapter.c:0208:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0828:settings_load_ovl| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|WARN |settings.c:0931:settings_get_by_name_id| Setting item ‘toniebox.api_access’ not found|
|2025/01/03 08:38:34|stderr|INFO |settings.c:0697:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini|
|2025/01/03 08:38:34|stderr||
|2025/01/03 08:38:34|stderr|TeddyCloud v0.4.3 (2e75ee3) - 2024-03-30 11:27:16 +0000 linux-x86_64|
the version 0.6.2:
2025/01/03 08:47:06 stderr ERROR|handler_reverse.c:0029:handleReverse| cloud_request_get() failed
2025/01/03 08:47:06 stderr ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Bad certificate [532]
2025/01/03 08:47:06 stderr WARN |tls_adapter.c:0582:tlsParseCertificateList| Server name mismatch!
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 7x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server teddy.extern:443…
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 7x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr ERROR|handler_reverse.c:0029:handleReverse| cloud_request_get() failed
2025/01/03 08:47:06 stderr ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Bad certificate [532]
2025/01/03 08:47:06 stderr WARN |tls_adapter.c:0582:tlsParseCertificateList| Server name mismatch!
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 24x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server teddy.extern:443…
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 7x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr ERROR|handler_reverse.c:0029:handleReverse| cloud_request_get() failed
2025/01/03 08:47:06 stderr ERROR|cloud_request.c:0262:web_request| Failed to connect to HTTP server! HTTP=Unknown HTTP Status Code error=Bad certificate [532]
2025/01/03 08:47:06 stderr WARN |tls_adapter.c:0582:tlsParseCertificateList| Server name mismatch!
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 7x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0252:web_request| trying IP: 18.156.186.144
2025/01/03 08:47:06 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server teddy.extern:443…
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
- 100x repeat
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:47:06 stderr INFO |mqtt.c:0685:mqtt_init_box| Skipping client ‘Toniebox’ (cn: ‘default’)
2025/01/03 08:47:06 stderr INFO |handler_cloud.c:0041:handleCloudTime| >> respond with current time
2025/01/03 08:47:06 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
72x repeat
2025/01/03 08:47:04 stderr WARN |platform_linux.c:0292:socketReceive| buffer does not contain null terminator
2025/01/03 08:46:14 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5088305
2025/01/03 08:46:14 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
2025/01/03 08:46:14 stderr INFO |toniesJson.c:0238:tonieboxes_update| … success updating tonieboxes.json from api.revvox.de, reloading
2025/01/03 08:46:14 stderr INFO |cloud_request.c:0252:web_request| trying IP: 185.199.108.133
2025/01/03 08:46:14 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443…
2025/01/03 08:46:14 stderr INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonieboxes.json
2025/01/03 08:46:14 stderr INFO |cloud_request.c:0252:web_request| trying IP: 157.90.183.226
2025/01/03 08:46:14 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443…
2025/01/03 08:46:14 stderr INFO |toniesJson.c:0211:tonieboxes_update| Updating tonies.json from api.revvox.de…
2025/01/03 08:46:13 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5088305
2025/01/03 08:46:13 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
2025/01/03 08:46:13 stderr INFO |toniesJson.c:0124:tonies_update| … success updating tonies.json from api.revvox.de, reloading
2025/01/03 08:46:11 stderr INFO |cloud_request.c:0252:web_request| trying IP: 185.199.109.133
2025/01/03 08:46:11 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443…
2025/01/03 08:46:11 stderr INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonies.json
2025/01/03 08:46:10 stderr INFO |cloud_request.c:0252:web_request| trying IP: 157.90.183.226
2025/01/03 08:46:10 stderr INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443…
2025/01/03 08:46:10 stderr INFO |toniesJson.c:0100:tonies_update| Updating tonies.json from api.revvox.de…
2025/01/03 08:46:10 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5088305
2025/01/03 08:46:10 stderr INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0390:tls_adapter_init| Loading certificates…
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |settings.c:0848:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |settings.c:0848:settings_load_ovl| Load settings from /teddycloud/config/config.ini
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/client/private.der’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/client.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0197:read_certificate| File ‘/teddycloud/certs/client/ca.der’ detected as DER style CERTIFICATE
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/teddy-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/teddy-cert.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0201:read_certificate| File ‘/teddycloud/certs/server/ca-key.pem’ detected as DER style RSA PRIVATE KEY
2025/01/03 08:46:10 stderr INFO |tls_adapter.c:0204:read_certificate| File ‘/teddycloud/certs/server/ca-root.pem’ assumed PEM style
2025/01/03 08:46:10 stderr INFO |settings.c:0848:settings_load_ovl| Load settings from /teddycloud/config/config.overlay.ini
2025/01/03 08:46:10 stderr
2025/01/03 08:46:10 stderr TeddyCloud v0.6.2 (203f12d) - 2024-10-26 18:14:34 +0000 ubuntu linux-x86_64(64)
No, the URL is wrong and will not work. It does not fit to the certificates of the server of boxine. Older versions of teddyCloud didn’t check that.
It is the wrong way to change the URLs in teddyCloud. Use an external DNS for teddyCloud to solve that.
The log looks fine. And as cloud access is disabled (as said there) the cloud connection is not active.
ok that is good to know.
at the deployment a year ago i thougt the extra dns-name is my only solution; but yes its much more easy to set a seprat dns-server for teddycloud-container.