#1 2024-03-21 14:50:35

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

E10060 with THttpClientSocket and not with Winhttp Client

Hi i just switched from WinHttp to Socket client and get error 10060

Log Output

InternalUri GET
...
ESChannel {recv : Socket Error 10060}
ENetSocket {THttpClientSocket.DoTlsAfter: TLS failed ..

after a timeout of 30s

With WinHttp the connection can be established

We connect to a server with valid certificate.

I need a clou how to find the reason for the error- any thougths ?


Rad Studio 12.1 Santorini

Offline

#2 2024-03-21 18:25:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,237
Website

Re: E10060 with THttpClientSocket and not with Winhttp Client

This is a timeout, probably at TCP level.

What is on the server side?
No proxy?
Does the client code work locally on the server itself?
Did you try enabling OpenSSL for the client instead of default SSPI?

Edit:
For client-side (aka mutual) authentication, you need to use OpenSSL, not SSPI.
The TNetTlsContext.ClientCertificateAuthentication flag is documented as 'not used on SChannel', i.e. not implemented.

Offline

#3 2024-03-22 08:25:42

itSDS
Member
From: Germany
Registered: 2014-04-24
Posts: 506

Re: E10060 with THttpClientSocket and not with Winhttp Client

Ty just to give more information:

On Server Side Client Connection works in both modes.
Only Clients connecting over Network get timeout error

OpenSSL is disabled, I'll try it using OpenSSL

Last edited by itSDS (2024-03-22 08:25:54)


Rad Studio 12.1 Santorini

Offline

#4 2024-03-22 09:13:58

Chaa
Member
Registered: 2011-03-26
Posts: 245

Re: E10060 with THttpClientSocket and not with Winhttp Client

Which Windows version you are use on client?

Offline

Board footer

Powered by FluxBB