Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Afte parent node end OTA, child node not connect to MESH (AEGHB-908) #134

Open
3 tasks done
ruslanslobozhenuk opened this issue Dec 6, 2024 · 1 comment
Open
3 tasks done

Comments

@ruslanslobozhenuk
Copy link

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

rarely

Expected behavior

Parent node reboot after OTA. Child node lost (not connect any nodes near). If I reboot, lost node connect and working perfectly.
Log file from 'zombie' node.

Actual behavior (suspected bug)

After child node lost parent? need connect to node near.

Error logs or terminal output

I (84121) heap_metrics: free:0x25c0c lfb:0x20000 min_free_ever:0x24598
I (84121) wifi_metrics: rssi:-54 min_rssi_ever:-54
I (84131) chip: Temperature value 30.00 C
I (84131) chip: Temperature value 29.00 C
W (84141) wifi:<ba-add>idx:0, ifx:0, tid:0, TAHI:0x10042d1, TALO:0xd2b51b1c, (ssn:21, win:64, cur_ssn:21), CONF:0xc0000005
I (84151) mqtt: Publishing to node/404CCA57F03C/d
I (84161) mqtt: Publishing to node/404CCA57F03C/d
I (84161) mqtt: Publishing to node/404CCA57F03C/d
I (84171) mqtt: Publishing to node/404CCA57F03C/d
I (84171) chip: Temperature value 28.00 C
I (84181) mqtt: Publishing to node/404CCA57F03C/d
I (84181) chip: CPU load: 24%
I (85181) chip: CPU load:  1%
I (86901) solo_ota: Upgrade Handler got:{"file_size":1811296,"fw_version":"1.0.1_f4a097d","ota_job_id":"404CCA57F03C","url":"http://192.168.240.1:18174/2734394"} on node/404CCA57F03C/ota/url topic

I (86911) solo_ota: OTA Job ID: 404CCA57F03C
I (86911) solo_ota: URL: http://192.168.240.1:18174/2734394
I (86921) solo_ota: File Size: 1811296
I (86931) solo_ota: Firmware version: 1.0.1_f4a097d
W (86931) main: SOLO_OTA_EVENT_STARTING
I (86941) ota: Reporting in-progress: Starting OTA Upgrade
I (86941) solo_ota_using_topics: {"ota_job_id":"404CCA57F03C","status":"in-progress","additional_info":"Starting OTA Upgrade"}
I (86951) mqtt: Publishing to node/404CCA57F03C/ota/status
I (86961) main: Image 83% read
W (86961) app_ota: Starting OTA. This may take time.
I (86981) solo_ota: MQTT Resubscribe [ota/url]
I (86981) app_solo: MQTT Resubscribe [params/remote]
I (86991) esp_https_ota: Starting OTA...
I (86991) esp_https_ota: Writing to partition subtype 16 at offset 0x20000
I (87001) wifi:Set ps type: 0, coexist: 0

I (87001) ota: Reporting in-progress: Downloading Firmware Image
I (87011) solo_ota_using_topics: {"ota_job_id":"404CCA57F03C","status":"in-progress","additional_info":"Downloading Firmware Image"}
I (87021) mqtt: Publishing to node/404CCA57F03C/ota/status
I (87031) main: Image 68% read
I (87051) main: Image 0% read
I (87051) main: Flush metrics
I (87051) mqtt: Publishing to node/404CCA57F03C/d
I (87201) chip: CPU load: 28%
I (87211) main: Image 1% read
I (87361) main: Image 2% read
I (87731) main: Image 3% read
I (87871) main: Image 4% read
I (88201) chip: CPU load: 48%
I (88831) main: Image 5% read
I (89191) main: Image 6% read
I (89211) chip: CPU load: 26%
I (89501) main: Image 7% read
I (90021) main: Image 8% read
I (90211) chip: CPU load: 30%
I (90591) main: Image 9% read
I (91211) chip: CPU load: 20%
I (91391) [vendor_ie]: esp_mesh_lite_wifi_scan_start return ESP_OK
I (92211) chip: CPU load: 11%
I (92351) main: Image 10% read
I (92351) main: Flush metrics
I (92351) mqtt: Publishing to node/404CCA57F03C/d
I (92451) [vendor_ie]: Mesh-Lite Scan done
I (92451) [vendor_ie]: now parent node   : bssid:1c:1b:b5:d2:d1:42, rssi:-54, level:0
I (92451) [vendor_ie]: update parent node: bssid:40:4c:ca:5e:6d:65, rssi:-62, level:2
W (92461) wifi:STA is scanning or connecting, or AP has connected with external STAs, cannot set channel

