Ask Your Question

Revision history [back]

Reason for sudden loss of packets

I have been hitting my head on this problem for the past few days.

I have 2 devices, (an ESP32 with the LWIP network stack via wifi, and windows 10 pro via ethernet) that are connected to a network. The ESP32 sets up a TCP server and the windows machine connects to it. This communication goes well for a long time, but at some point the windows machine stops acknowledging the incoming packets.

The capture was done on the Windows 10 machine. 192.168.4.42 belongs to the ESP and 192.168.4.245 is the windows 10 PC.

What could be the reason for this behavior? Is there something in this trace that shows the reason why the PC stops responding?

I tried to disable the windows firewall but this did not solve the problem. If the ESP does not receive a message from the PC after a certain time it will terminate the connection. You can see this happening in the trace. Increasing this time only postponed the disconnect.

Screenshot of the problem

Wireshark Capture

Reason for sudden loss of packets

I have been hitting my head on this problem for the past few days.

I have 2 devices, (an ESP32 with the LWIP network stack via wifi, and windows 10 pro via ethernet) that are connected to a network. The ESP32 sets up a TCP server and the windows machine connects to it. This communication goes well for a long time, but at some point the windows machine stops acknowledging the incoming packets.

The capture was done on the Windows 10 machine. 192.168.4.42 belongs to the ESP and 192.168.4.245 is the windows 10 PC.

What could be the reason for this behavior? Is there something in this trace that shows the reason why the PC stops responding?

I tried to disable the windows firewall but this did not solve the problem. If the ESP does not receive a message from the PC after a certain time it will terminate the connection. You can see this happening in the trace. Increasing this time only postponed the disconnect.

Screenshot of the problem

Wireshark Capture