TCP Connection Open but Data Stalls: Diagnose a Zero Receive Window
A monitoring connection remains established, yet new records stop reaching the application. A packet trace shows a zero receive window. That evidence points to transport flow control, not automatically to a failed cable or a rejected application command. The next step is to identify which receiver closed its window and whether the application is making progress.

An open connection and a usable data path are different acceptance results. Record the advertised window and the direction of the stalled transfer.
1. Follow the receiver, not the alarm label
A TCP receive window tells the sender how much data the receiver is currently prepared to accept within the protocol's flow-control rules. A zero advertisement can prevent further new data even though the connection remains open. The receiver for one direction is the sender for the other, so retain endpoint addresses and traffic direction in the diagnostic record.
When discussing networking and gateway solutions, specify the workload, expected record rate and required evidence of stalled progress. Ask which diagnostics the proposed hardware and software versions expose. Do not assume a product category establishes buffering capacity or a supported recovery action.
RFC 9293 describes zero-window probing so that a later window reopening can be reported reliably. A responding peer can keep a connection open while its offered receive window remains closed, subject to implementation resource management. Probe acknowledgements therefore need different interpretation from successful delivery of the application's next record.
2. Capture a bounded, authorised observation
Record both endpoints, the application role at each end and the direction that stopped progressing.
Preserve the first zero-window advertisement and subsequent relevant acknowledgements or probes.
Correlate them with supported receiver diagnostics and application processing timestamps.
Record whether the receiver later advertises capacity and whether pending records then arrive.
Compare the result with the agreed stall deadline, data-retention policy and escalation process.
Use approved capture points and sanitise payloads before sharing them. Do not flood the receiver with extra traffic, disable flow control or restart live equipment as a generic test. The observed condition may have several causes; a packet label alone does not identify a memory leak, a specific software defect or an inadequate processor.

3. Worked example: acknowledgement without progress
Imagine a hypothetical gateway sending measurement batches to a receiving service. During an isolated load test, the service advertises a zero window. The gateway's connection remains established and probe traffic receives acknowledgements, but the receiving application has not recorded the next batch.
The test should report transport responsiveness and application progress separately. Keep the pending batch identifiers and the last confirmed application outcome. An acknowledgement at the TCP layer is not the same as an application committing a batch or making it available for a report.
If capacity is later advertised and records resume, reconcile the pending data against the receiving application's accepted records. If progress remains unresolved beyond the project's agreed deadline, follow the documented escalation. Avoid blindly replaying the whole batch: the record of what was already accepted must guide recovery.
4. Keep the troubleshooting table specific
Observation | Evidence to retain |
Zero receive window | Advertising endpoint and affected direction |
Probe acknowledged | Peer responsiveness; window still needs checking |
Window reopens | Subsequent transfer and application progress |
Application deadline expires | Pending records and unresolved outcome |
The Modbus TCP message-assembly guide covers a different transport boundary: a stream may deliver one application message in several portions. Keep flow control, message assembly and application completion as separate acceptance checks.
Does a zero window prove packet loss?
No. It is flow-control evidence. Examine loss, retransmissions and receiver behaviour separately rather than treating every stalled connection as the same network fault.
Should a connection timeout always be extended?
No universal extension resolves a receiver that is not making useful progress. Agree the operational deadline and recovery behaviour from the application requirement and supported implementation.
5. Recommended related solutions
Use the networking page to define visibility at the transport boundary. Use industrial automation and control planning to specify the application result, pending-data ownership and safe recovery responsibilities. Confirm any required buffering or retry behaviour for the selected equipment.
For a project review, provide the redacted trace, endpoint roles, firmware and application versions, expected record rate and last confirmed processing result. Request a test that demonstrates sustained progress and reconciliation after a controlled receiver stall.
Primary reference: RFC 9293, TCP, particularly its zero-window probing discussion.
Need help with your application?
Send the exact equipment and interface versions, the required outcome and a sanitised example. Ask for a confirmed scope and an acceptance check suited to your application.
Phone: 1800 560 854
.png)