I (92471) [vendor_ie]: Got NODE_5e6d65
I (92471) [vendor_ie]: bssid: 40:4c:ca:5e:6d:65, level: 3
I (92481) [vendor_ie]: RTC store: temp_mesh_id:244; ssid:NODE_5e6d65; bssid:40:4c:ca:5e:6d:65; crc:1762914479
W (92491) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (92501) [vendor_ie]: wifi_cfg NODE_5e6d65 router_config SOLO_MESH
I (92501) wifi:state: run -> init (0x0)
I (92511) wifi:pm stop, total sleep time: 0 us / 16317766 us

I (92511) wifi:<ba-del>idx:0, tid:0
I (92521) wifi:new:<13,0>, old:<13,2>, ap:<13,2>, sta:<13,0>, prof:13, snd_ch_cfg:0x0
I (92521) [vendor_ie]: esp_mesh_lite_wifi_connect return ESP_OK
W (92531) bridge_wifi: Disconnected. Connecting to the AP again...
E (92541) [ESP_Mesh_Lite_Comm]: Disconnect reason : 8
I (92541) esp_diag_var_data_pt_write: ts: 1733490187217578, type: 1, index: 5, value type: 5, value len: 4, value[08000000]
I (92551) esp_diag_var_data_pt_write: ts: 1733490187229201, type: 1, index: 4, value type: 5, value len: 4, value[02000000]
E (92571) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 58
E (92581) mqtt_client: Poll read error: 119, aborting connection
E (92581) transport_base: poll_read select error 113, errno = Software caused connection abort, fd = 59
E (92591) HTTP_CLIENT: transport_read: error - 57347 | ERROR
W (92591) mqtt: MQTT Disconnected. Will try reconnecting in a while...
I (92611) app_solo: SOLO_MQTT_EVENT_DISCONNECTED.
E (92611) esp_https_ota: data read -1, errno 0
E (92621) app_ota: ESP_HTTPS_OTA upgrade failed ESP_FAIL
I (92621) ota: Reporting failed: OTA failed: Error ESP_FAIL
I (92631) solo_ota_using_topics: {"ota_job_id":"404CCA57F03C","status":"failed","additional_info":"OTA failed: Error ESP_FAIL"}
I (92641) mqtt: Publishing to node/404CCA57F03C/ota/status
E (92651) main: SOLO_OTA_EVENT_FAILED
E (92651) app_ota: Complete data was not received.
I (92661) wifi:Set ps type: 1, coexist: 0

I (92661) esp_image: segment 0: paddr=00020020 vaddr=42150020 size=4d498h (316568) map
I (92711) esp_image: segment 1: paddr=0006d4c0 vaddr=40800000 size=02b58h ( 11096)
I (92711) esp_image: segment 2: paddr=00070020 vaddr=42000020 size=146298h (1335960) map
I (92891) esp_image: segment 3: paddr=001b62c0 vaddr=40802b58 size=1fca4h (130212)
I (92911) esp_image: segment 4: paddr=001d5f6c vaddr=40822800 size=043d0h ( 17360)
E (92911) esp_image: Checksum failed. Calculated 0xc8 read 0x2e
E (92921) app_ota: Image validation failed, image is corrupted
I (92921) ota: Reporting failed: Image validation failed
I (92931) solo_ota_using_topics: {"ota_job_id":"404CCA57F03C","status":"failed","additional_info":"Image validation failed"}
I (92941) mqtt: Publishing to node/404CCA57F03C/ota/status
E (92951) main: SOLO_OTA_EVENT_FAILED
I (93061) heap_metrics: free:0x2749c lfb:0x21000 min_free_ever:0x22e10
W (93061) wifi:Haven't to connect to a suitable AP now!
I (93071) chip: Temperature value 27.00 C
I (93211) chip: CPU load: 64%
W (94051) wifi:Haven't to connect to a suitable AP now!
I (94211) chip: CPU load:  2%
I (94641) wifi:new:<13,2>, old:<13,0>, ap:<13,2>, sta:<13,0>, prof:13, snd_ch_cfg:0x0
I (94641) wifi:(connect)dot11_authmode:0x3, pairwise_cipher:0x3, group_cipher:0x3
I (94641) wifi:state: init -> auth (0xb0)
I (94651) wifi:state: auth -> assoc (0x0)
I (94701) wifi:state: assoc -> run (0x10)
I (94711) wifi:(trc)phytype:CBW20-SGI, snr:35, maxRate:144, highestRateIdx:0
W (94711) wifi:(trc)band:2G, phymode:3, highestRateIdx:0, lowestRateIdx:11, dataSchedTableSize:14
I (94711) wifi:(trc)band:2G, rate(L-MCS7, rateIdx:1), ampdu(rate:L-MCS7, schedIdx(1, stop:8)), snr:35, ampduState:wait operational
I (94721) wifi:ifidx:0, rssi:-62, nf:-97, phytype(0x3, CBW20-SGI), phymode(0x3, 11bgn), max_rate:144, he:0, vht:0, ht:1
I (94731) wifi:(ht)max.RxAMPDULenExponent:0(8191 bytes), MMSS:0(no restriction)
I (94751) wifi:connected with NODE_5e6d65, aid = 2, channel 13, BW20, bssid = 40:4c:ca:5e:6d:65
I (94751) wifi:security: WPA2-PSK, phy:11bgn, rssi:-62, cipher(pairwise:0x3, group:0x3), pmf:1,
I (94761) wifi:pm start, type: 1, twt_start:0

