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

Aria2c should fallback and try again if IPv4/IPv6 fails (depending on which is first/preferred) #2158

Open
shinji257 opened this issue Dec 27, 2023 · 0 comments

Comments

@shinji257
Copy link

shinji257 commented Dec 27, 2023

On some networks they may have IPv6 (or IPv4) networks with is local only and no internet. Aria2c seems to sometimes (I'll say this for now) picks this up as default and doesn't fallback to the other addresses. At the very least it doesn't do that for network unreachable instances.

Please note that sometimes it gets the IPv4 address and sometimes it gets IPv6. When it does the latter it just fails spectacularly even though IPv4 would have worked perfectly fine.

Here is a failed attempt. Command Line: C:\Users\shinj\scoop\apps\aria2\current\aria2c.exe https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-windows.zip -l ./out.log

Log: https://gist.github.com/shinji257/727ac4daa1a9cef6057e17c24fc6dcc4

EDIT: I know you can use --disable-ipv6 but that's more of a thing to use if you get slow fail. In my case it is a fast fail (because network unreachable) and regardless most programs (in my experience) usually try again on the other protocol when one fails and the other is still there.

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

No branches or pull requests

1 participant