espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
447 stars 151 forks source link

New version of Rainmaker not working (MEGH-5906) #327

Closed fmb787 closed 1 week ago

fmb787 commented 3 weeks ago

Answers checklist.

General issue report

Hello,

iam facing issue when i updated ESP Rainmaker app on IOS from V3.2.0 to V3.2.1 , app now stuck in "confirming Node association" and receive error below , device not added to app but the esp32 appears to be already connected to wifi . it was working fine with V3.2.0 also there is no issue with (Android app ) only in IOS .

Captuddre

here is a brief of my setup

below is serial Monitor log

21:19:02.527 -> [  6331][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:19:02.571 -> [  6346][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:19:02.571 -> [  6353][I][WiFiProv.cpp:143] beginProvision(): Starting AP using BLE. service_name : PROV_1234, pop : abcd1234
21:19:03.021 -> 
21:19:03.021 -> Provisioning Started with name "PROV_1234" and PoP "abcd1234" on BLE
21:19:03.068 -> Scan this QR code from the ESP RainMaker phone app.

21:19:03.199 ->   █ ▀▀▀ █ ▄▄▀▀▄ ▄▀  █▀█▀▀███▄▀█ █▄█   
21:19:03.199 ->   ▀▀▀▀▀▀▀ ▀▀▀ ▀▀▀▀▀▀ ▀  ▀▀▀▀▀▀▀       

21:19:03.239 -> If QR code is not visible, copy paste the below URL in a browser.
21:19:03.239 -> https://rainmaker.espressif.com/qrcode.html?data={"ver":"v1","name":"PROV_1234","pop":"abcd1234","transport":"ble"}
21:19:40.145 -> E (52540) esp_rmaker_core: Node connected to Wi-Fi without Assisted claiming. Cannot proceed to MQTT connection.
21:19:40.203 -> E (52540) esp_rmaker_core: Please update your phone apps and repeat Wi-Fi provisioning with BLE transport.
21:19:51.253 -> E (63647) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259

and after i restart the ESP32

21:33:22.094 -> [   112][I][RMaker.cpp:17] event_handler(): RainMaker Initialized.
21:33:22.139 -> [   126][I][RMaker.cpp:18] event_handler(): RainMaker Claim Started.
21:33:22.139 -> [   133][I][WiFiProv.cpp:159] beginProvision(): Already Provisioned
21:33:22.139 -> [   139][I][WiFiProv.cpp:163] beginProvision(): Attempting connect to AP: xxxxxxx
21:33:22.139 -> 
21:33:22.233 -> E (220) wifi_prov_scheme_ble: bt_mem_release of BTDM failed 259
21:33:23.245 -> [  1224][E][STA.cpp:302] begin(): NETIF_STARTED_BIT not set! try to connect anyway...

Could someone please advise how to correct this, and whether the issue from the app or not .

. .

thanks alot

.

fmb787 commented 3 weeks ago

i'll be happy for any suggestion

vikramdattu commented 3 weeks ago

Hi @fmb787 couple of questions:

fmb787 commented 3 weeks ago

Hello @vikramdattu thanks for your reply ,

fmb787 commented 3 weeks ago

is there any workaround way ! i can use/fix then will build app by myself .

vikramdattu commented 3 weeks ago

Hi @fmb787 we are able to reproduce the issue and are looking into this.

thadius83 commented 1 week ago

Hello @vikramdattu thanks for your reply ,

  • yes i tried with Android App and it's working fine ( i mentioned this in my description)
  • yes i have perform a factory reset (10seconds) and WiFi reset (3seconds) with same issue .

Just ran into the same issue here. Same details.

AhmedShaalan commented 1 week ago

Same Exact error for me as well. with the led_ight and switch example. I just built it, flashed it and it didn't work.

CleanShot 2024-09-04 at 02 06 00@2x CleanShot 2024-09-04 at 02 06 11@2x

shahpiyushv commented 1 week ago

iOS app with fix for assisted claiming is now available on the app store (v3.2.2)