espressif / esp-rainmaker

ESP RainMaker Agent for firmware development
Apache License 2.0
433 stars 146 forks source link

local controll - security1: Invalid state of session 0 (expected 2). Restarting session. (MEGH-3533) #129

Closed jacek12345 closed 1 year ago

jacek12345 commented 2 years ago

Every sliding down on the phone app screen makes this: W (22314) security1: Invalid state of session 0 (expected 2). Restarting session. E (22314) security1: Closing old session with id 2954182840 Is it correct behaviour? This is only when phone is connected to wifi (local controll). There is not issue when connected throw LTE . Using "switch" example on ESP32-C3, ESP-IDF 4.4.1

shahpiyushv commented 2 years ago

@jacek12345 , there is indeed some issue with the local control logic which throws this error, but eventually the session gets re-established and data is sent successfully on local network? Does your observation match this? Are you missing some commands OR getting them via cloud instead of the local network?

jacek12345 commented 2 years ago

@jacek12345 , there is indeed some issue with the local control logic which throws this error, but eventually the session gets re-established and data is sent successfully on local network? Does your observation match this? Are you missing some commands OR getting them via cloud instead of the local network?

It looks like re-established and working.

jacek12345 commented 2 years ago

sorry i closed by misclick