Knowledge Base

Home > Client Errors > TLS: The token supplied to the function is invalid

Created
Modified

Print Article

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

  • For cause 1
    Identify the problem using a protocol analyzer (wireshark etc). Then contact the vendor of the product for the latest update/firmware.
  • For cause 2
    Contact the vendor of the server.

Keywords
TLS error ssl schannel

Related Articles
icon The client and server cannot communicate, because they do not possess a common algorithm.


What do you think about this topic? Send feedback!