GithubHelp home page GithubHelp logo

Comments (11)

nmaier avatar nmaier commented on May 11, 2024

Culprit: https://github.com/tatsuhiro-t/aria2/blob/0bcbd947b47d8f3af6c04508f7d493edc901dfdc/src/LibgnutlsTLSSession.cc#L74

aria2 disables TLS 1.1 for whatever reason. However, gnutls will still send a client_hello annoucing the not-disabled TLS 1.2 (0x303). ftp.mozilla.org hence responds with a server_hello version of TLS 1.1 (0x303) which aria2/gnutls then refuses because it was specifically disabled.

I guess the line above should be dropped, of if there was a valid reason to include it, should be expanded to also disable TLS 1.2, so that the client_hello will announce max TLS 1.0.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

Thank you for the valuable information. Enabled TLS 1.1 just now. I experienced gnuttls's buggy behavior for TLS1.1 in the past, but it was long time ago and I didn't remember the error message.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

Can we close this now?

from aria2.

multiSnow avatar multiSnow commented on May 11, 2024

what about the second part of this issue, or I should just creat it as a new issue?

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

Sorry, I completely missed it.
If download was failed after trying all available URIs, aria2 does not save it, because restarting such download will also fail. Do you think we should save such download with failed URIs?

from aria2.

multiSnow avatar multiSnow commented on May 11, 2024

hmm...
If a temporary wrong DNS record received or temporary site down (e.g. site maintance), and of cource it causes download failed, it would not be saved.
But it is a temporary wrong, would be fixed in a short time.
I should re-get the URIs of these download or they are just lost.
Of cource I can re-get it by hands, but don't you think it would be more convenient if they are saved at somewhere, especially they are not only one or ten URIs?

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

OK, save error downloads with all failed URIs then.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

Fix committed fde376e

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

@multiSnow Could you check that the above commit works for you?

from aria2.

multiSnow avatar multiSnow commented on May 11, 2024

It works.

from aria2.

tatsuhiro-t avatar tatsuhiro-t commented on May 11, 2024

Thanks. Let's close the issue.

from aria2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.