download url is is https://www.hkex.com.hk/-/media/HKEX-Market/Mutual-Market/Sto
ck-Connect/Eligible-Stocks/View-All-Eligible-Securities/SSE_Securities.csv
download is error: System.Net.Http.HttpRequestException: The SSL connection coul
d not be established, see inner exception.
---> System.Security.Authentication.AuthenticationException: Authentication fai
led because the remote party sent a TLS alert: 'HandshakeFailure'.
---> System.ComponentModel.Win32Exception (0x80090326): The message received wa
s unexpected or badly formatted.
--- End of inner exception stack trace ---
at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdap
ter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm)
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthent
icationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream str
eam, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.ConnectHelper.EstablishSslConnectionAsync(SslClientAuthent
icationOptions sslOptions, HttpRequestMessage request, Boolean async, Stream str
eam, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request
, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequest
Message request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMes
sage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCanc
ellationAsync(CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMes
sage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(H
ttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationTok
en cancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Bool
ean async, CancellationToken cancellationToken)
at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request,
CancellationToken cancellationToken)
at HttpUAT.Program.Main(String[] args) in C:\repo\MySmartAdvisor.Service.Prod
uctData\HttpUAT\Program.cs:line 26