Comments (5)
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.
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.
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.
Did the change work for you?
from aria2.
It work fine now, thank you!
from aria2.
Related Issues (20)
- aria2.session cannot write and this issue leads not to dowload
- Why is the executable file called 'aria2c' (instead of 'aria2')
- Aria2c RPC Method changeUri doesn't work HOT 1
- 关于开启https无法访问的问题 HOT 8
- How to request SFTP compression?
- Aria2 control files regularly fail to rename from aria2__temp to aria2 and do not get deleted post-download
- Support file uri scheme
- msys2-mingw64 提示 error: 'gettimeofday' was not declared in this scope; did you mean 'gettimeofday_ms'?
- HLS fragments
- Problem compiling in mingw static. undefined reference to `libiconv_set_ relocation_prefix HOT 2
- option --follow-torrent=false doesn't work
- aria2c incompatible with most CDNs
- Subfolder support for metalink HOT 1
- File Version property shouldn't be empty
- OSError: [Errno 99] Cannot assign requested address HOT 1
- OSX10.7 aria2
- Fail to resume download, where some files have been done and others not.
- --pause + RPC not working HOT 1
- The -o option could offer a substitution pattern for the original basename
- bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aria2.