Downloader icon indicating copy to clipboard operation
Downloader copied to clipboard

ipv6 Download error the ssl connection could not be established, see inner exception

Open dongzhaosheng73 opened this issue 2 years ago • 3 comments

An ssl exception is reported when the ipv6 address is resolved

https://cdn.excean.com/opmnq/resources/1690445421274461.vdi

dongzhaosheng73 avatar Aug 04 '23 07:08 dongzhaosheng73

Please provide the downloader config info. I downloaded this link with no issues.

bezzad avatar Oct 26 '23 08:10 bezzad

Thank you very much bezzad, thank you for providing such a useful download library. I also encountered the same error "the ssl connection could not be established see inner exception". About 1% of my users will have this error. In my case There are no errors when debugging on the local computer. download link https://dl.nextbns.com/Launcher/2.4.8.0/Launcher.zip

this is my config

IDownload download = DownloadBuilder.New()
    .WithUrl(url)
    .WithDirectory(directory)
    .WithFileName(fileName)
    .WithConfiguration(new DownloadConfiguration()
    {
        ChunkCount = 2,
        ParallelDownload = true
    })
    .Build();

this is stackoverflow solution https://stackoverflow.com/questions/52939211/the-ssl-connection-could-not-be-established but, Download does not support configuring ServerCertificateValidationCallback thanks

yanhan-dev avatar Jan 06 '24 05:01 yanhan-dev