I (94761) wifi:pm start, type:1, aid:0x2, trans-BSSID:40:4c:ca:5e:6d:65, BSSID[5]:0x65, mbssid(max-indicator:0, index:0), he:0
I (94771) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (94781) wifi:set rx beacon pti, rx_bcn_pti: 10, bcn_timeout: 25000, mt_pti: 10, mt_time: 10000
I (94791) wifi:[ADDBA]TX addba request, tid:0, dialogtoken:7, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (94801) wifi:[ADDBA]TX addba request, tid:7, dialogtoken:8, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x20)
I (94811) wifi:[ADDBA]TX addba request, tid:5, dialogtoken:9, bufsize:64, A-MSDU:0(not supported), policy:1(IMR), ssn:0(0x0)
I (94821) wifi:dp: 2, bi: 102400, li: 4, scale listen interval from 307200 us to 409600 us
I (94831) wifi:AP's beacon interval = 102400 us, DTIM period = 2
I (94841) wifi:[ADDBA]RX addba response, status:0, tid:0/tb:1(0xa1), bufsize:6, batimeout:0, txa_wnd:6
I (94851) wifi:[ADDBA]RX addba response, status:1
I (94851) wifi:[ADDBA]RX addba response, status:1
I (94861) esp_diag_var_data_pt_write: ts: 1733490189531299, type: 1, index: 0, value type: 11, value len: 11, value[4e4f44455f356536643635]
I (94871) esp_diag_var_data_pt_write: ts: 1733490189543023, type: 1, index: 1, value type: 13, value len: 6, value[404cca5e6d65]
I (94881) esp_diag_var_data_pt_write: ts: 1733490189555230, type: 1, index: 3, value type: 2, value len: 1, value[03]
I (94891) wifi_metrics: Wi-Fi RSSI crossed threshold -62
I (95211) chip: CPU load: 51%
I (95861) esp_netif_handlers: sta ip: 192.168.4.3, mask: 255.255.255.0, gw: 192.168.4.1
W (95861) bridge_wifi: Connected with IP Address:192.168.4.3
I (95861) [vendor_ie]: RTC store: temp_mesh_id:3; ssid:NODE_5e6d65; bssid:40:4c:ca:5e:6d:65; crc:3933287312
W (95871) solo_mesh: Got IP, channels: [13,2], layer: 1, self mac: 40:4c:ca:57:f0:3c, parent bssid: 40:4c:ca:5e:6d:65, parent rssi: -62, free heap: 159916
I (95891) mqtt: Publishing to node/404CCA57F03C/d
W (95891) mqtt_client: Publish: Losing qos0 data when client not connected
E (95901) mqtt: MQTT Publish failed
I (95901) solo_param: Reporting params: {"mesh":{"level":1,"self_ip":["192.168.7.1","192.168.240.244"]}}
I (95911) mqtt: Publishing to node/404CCA57F03C/params/local
I (95921) solo_param: Reporting params: {"mesh":{"self_ip":["192.168.7.1","192.168.4.3"]}}
I (95931) mqtt: Publishing to node/404CCA57F03C/params/local
I (95931) esp_diag_var_data_pt_write: ts: 1733490190608499, type: 1, index: 12, value type: 12, value len: 4, value[c0a80403]
I (95951) esp_diag_var_data_pt_write: ts: 1733490190620273, type: 1, index: 13, value type: 12, value len: 4, value[ffffff00]
I (95961) esp_diag_var_data_pt_write: ts: 1733490190632197, type: 1, index: 14, value type: 12, value len: 4, value[c0a80401]
I (95971) esp_diag_var_data_pt_write: ts: 1733490190644360, type: 1, index: 6, value type: 2, value len: 1, value[07]
I (95981) esp_diag_var_data_pt_write: ts: 1733490190655469, type: 1, index: 7, value type: 2, value len: 1, value[01]
I (95991) esp_diag_var_data_pt_write: ts: 1733490190666780, type: 1, index: 8, value type: 2, value len: 1, value[01]
I (96001) esp_diag_var_data_pt_write: ts: 1733490190678182, type: 1, index: 10, value type: 2, value len: 1, value[07]
I (96011) esp_diag_var_data_pt_write: ts: 1733490190689387, type: 1, index: 11, value type: 2, value len: 1, value[02]
I (96031) Mesh-Lite: netif network segment conflict check
I (96031) solo_param: Reporting params: {"mesh":{"self_ip":["192.168.7.1","192.168.4.3"]}}
I (96041) mqtt: Publishing to node/404CCA57F03C/params/local
I (96051) mqtt: Publishing to node/404CCA57F03C/d
W (96051) mqtt_client: Publish: Losing qos0 data when client not connected
E (96061) mqtt: MQTT Publish failed
I (96071) mqtt: Publishing to node/404CCA57F03C/d
W (96071) mqtt_client: Publish: Losing qos0 data when client not connected
E (96081) mqtt: MQTT Publish failed
I (96081) mqtt: Publishing to node/404CCA57F03C/d
W (96091) mqtt_client: Publish: Losing qos0 data when client not connected
E (96091) mqtt: MQTT Publish failed
I (96101) esp_diag_var_data_pt_write: ts: 1733490190773987, type: 1, index: 15, value type: 6, value len: 4, value[06000000]
I (96111) mqtt: Publishing to node/404CCA57F03C/d
W (96121) mqtt_client: Publish: Losing qos0 data when client not connected
E (96121) mqtt: MQTT Publish failed
I (96131) esp_diag_var_data_pt_write: ts: 1733490190802950, type: 1, index: 15, value type: 6, value len: 4, value[08000000]
I (96141) mqtt: Publishing to node/404CCA57F03C/d
W (96151) mqtt_client: Publish: Losing qos0 data when client not connected
E (96151) mqtt: MQTT Publish failed
I (96161) esp_diag_var_data_pt_write: ts: 1733490190832069, type: 1, index: 15, value type: 6, value len: 4, value[0a000000]
I (96171) mqtt: Publishing to node/404CCA57F03C/d
W (96171) mqtt_client: Publish: Losing qos0 data when client not connected
E (96181) mqtt: MQTT Publish failed
I (96191) esp_diag_var_data_pt_write: ts: 1733490190860963, type: 1, index: 15, value type: 6, value len: 4, value[0c000000]
I (96201) mqtt: Publishing to node/404CCA57F03C/d
W (96201) mqtt_client: Publish: Losing qos0 data when client not connected
E (96211) mqtt: MQTT Publish failed
I (96221) esp_diag_var_data_pt_write: ts: 1733490190889909, type: 1, index: 15, value type: 6, value len: 4, value[0e000000]
I (96231) mqtt: Publishing to node/404CCA57F03C/d
W (96231) mqtt_client: Publish: Losing qos0 data when client not connected
E (96241) mqtt: MQTT Publish failed
I (96241) esp_diag_var_data_pt_write: ts: 1733490190918862, type: 1, index: 15, value type: 6, value len: 4, value[10000000]
I (96261) mqtt: Publishing to node/404CCA57F03C/d
W (96261) mqtt_client: Publish: Losing qos0 data when client not connected
E (96271) mqtt: MQTT Publish failed
I (96271) esp_diag_var_data_pt_write: ts: 1733490190948010, type: 1, index: 15, value type: 6, value len: 4, value[12000000]
I (96281) mqtt: Publishing to node/404CCA57F03C/d
W (96291) mqtt_client: Publish: Losing qos0 data when client not connected
E (96301) mqtt: MQTT Publish failed
I (96301) esp_diag_var_data_pt_write: ts: 1733490190976886, type: 1, index: 15, value type: 6, value len: 4, value[14000000]
I (96311) mqtt: Publishing to node/404CCA57F03C/d
W (96321) mqtt_client: Publish: Losing qos0 data when client not connected
E (96331) mqtt: MQTT Publish failed
I (96331) esp_diag_var_data_pt_write: ts: 1733490191005865, type: 1, index: 15, value type: 6, value len: 4, value[16000000]
I (96341) mqtt: Publishing to node/404CCA57F03C/d
W (96351) mqtt_client: Publish: Losing qos0 data when client not connected
E (96361) mqtt: MQTT Publish failed
I (96361) esp_diag_var_data_pt_write: ts: 1733490191034978, type: 1, index: 15, value type: 6, value len: 4, value[18000000]
I (96371) mqtt: Publishing to node/404CCA57F03C/d
W (96381) mqtt_client: Publish: Losing qos0 data when client not connected
E (96381) mqtt: MQTT Publish failed
I (96391) esp_diag_var_data_pt_write: ts: 1733490191063856, type: 1, index: 15, value type: 6, value len: 4, value[1a000000]
I (96401) mqtt: Publishing to node/404CCA57F03C/d
W (96411) mqtt_client: Publish: Losing qos0 data when client not connected
E (96411) mqtt: MQTT Publish failed
I (96421) esp_diag_var_data_pt_write: ts: 1733490191092805, type: 1, index: 15, value type: 6, value len: 4, value[1c000000]
I (96431) mqtt: Publishing to node/404CCA57F03C/d
W (96431) mqtt_client: Publish: Losing qos0 data when client not connected
E (96441) mqtt: MQTT Publish failed
I (96451) esp_diag_var_data_pt_write: ts: 1733490191121778, type: 1, index: 15, value type: 6, value len: 4, value[1e000000]
I (96461) mqtt: Publishing to node/404CCA57F03C/d
W (96461) mqtt_client: Publish: Losing qos0 data when client not connected
E (96471) mqtt: MQTT Publish failed
I (96481) esp_diag_var_data_pt_write: ts: 1733490191150768, type: 1, index: 15, value type: 6, value len: 4, value[20000000]
I (96491) mqtt: Publishing to node/404CCA57F03C/d
W (96491) mqtt_client: Publish: Losing qos0 data when client not connected
E (96501) mqtt: MQTT Publish failed
I (96511) esp_diag_var_data_pt_write: ts: 1733490191179928, type: 1, index: 15, value type: 6, value len: 4, value[22000000]
I (96521) mqtt: Publishing to node/404CCA57F03C/d
W (96521) mqtt_client: Publish: Losing qos0 data when client not connected
E (96531) mqtt: MQTT Publish failed
I (96531) esp_diag_var_data_pt_write: ts: 1733490191208803, type: 1, index: 15, value type: 6, value len: 4, value[24000000]
I (96541) [vendor_ie]: esp_mesh_lite_wifi_scan_start return ESP_OK
I (96551) Mesh-Lite: netif network segment conflict check
I (96561) solo_param: Reporting params: {"mesh":{"self_ip":["192.168.7.1","192.168.4.3"]}}
I (96571) mqtt: Publishing to node/404CCA57F03C/params/local
I (96571) mqtt: Publishing to node/404CCA57F03C/d
W (96581) mqtt_client: Publish: Losing qos0 data when client not connected
E (96591) mqtt: MQTT Publish failed
I (96591) esp_diag_var_data_pt_write: ts: 1733490191266406, type: 1, index: 15, value type: 6, value len: 4, value[26000000]
I (96601) mqtt: Publishing to node/404CCA57F03C/d
W (96611) mqtt_client: Publish: Losing qos0 data when client not connected
E (96621) mqtt: MQTT Publish failed
I (96621) esp_diag_var_data_pt_write: ts: 1733490191295175, type: 1, index: 15, value type: 6, value len: 4, value[28000000]
I (96631) mqtt: Publishing to node/404CCA57F03C/d
W (96641) mqtt_client: Publish: Losing qos0 data when client not connected
E (96641) mqtt: MQTT Publish failed
I (96651) esp_diag_var_data_pt_write: ts: 1733490191324127, type: 1, index: 15, value type: 6, value len: 4, value[2a000000]
I (96661) [vendor_ie]: Mesh-Lite Scan done
I (96671) [vendor_ie]: now parent node   : bssid:40:4c:ca:5e:6d:65, rssi:-61, level:2
I (96671) [vendor_ie]: update parent node: bssid:54:32:04:0c:21:01, rssi:-44, level:2
W (96681) wifi:STA is scanning or connecting, or AP has connected with external STAs, cannot set channel

