Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dongzhaosheng73 opened this issue Aug 4, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@dongzhaosheng73
Copy link

An ssl exception is reported when the ipv6 address is resolved

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

@bezzad bezzad self-assigned this Oct 26, 2023
@bezzad bezzad added the question Further information is requested label Oct 26, 2023
@bezzad
Copy link
Owner

bezzad commented Oct 26, 2023

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

@yanhan-dev
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants