Page 1 of 1

idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Posted: Thu May 14, 2020 1:57 pm
by brazoayeye
Hello, i have a software running on a esp-idf3.0.9 where the sta connection to an AP fails due to the short timeout (probably).

If i try many times to connect, sometimes it works. If I connect to a faster AP the code works.

Most of time I try to connect to a slow AP i have the event
SYSTEM_EVENT_STA_DISCONNECTED with disconnected.reason = WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT.

Is there a way to increase the timeout time for the handshake?

Thanks

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Posted: Thu Jun 11, 2020 7:38 am
by brazoayeye
I'm still having the same problem, that could be caused by another fact. I have multiple aps with the same SSID, and a master device that can register wifi clients in one or another ap, or move from one to another.

Is there something I can check (or I can do) to solve this bug?

PS: I tested also with version 4.2 with the same results: sometimes it connects, sometimes it doesn't (in some positions with a defined distance between AP always works).

Thanks

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Posted: Wed Nov 22, 2023 1:39 pm
by A01TECH
Hi, did you solved this problem? If yes, how did you do it?

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Posted: Thu Nov 23, 2023 7:23 am
by brazoayeye
Nope, only a workaround (when fails i try also other aps with same SSID fixing the MAC in the config)