I (96691) mqtt: Publishing to node/404CCA57F03C/d
W (96701) mqtt_client: Publish: Losing qos0 data when client not connected
E (96711) mqtt: MQTT Publish failed
I (96711) mqtt: Publishing to node/404CCA57F03C/d
W (96711) mqtt_client: Publish: Losing qos0 data when client not connected
E (96721) mqtt: MQTT Publish failed
I (96731) mqtt: Publishing to node/404CCA57F03C/d
W (96731) mqtt_client: Publish: Losing qos0 data when client not connected
E (96741) mqtt: MQTT Publish failed
I (96741) mqtt: Publishing to node/404CCA57F03C/d
W (96751) mqtt_client: Publish: Losing qos0 data when client not connected
E (96761) mqtt: MQTT Publish failed
I (96761) mqtt: Publishing to node/404CCA57F03C/d
W (96771) mqtt_client: Publish: Losing qos0 data when client not connected
E (96771) mqtt: MQTT Publish failed
I (96781) mqtt: Publishing to node/404CCA57F03C/d
W (96781) mqtt_client: Publish: Losing qos0 data when client not connected
E (96791) mqtt: MQTT Publish failed
I (96801) mqtt: Publishing to node/404CCA57F03C/d
W (96801) mqtt_client: Publish: Losing qos0 data when client not connected
E (96811) mqtt: MQTT Publish failed
I (96811) mqtt: Publishing to node/404CCA57F03C/d
W (96821) mqtt_client: Publish: Losing qos0 data when client not connected
E (96821) mqtt: MQTT Publish failed
I (96831) mqtt: Publishing to node/404CCA57F03C/d
W (96831) mqtt_client: Publish: Losing qos0 data when client not connected
E (96841) mqtt: MQTT Publish failed
I (96851) mqtt: Publishing to node/404CCA57F03C/d
W (96851) mqtt_client: Publish: Losing qos0 data when client not connected
E (96861) mqtt: MQTT Publish failed
I (96861) mqtt: Publishing to node/404CCA57F03C/d
W (96871) mqtt_client: Publish: Losing qos0 data when client not connected
E (96881) mqtt: MQTT Publish failed
I (96881) mqtt: Publishing to node/404CCA57F03C/d
W (96891) mqtt_client: Publish: Losing qos0 data when client not connected
E (96891) mqtt: MQTT Publish failed
I (96901) mqtt: Publishing to node/404CCA57F03C/d
W (96901) mqtt_client: Publish: Losing qos0 data when client not connected
E (96911) mqtt: MQTT Publish failed
I (96921) mqtt: Publishing to node/404CCA57F03C/d
W (96921) mqtt_client: Publish: Losing qos0 data when client not connected
E (96931) mqtt: MQTT Publish failed
I (96931) mqtt: Publishing to node/404CCA57F03C/d
W (96941) mqtt_client: Publish: Losing qos0 data when client not connected
E (96941) mqtt: MQTT Publish failed
I (96951) mqtt: Publishing to node/404CCA57F03C/d
W (96951) mqtt_client: Publish: Losing qos0 data when client not connected
E (96961) mqtt: MQTT Publish failed
I (96971) mqtt: Publishing to node/404CCA57F03C/d
W (96971) mqtt_client: Publish: Losing qos0 data when client not connected
E (96981) mqtt: MQTT Publish failed
I (96981) mqtt: Publishing to node/404CCA57F03C/d
W (96991) mqtt_client: Publish: Losing qos0 data when client not connected
E (97001) mqtt: MQTT Publish failed
I (97001) mqtt: Publishing to node/404CCA57F03C/d
W (97011) mqtt_client: Publish: Losing qos0 data when client not connected
E (97011) mqtt: MQTT Publish failed
I (97021) mqtt: Publishing to node/404CCA57F03C/d
W (97021) mqtt_client: Publish: Losing qos0 data when client not connected
E (97031) mqtt: MQTT Publish failed
I (97031) mqtt: Publishing to node/404CCA57F03C/d
W (97041) mqtt_client: Publish: Losing qos0 data when client not connected
E (97051) mqtt: MQTT Publish failed
I (97051) mqtt: Publishing to node/404CCA57F03C/d
W (97061) mqtt_client: Publish: Losing qos0 data when client not connected
E (97061) mqtt: MQTT Publish failed
I (97071) mqtt: Publishing to node/404CCA57F03C/d
W (97071) mqtt_client: Publish: Losing qos0 data when client not connected
E (97081) mqtt: MQTT Publish failed
I (97091) mqtt: Publishing to node/404CCA57F03C/d
W (97091) mqtt_client: Publish: Losing qos0 data when client not connected
E (97101) mqtt: MQTT Publish failed
I (97101) [vendor_ie]: Got NODE_0c2101
I (97111) [vendor_ie]: bssid: 54:32:04:0c:21:01, level: 3
I (97111) [vendor_ie]: RTC store: temp_mesh_id:207; ssid:NODE_0c2101; bssid:54:32:04:0c:21:01; crc:415732418
W (97121) wifi:Password length matches WPA2 standards, authmode threshold changes from OPEN to WPA2
I (97131) [vendor_ie]: wifi_cfg NODE_0c2101 router_config SOLO_MESH
I (97141) wifi:state: run -> init (0x0)
I (97141) wifi:pm stop, total sleep time: 0 us / 2369474 us

