GithubHelp home page GithubHelp logo

Http download error about aria2 HOT 5 CLOSED

kax4 avatar kax4 commented on May 11, 2024
Http download error

from aria2.

Comments (5)

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

aria2 first check the configured IP address families and only send those families of IP address lookup to DNS server. This is because some IPv4 only DNS servers just drop AAAA lookup query and it takes aria2 to want for the long timeout. Now I look into your log file, aria2 failed to detect any address. It seems aria2 launched before IP address configured.

from aria2.

kax4 avatar kax4 commented on May 11, 2024

Can you write a patch if those check fail aria2 will try to recheck when user add a download link.
Here what i can find with launchd:
Network Availability
If your daemon depends on the network being available, this cannot be handled with dependencies because network interfaces can come and go at any time in OS X. To solve this problem, you should use the network reachability functionality or the dynamic store functionality in the System Configuration framework.

from aria2.

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

I made a change to check configured address again if none of those were found in the previous check.
See 2e39fd6
Still it is a workaround, because addresses can come and go in any time. If we can hook an event when interfaces are up or down, we can use it as a trigger to perform check again.

from aria2.

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

Did the change work for you?

from aria2.

kax4 avatar kax4 commented on May 11, 2024

It work fine now, thank you!

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.