

The connection with the server has been reset or terminated, or an incompatible SSL protocol was encountered. Returned by WinHttpReceiveResponse when the server requests client authentication.


Returned by WinHttpReceiveResponse when an overflow condition is encountered in the course of parsing chunked encoding. The client certificate may have been imported to the computer without the private key.ĮRROR_WINHTTP_CHUNKED_ENCODING_HEADER_SIZE_OVERFLOW The context for the SSL client certificate does not have a private key associated with it. The application does not have the required privileges to access the private key associated with the client certificate. Windows Server 2003 with SP1 and Windows XP with SP2: This error is not supported.ĮRROR_WINHTTP_CLIENT_CERT_NO_ACCESS_PRIVATE_KEY For more information, see the WINHTTP_OPTION_CLIENT_CERT_CONTEXT option. In this case, the application specifies the WINHTTP_NO_CLIENT_CERT_CONTEXT macro in the lpBuffer parameter of WinHttpSetOption. If the server requests the client certificate, but does not require it, the application can alternately call WinHttpSetOption with the WINHTTP_OPTION_CLIENT_CERT_CONTEXT option. For more information, see the WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST option. The application retrieves the list of certificate issuers by calling WinHttpQueryOption with the WINHTTP_OPTION_CLIENT_CERT_ISSUER_LIST option.

The server requires SSL client Authentication. Returned if connection to the server failed. Returned by the HttpRequest object if a requested operation cannot be performed before calling the Send method. Returned by the HttpRequest object if a requested operation cannot be performed before calling the Open method. Returned by the HttpRequest object if a requested operation cannot be performed after calling the Send method. Returned by the HttpRequest object if a specified option cannot be requested after the Open method has been called. Returned by WinHttpDetectAutoProx圜onfigUrl if WinHTTP was unable to discover the URL of the Proxy Auto-Configuration (PAC) file.Īn error occurred executing the script code in the Proxy Auto-Configuration (PAC) file. Returned by WinHttpGetProxyForUrl when a proxy for the specified URL cannot be located. The WinHTTP functions also return Windows error messages where appropriate. The error values listed below are returned by GetLastError when one of the Microsoft Windows HTTP Services (WinHTTP) functions fails, and are also returned in the lower 16 bits of HRESULT error returns from the WinHttpRequest object.Įrror values whose names begin with "ERROR_WINHTTP_" are specific to the WinHTTP functions.