I (97151) wifi:new:<13,0>, old:<13,2>, ap:<13,2>, sta:<13,0>, prof:13, snd_ch_cfg:0x0
I (97161) chip: CPU load: 67%
I (98161) chip: CPU load:  0%
I (99161) chip: CPU load:  1%
E (112631) esp-tls: [sock=58] select() timeout
E (112631) transport_base: Failed to open a new connection: 32774
E (112631) mqtt_client: Error transport connect
E (112631) mqtt: MQTT_EVENT_ERROR
W (112641) mqtt: MQTT Disconnected. Will try reconnecting in a while...
I (113161) chip: CPU load:  2%
I (114161) chip: CPU load:  0%
I (116161) chip: CPU load:  1%
I (117161) chip: CPU load:  0%
I (119161) chip: CPU load:  1%
I (120161) chip: CPU load:  0%
I (122161) chip: CPU load:  1%
I (123161) chip: CPU load:  0%
I (125161) chip: CPU load:  1%
I (126161) chip: CPU load:  0%
I (128161) chip: CPU load:  1%
I (129161) chip: CPU load:  0%
I (131161) chip: CPU load:  1%
I (132161) chip: CPU load:  0%
I (134161) chip: CPU load:  1%
I (135161) chip: CPU load:  0%
I (137161) chip: CPU load:  1%
I (138161) chip: CPU load:  0%
I (140161) chip: CPU load:  1%
I (141161) chip: CPU load:  0%
I (143161) chip: CPU load:  1%
I (144161) chip: CPU load:  0%
I (146161) chip: CPU load:  1%
I (147161) chip: CPU load:  0%
I (149161) chip: CPU load:  1%
I (150161) chip: CPU load:  0%
I (152161) chip: CPU load:  1%
I (153161) chip: CPU load:  0%
I (155161) chip: CPU load:  1%
I (156161) chip: CPU load:  0%
I (158161) chip: CPU load:  1%
I (159161) chip: CPU load:  0%
I (161161) chip: CPU load:  1%
I (162161) chip: CPU load:  0%
I (164161) chip: CPU load:  1%
I (165161) chip: CPU load:  0%
I (167161) chip: CPU load:  1%
I (168161) chip: CPU load:  0%
I (170161) chip: CPU load:  1%
I (171161) chip: CPU load:  0%
I (173161) chip: CPU load:  1%
I (174161) chip: CPU load:  0%
I (176161) chip: CPU load:  1%
I (177161) chip: CPU load:  0%
I (179161) chip: CPU load:  1%
I (180161) chip: CPU load:  0%
I (182161) chip: CPU load:  1%
I (183161) chip: CPU load:  0%
I (185161) chip: CPU load:  1%
I (186161) chip: CPU load:  0%
I (188161) chip: CPU load:  1%
I (189161) chip: CPU load:  0%
I (191161) chip: CPU load:  1%
I (192161) chip: CPU load:  0%
I (194161) chip: CPU load:  1%
I (195161) chip: CPU load:  0%
I (197161) chip: CPU load:  1%
I (198161) chip: CPU load:  0%
I (200161) chip: CPU load:  1%
I (201161) chip: CPU load:  0%
I (203161) chip: CPU load:  1%
I (204161) chip: CPU load:  0%
I (206161) chip: CPU load:  1%
I (207161) chip: CPU load:  0%
I (209161) chip: CPU load:  1%
I (210161) chip: CPU load:  0%
I (212161) chip: CPU load:  1%
I (213161) chip: CPU load:  0%
I (215161) chip: CPU load:  1%
I (216161) chip: CPU load:  0%
I (218161) chip: CPU load:  1%
I (219161) chip: CPU load:  0%
I (221161) chip: CPU load:  1%
I (222161) chip: CPU load:  0%
I (224161) chip: CPU load:  1%
I (225161) chip: CPU load:  0%
I (227161) chip: CPU load:  1%
I (228161) chip: CPU load:  0%
I (230161) chip: CPU load:  1%
I (231161) chip: CPU load:  0%
I (233161) chip: CPU load:  1%
I (234161) chip: CPU load:  0%
I (236161) chip: CPU load:  1%
I (237161) chip: CPU load:  0%
I (239161) chip: CPU load:  1%
I (240161) chip: CPU load:  0%
I (242161) chip: CPU load:  1%
I (243161) chip: CPU load:  0%
I (245161) chip: CPU load:  1%
I (246161) chip: CPU load:  0%
I (248161) chip: CPU load:  1%
I (249161) chip: CPU load:  0%
I (251161) chip: CPU load:  1%
I (252161) chip: CPU load:  0%
I (254161) chip: CPU load:  1%
I (255161) chip: CPU load:  0%
I (257161) chip: CPU load:  1%
I (258161) chip: CPU load:  0%
I (260161) chip: CPU load:  1%
I (261161) chip: CPU load:  0%
I (263161) chip: CPU load:  1%
I (264161) chip: CPU load:  0%
I (266161) chip: CPU load:  1%
I (267161) chip: CPU load:  0%
I (269161) chip: CPU load:  1%
W (269161) chip: Failed to add CPU metric key:CPU
I (270161) chip: CPU load:  0%
W (270161) chip: Failed to add CPU metric key:CPU
I (272161) chip: CPU load:  1%
W (272161) chip: Failed to add CPU metric key:CPU
I (273161) chip: CPU load:  0%
W (273161) chip: Failed to add CPU metric key:CPU
I (275161) chip: CPU load:  1%
W (275161) chip: Failed to add CPU metric key:CPU
I (276161) chip: CPU load:  0%
W (276161) chip: Failed to add CPU metric key:CPU
I (278161) chip: CPU load:  1%
W (278161) chip: Failed to add CPU metric key:CPU
I (279161) chip: CPU load:  0%
W (279161) chip: Failed to add CPU metric key:CPU
I (281161) chip: CPU load:  1%
W (281161) chip: Failed to add CPU metric key:CPU
I (282161) chip: CPU load:  0%
W (282161) chip: Failed to add CPU metric key:CPU
I (284161) chip: CPU load:  1%
W (284161) chip: Failed to add CPU metric key:CPU
I (285161) chip: CPU load:  0%
W (285161) chip: Failed to add CPU metric key:CPU
I (287161) chip: CPU load:  1%
W (287161) chip: Failed to add CPU metric key:CPU
I (288161) chip: CPU load:  0%
W (288161) chip: Failed to add CPU metric key:CPU
I (290161) chip: CPU load:  1%
W (290161) chip: Failed to add CPU metric key:CPU
I (291161) chip: CPU load:  0%
W (291161) chip: Failed to add CPU metric key:CPU
I (293161) chip: CPU load:  1%
W (293161) chip: Failed to add CPU metric key:CPU
I (294161) chip: CPU load:  0%
W (294161) chip: Failed to add CPU metric key:CPU
I (296161) chip: CPU load:  1%
W (296161) chip: Failed to add CPU metric key:CPU
I (297161) chip: CPU load:  0%
W (297161) chip: Failed to add CPU metric key:CPU
I (299161) chip: CPU load:  1%
W (299161) chip: Failed to add CPU metric key:CPU
I (300161) chip: CPU load:  0%
W (300161) chip: Failed to add CPU metric key:CPU
I (302161) chip: CPU load:  1%
W (302161) chip: Failed to add CPU metric key:CPU
I (303161) chip: CPU load:  0%
W (303161) chip: Failed to add CPU metric key:CPU
I (305161) chip: CPU load:  1%
W (305161) chip: Failed to add CPU metric key:CPU
I (306161) chip: CPU load:  0%
W (306161) chip: Failed to add CPU metric key:CPU
I (308161) chip: CPU load:  1%
W (308161) chip: Failed to add CPU metric key:CPU
I (309161) chip: CPU load:  0%
W (309161) chip: Failed to add CPU metric key:CPU
I (311161) chip: CPU load:  1%
W (311161) chip: Failed to add CPU metric key:CPU
I (312161) chip: CPU load:  0%
W (312161) chip: Failed to add CPU metric key:CPU
I (314161) chip: CPU load:  1%
W (314161) chip: Failed to add CPU metric key:CPU
I (315161) chip: CPU load:  0%
W (315161) chip: Failed to add CPU metric key:CPU
I (317161) chip: CPU load:  1%
W (317161) chip: Failed to add CPU metric key:CPU
I (318161) chip: CPU load:  0%
W (318161) chip: Failed to add CPU metric key:CPU
I (320161) chip: CPU load:  1%
W (320161) chip: Failed to add CPU metric key:CPU
I (321161) chip: CPU load:  0%
W (321161) chip: Failed to add CPU metric key:CPU
I (323161) chip: CPU load:  1%
W (323161) chip: Failed to add CPU metric key:CPU
I (324161) chip: CPU load:  0%
W (324161) chip: Failed to add CPU metric key:CPU
I (326161) chip: CPU load:  1%
W (326161) chip: Failed to add CPU metric key:CPU
I (327161) chip: CPU load:  0%
W (327161) chip: Failed to add CPU metric key:CPU
I (329161) chip: CPU load:  1%
W (329161) chip: Failed to add CPU metric key:CPU
I (330161) chip: CPU load:  0%
W (330161) chip: Failed to add CPU metric key:CPU
I (332161) chip: CPU load:  1%
W (332161) chip: Failed to add CPU metric key:CPU
I (333161) chip: CPU load:  0%
W (333161) chip: Failed to add CPU metric key:CPU
I (335161) chip: CPU load:  1%
W (335161) chip: Failed to add CPU metric key:CPU
I (336161) chip: CPU load:  0%
W (336161) chip: Failed to add CPU metric key:CPU
I (338161) chip: CPU load:  1%
W (338161) chip: Failed to add CPU metric key:CP

Steps to reproduce the behavior

Sometimes this happens when I update nodes (11) from OTA.

Project release version

IDF 5.3.2

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Windows

Operating system version

Windows 11

Shell

ZSH

Additional context

No response

@github-actions github-actions bot changed the title Afte parent node end OTA? child node not connect to MESH Afte parent node end OTA? child node not connect to MESH (AEGHB-908) Dec 6, 2024
@ruslanslobozhenuk ruslanslobozhenuk changed the title Afte parent node end OTA? child node not connect to MESH (AEGHB-908) Afte parent node end OTA, child node not connect to MESH (AEGHB-908) Dec 6, 2024
@tswen
Copy link
Contributor

tswen commented Dec 23, 2024

Please test with the new version to check if the issue still exists. Additionally, the application layer can take some measures, such as calling esp_mesh_lite_connect() if MQTT fails to connect several times consecutively and the current station is not connected to the parent node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants