WiFi reconnecting not possible

Marius28
Posts: 15
Joined: Sat Oct 28, 2023 4:23 pm

WiFi reconnecting not possible

Postby Marius28 » Fri Dec 22, 2023 5:59 pm

Hello,

i have some trouble with my ESP32-C6 as WiFi access point. When i plug in the ESP board and start the WiFi access point the first connection from PC or smartphone works well. But if i disconnect and try to reconnect it fails always until i restart the whole ESP.

1.) Sometimes i get these messages in the ESP console when the failure occurs

Code: Select all

W (1714083) httpd_txrx: httpd_sock_err: error in send : 11
D (1714083) httpd_txrx: httpd_send_all: error in send_fn
2.) The normal ping via command line is always possible but the telnet to 192.168.4.1 port 80, where the http server should run is not possible after reconnecting to the ESP... so there is any connection (i think so, because otherwise the ping would fail) but the http server seems to be unreachable.

3.) I have done some checks via wireshark, the message which occurs every time when the failure occur when trying to connect via telnet to 192.168.4.1 port 80 is "[TCP Retransmission] 53244 -> 80 [SYN] Seq=0 Win=64240 Len=0 MSS=1460 WS=256 SACK_PERM".

Image


Hope anybody can help me with these erros...

Marius28
Posts: 15
Joined: Sat Oct 28, 2023 4:23 pm

Re: WiFi reconnecting not possible

Postby Marius28 » Thu Dec 28, 2023 1:20 pm

It seems to be working with

Code: Select all

keep_alive = enabled

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot] and 428 guests