BirdWeather PUC Tarjeta SIM TLS errores
TLS y HTTP_CLIENT pueden aparecer al intentar conectarse.
Parece ser un problema de conexión TLS/HTTP específico de los proveedores de red, ya que el dispositivo funciona en otras redes. Es probable que el problema resida en el protocolo TLS/SSL del dispositivo con el servidor, que está fallando. Incluso si el módem se conecta con éxito a la red 4G, el dispositivo todavía tiene que crear un túnel seguro con el servidor de BirdWeather. Aquí es donde se rompe el proceso.
The log errors "esp-tls: Failed to open new connection in specified timeout" and "HTTP_CLIENT: Connection failed, sock < 0" indicate that the device is unable to establish a TCP/IP connection to the server. This isn't a problem with the modem's configuration or SIM card's ability to connect to the cellular network, but rather an issue with the device's ability to reach the intended destination through that network.
Resolución
Algunas redes como Three y Vodafone pueden tener problemas con un tamaño de registro TLS mayor (por ejemplo, 16 KB de tamaño de registro TLS). Compruebe si el dispositivo puede utilizar un tamaño TLS inferior y seleccione esa opción. Si no puede reducir el tamaño del registro, póngase en contacto directamente con el fabricante del dispositivo y explíquele que para conectarse necesita un tamaño de búfer TLS reducido.
Ejemplos de resultados
I (13790) PUC-APP: serverTime - 2025-08-01T16:00:39.709Z I (13800) PUC-APP: check_set_time_from_server - 08-01-2025 16:00:39 I (13810) PUC-APP: Updating System Time & RTC_DS3231 from Server Time - 2025 7 1 I (13810) PUC-APP: Start - register_puc ( ) - 20250801_160039 I (13820) MAC address: MAC address: 7c:df:a1:f9:91:4c I (13830) PUC-APP: macAddress - 7c:DF:A1:F9:91:4C I (13830) PUC-APP: json_string { [8C"macAddress":[3C"7c:DF:A1:F9:91:4C", [8C"puc":[2Ctrue, [8C"hwVersion":[4C"V8", [8C"gpsModel":[5C"L86", [8C"bootCount":[4C1501, [8C"fwVersion":[4C"1.63" } [33mW (74020) HTTP_CLIENT: Connection timed out before data was ready! [31mE (74020) PUC-APP: (BirdWeather) Error esp_http_client_perform ESP_ERR_HTTP_EAGAIN [32mI (74020) PUC-APP: HTTP_EVENT_DISCONNECTED [33mW (74030) PUC-APP: Not Connected to Server -- Loading SPIFFS and NVRAM
W (73890) esp-tls: Failed to open new connection in specified timeout E (73890) transport_base: Failed to open a new connection E (73890) HTTP_CLIENT: Connection failed, sock < 0 E (73890) PUC-APP: (BirdWeather) Error esp_http_client_perform ESP_ERR_HTTP_CONNECT I (73900) PUC-APP: HTTP_EVENT_DISCONNECTED W (73910) PUC-APP: Not Connected to Server -- Loading SPIFFS and NVRAM