| Previous | Next |
| RPC_NT_WRONG_PIPE_VERSION | RPC_NT_PIPE_DISCIPLINE_ERROR |
RPC_NT_PIPE_CLOSED
RPC pipe is already closed
RPC_NT_PIPE_CLOSED is a pipe-lifecycle status. A pipe stream is valid only while the RPC call and its pipe transfer are active; after closure, additional push or pull operations cannot continue the stream.
This often appears when application callbacks treat end-of-stream as recoverable and try to transfer more data, or when error cleanup closes the pipe and normal completion code still runs afterward.
What to check
- Trace pipe callback order and distinguish normal end-of-stream from premature closure.
- Check duplicate cleanup paths after exceptions, cancellation, or partial transfer.
- Do not retry additional pipe chunks on the same pipe object once closure has been signaled.
References
- Microsoft RPC: pipes
- Microsoft MIDL: pipe type constructor
- Microsoft RPC: client-side pipe implementation
- Microsoft Open Specifications: MS-RPCE overview
Looking for a different code? Search another status or error code.