-
Notifications
You must be signed in to change notification settings - Fork 296
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
Aria2本地连接失败 #5
Comments
确实好了 |
这个问题可以考虑通过别的方式解决吗? 因为我是习惯不分盘用户。并且挺多程序都用aria2的 |
去研究研究 |
我这边发现的是aria2所在路径不能有空格,和odomu的版本一样,比如:D:\Program Files\aliyunpan,这样就会一直提示断开连接,安装到D:\aliyunpan就没问题,可以正常使用。 |
macos有这个问题怎么解决啊QAQ |
是的,或者安装到默认位置就好了。 |
本地重新安装 aria2 再手动输入命令,搞定~ |
有个问题就是我本地没有安装 aria2,而且我也不想安装,但是还是会一直弹这个错误,有什么解决方法吗? |
感谢,实测有效,放到D盘根目录就解决了。 |
/electron/main/index.ts 里面的引用打包aria2c路径写错了 不然程序运行时call的路径只有aria2c,识别不到打包的aria2c,需要使aria2c安装在$PATH目录下。 |
@gaozhangmin 如果aria2c的16800端口被另一个程序占用,程序会以16800依次递增一位的端口如16801启动aria2c,但是aliyunpan仍以16800去连接aria2c,导致连接不到aria2c |
现在支持配置本地aria2c了你可以下载static/engine/aria.conf到本地配合本地的aria2c启动。你说的问题 新版本已经修复了。不存在这个问题了。 |
@hy546880109 你图里listen的端口是6800啊 |
Mac咋用 |
最新发现的问题,还是这里,下面几行,'--listen-port=' + port 改成 '--rpc-listen-port=' + port 才对。自动向16800更高位寻找未被占用端口并连接的功能就正常了。 |
你这说的不准确,process.chdir(basePath)这个已经切换到执行目录下了。 |
现在小白羊支持配置本地aria2c,并启动了,不用依赖程序里面的aria2c。详见v3.11.4
针对aria 本地连接失败问题的说明:
The text was updated successfully, but these errors were encountered: