Knowledge Base

  1. Home
  2. Client Errors
  3. TLS: The token supplied to the function is invalid
Created
Modified

Article 29

TLS Error: The token supplied to the function is invalid

Problem

The token supplied to the function is invalid.

HRESULT error: SEC_E_INVALID_TOKEN (0x80090308)

Cause

This error happens during the TLS protocol negotiation with the server.

Possible causes:

  1. Interoperability issues with different TLS implementations
    E.g. if the TLS connection goes through an intermediary (proxy, firewall), the connection may be intentionally aborted (e.g. legacy implementation does not recognize new TLS extensions).
  2. The server does not support TLS or the implementation is broken.

Solution

Keywords
TLS,error,ssl,schannel