[GH-ISSUE #1257] setConnectTimeout not work #1077

Closed
opened 2026-02-28 01:28:25 +03:00 by kerem · 3 comments
Owner

Originally created by @coder-free on GitHub (Jun 7, 2021).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1257

version 2.0.3 alpha

I set the connect timeout:

wifiManager.setConnectTimeout(180);

but the log is:

18:06:27.357 -> *WM: [2] 180000 ms connectTimeout set
18:06:27.390 -> *WM: [2] 48928 ms timeout, waiting for connect...

And it is actually delayed by 48928 milliseconds.
I don't know what happend.

Originally created by @coder-free on GitHub (Jun 7, 2021). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1257 version 2.0.3 alpha I set the connect timeout: ``` wifiManager.setConnectTimeout(180); ``` but the log is: ``` 18:06:27.357 -> *WM: [2] 180000 ms connectTimeout set 18:06:27.390 -> *WM: [2] 48928 ms timeout, waiting for connect... ``` And it is actually delayed by 48928 milliseconds. I don't know what happend.
kerem 2026-02-28 01:28:25 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@coder-free commented on GitHub (Jun 7, 2021):

got it:

    uint8_t       waitForConnectResult();
    uint8_t       waitForConnectResult(uint16_t timeout);

uint16_t max is 65535.

<!-- gh-comment-id:855804848 --> @coder-free commented on GitHub (Jun 7, 2021): got it: ``` uint8_t waitForConnectResult(); uint8_t waitForConnectResult(uint16_t timeout); ``` uint16_t max is 65535.
Author
Owner

@tablatronix commented on GitHub (Jun 12, 2021):

I thought i fixed that

<!-- gh-comment-id:859975048 --> @tablatronix commented on GitHub (Jun 12, 2021): I thought i fixed that
Author
Owner

@tablatronix commented on GitHub (Jun 12, 2021):

Yeah its fixed in master, Ill cut a beta soon

<!-- gh-comment-id:860067481 --> @tablatronix commented on GitHub (Jun 12, 2021): Yeah its fixed in master, Ill cut a beta soon
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#1077
No description provided.