fdcavalcanti commented on issue #17828: URL: https://github.com/apache/nuttx/issues/17828#issuecomment-3744427424
I was able to see the same output on `12.12.0` and confirmed with Wireshark. Also @eren-terzioglu noticed this issue is only happening on ESP32, other Espressif devices are fine. It is possible to also replicate using `wget`: ``` nsh> wget -o /data/nuttx.bin http://192.168.0.125:8000/nuttx.bin ``` You can see window size is 0. At this point the OS is stuck. ``` 3404 51.776035843 0.055020719 192.168.0.125 192.168.0.85 TCP 678 [TCP Window Full] 8000 → 24253 [PSH, ACK] Seq=809014 Ack=101 Win=64140 Len=624 [TCP segment of a reassembled PDU] 3408 52.017006407 0.018010319 192.168.0.125 192.168.0.85 TCP 678 [TCP Window Full] [TCP Retransmission] 8000 → 24253 [PSH, ACK] Seq=809014 Ack=101 Win=64140 Len=624 [TCP segment of a reassembled PDU] 3409 52.023658539 0.006652132 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 3412 52.496110072 0.291869522 192.168.0.125 192.168.0.85 TCP 54 [TCP Keep-Alive] 8000 → 24253 [ACK] Seq=809637 Ack=101 Win=64140 Len=0 3415 52.530408329 0.009927336 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 3482 54.440016412 0.034209512 192.168.0.125 192.168.0.85 TCP 54 [TCP Keep-Alive] 8000 → 24253 [ACK] Seq=809637 Ack=101 Win=64140 Len=0 3485 54.509585238 0.003180028 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 3586 58.280014729 0.028881903 192.168.0.125 192.168.0.85 TCP 54 [TCP Keep-Alive] 8000 → 24253 [ACK] Seq=809637 Ack=101 Win=64140 Len=0 3587 58.283975718 0.003960989 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 3738 65.960035587 0.165605472 192.168.0.125 192.168.0.85 TCP 54 [TCP Keep-Alive] 8000 → 24253 [ACK] Seq=809637 Ack=101 Win=64140 Len=0 3739 65.966643525 0.006607938 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 4147 81.320031168 0.451837352 192.168.0.125 192.168.0.85 TCP 54 [TCP Keep-Alive] 8000 → 24253 [ACK] Seq=809637 Ack=101 Win=64140 Len=0 4148 81.344674786 0.024643618 192.168.0.85 192.168.0.125 TCP 60 [TCP ZeroWindow] 24253 → 8000 [ACK] Seq=101 Ack=809638 Win=0 Len=0 ``` It stops right after a few packets due to TCP Window Full. This means the network driver is somehow not offloading the packets properly. Looking into it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
