idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Postby brazoayeye » Thu May 14, 2020 1:57 pm

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
Last edited by brazoayeye on Thu Jun 11, 2020 7:40 am, edited 2 times in total.

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Postby brazoayeye » Thu Jun 11, 2020 7:38 am

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

A01TECH
Posts: 1
Joined: Wed Nov 22, 2023 1:16 pm

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Postby A01TECH » Wed Nov 22, 2023 1:39 pm

Hi, did you solved this problem? If yes, how did you do it?

brazoayeye
Posts: 41
Joined: Sun May 03, 2020 2:37 pm

Re: idf 3.0.9 WIFI_REASON_4WAY_HANDSHAKE_TIMEOUT on good APs

Postby brazoayeye » Thu Nov 23, 2023 7:23 am

Nope, only a workaround (when fails i try also other aps with same SSID fixing the MAC in the config)

Who is online

Users browsing this forum: No registered users and 63 guests