What does Windows error code 1709 (RPC_S_INVALID_TIMEOUT) mean?

 
Previous Next
RPC_S_NO_ENDPOINT_FOUND RPC_S_OBJECT_NOT_FOUND

RPC_S_INVALID_TIMEOUT

The timeout is a relative RPC setting, not a duration in seconds

RPC_S_INVALID_TIMEOUT can be returned by RPC communication-timeout configuration when the supplied value is not in the accepted range. For RpcMgmtSetComTimeout, Microsoft documents values from 0 through 10. Those numbers represent relative timeout levels; they are not literal seconds or milliseconds.

That distinction is important when an application reads a conventional timeout from configuration and passes it directly to RPC. A value such as 30 may be sensible as seconds in the application, but it is invalid for this API.

What to check

  • Verify that the caller uses an RPC_C_BINDING_*_TIMEOUT constant or a documented value in the 0 to 10 range.
  • Do not assume the value has identical behavior on every protocol sequence. The RPC runtime can treat it as a transport-specific communication hint.
  • Keep call cancellation and application deadlines separate from the RPC communication timeout; they solve different failure-detection problems.

Log both the protocol sequence and the exact timeout value before the setter call. That usually exposes configuration-unit mistakes immediately.

References


Looking for a different code? Search another status or error code.