Hi,
I have a couple of AirGradient ONE devices with the latest firmware, eg.:
Detected ONE_INDOOR
Serial nr: 3cdc75bd0xxx
[OledDisplay] Info: begin
Firmware Version: 3.7.0
The AirGradient Dashboard lists them, with proper Commissioning date, Last seen timestamp lists initial time. However, their status is offline.
The device’s console lists the reason - certificate error:
---- PAYLOAD
{"pm01":0,"pm02":0,"pm10":0,"pm01Standard":0,"pm02Standard":0,"pm10Standard":0,"pm003Count":32.67,"pm005Count":27.33,"pm01Count":4.67,"pm02Count":0.5,"pm50Count":0,"pm10Count":0,"pm02Compensated":0,"firmware":"PMS5003x-151","atmp":25.11,"rhum":43.98,"rco2":496.67,"tvocIndex":89.58,"tvocRaw":33654.08,"noxIndex":1,"noxRaw":19546.17,"boot":2,"bootCount":2,"wifi":-36,"resetReason":1,"freeHeap":147200}
-----
[AgWifiClient] Info: Post measures to https://hw.airgradient.com/sensors/airgradient:3cdc75bd0xxx/measures
[AgWifiClient] Info: Payload: {"pm01":0,"pm02":0,"pm10":0,"pm01Standard":0,"pm02Standard":0,"pm10Standard":0,"pm003Count":32.67,"pm005Count":27.33,"pm01Count":4.67,"pm02Count":0.5,"pm50Count":0,"pm10Count":0,"pm02Compensated":0,"firmware":"PMS5003x-151","atmp":25.11,"rhum":43.98,"rco2":496.67,"tvocIndex":89.58,"tvocRaw":33654.08,"noxIndex":1,"noxRaw":19546.17,"boot":2,"bootCount":2,"wifi":-36,"resetReason":1,"freeHeap":147200}
[155220][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[155389][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to 91.98.9.143 failed in 302ms (ret=0)
[AgEpSel] Warning: Advance 91.98.9.143 -> 46.225.42.92 (idx 0 -> 1)
[155508][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[155678][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to 46.225.42.92 failed in 287ms (ret=0)
[AgEpSel] Warning: Advance 46.225.42.92 -> 91.98.9.143 (idx 1 -> 0)
[AgWifiClient] Warning: All 2 IP(s) failed; falling back to hostname resolution
[155801][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[155972][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to hw.airgradient.com failed in 294ms (ret=0)
[AgWifiClient] Error: Both IP and hostname paths failed
Online mode and isPostToAirGradient = true
Free heap: 149012
[AgWifiClient] Info: Fetch configuration from https://hw.airgradient.com/sensors/airgradient:3cdc75bd0xxx/one/config
[156093][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[156262][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to 91.98.9.143 failed in 288ms (ret=0)
[AgEpSel] Warning: Advance 91.98.9.143 -> 46.225.42.92 (idx 0 -> 1)
[156387][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[156559][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to 46.225.42.92 failed in 296ms (ret=0)
[AgEpSel] Warning: Advance 46.225.42.92 -> 91.98.9.143 (idx 1 -> 0)
[AgWifiClient] Warning: All 2 IP(s) failed; falling back to hostname resolution
[156687][E][ssl_client.cpp:37] _handle_error(): [start_ssl_client():273]: (-9984) X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
[156859][E][WiFiClientSecure.cpp:144] connect(): start_ssl_client: -9984
[AgWifiClient] Warning: TLS connect to hw.airgradient.com failed in 299ms (ret=0)
[AgWifiClient] Error: Both IP and hostname paths failed
Thanks & best wishes, Ivan.