What does HRESULT 0x00090317 (SEC_I_CONTEXT_EXPIRED) mean?

 
Previous Next
SEC_I_LOCAL_LOGON SEC_I_INCOMPLETE_CREDENTIALS

SEC_I_CONTEXT_EXPIRED

SEC_I_CONTEXT_EXPIRED means that the peer has finished using an Schannel connection and initiated a TLS shutdown. It is the security-layer indication that no further protected application records should be processed on this context.

What to do

  • Finish any orderly close processing required by the application protocol.
  • Stop reading protected application data through the current context.
  • Release the context and close or reuse the underlying transport only according to the protocol design.

Why it matters

It should not be handled as a generic decryption error. Treating it as a retry condition can cause loops or use of a context that the peer has already closed.

Microsoft: DecryptMessage · SSPI Status Codes


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