V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
endosome
V2EX  ›  macOS

Could not connect to the aria2 RPC server

  •  
  •   endosome · 2015-12-12 10:39:57 +08:00 · 10807 次点击
    这是一个创建于 3065 天前的主题,其中的信息可能已经有所发展或是发生改变。
    安装了 aria2
    但是却不能下载百度网盘里面的文件,请问何故
    “Oh Snap! Could not connect to the aria2 RPC server. Will retry in 10 secs. You might want to check the connection settings by going to Settings > Connection Settings”

    http://ziahamza.github.io/webui-aria2/
    谢谢

    13 条回复    2015-12-13 00:26:30 +08:00
    MrX
        1
    MrX  
       2015-12-12 10:48:00 +08:00
    znoodl
        2
    znoodl  
       2015-12-12 10:48:40 +08:00
    启动的时候加启动项
    enable-rpc=true

    host 填你启动 aria2 的 ip

    善用搜索
    MrX
        3
    MrX  
       2015-12-12 10:49:32 +08:00
    rpc 地址不对,应该改为 localhost
    zander
        4
    zander  
       2015-12-12 10:52:40 +08:00 via iPhone
    默认的 hoat 明显不对啊。
    endosome
        5
    endosome  
    OP
       2015-12-12 10:55:57 +08:00
    @MrX 我改成 localhost 也是一样结果
    knktc
        6
    knktc  
       2015-12-12 11:04:06 +08:00
    你启动 aria2 了吗?
    endosome
        7
    endosome  
    OP
       2015-12-12 11:11:18 +08:00
    @knktc
    ps aux|grep aria2c
    1111 0.0 0.0 2423356 200 s000 R+ 9:59PM 0:00.00 grep aria2c
    Wao
        8
    Wao  
       2015-12-12 11:26:19 +08:00
    aria2.conf 什么的都配置好了吗?

    另,
    aria2 出 1.19.3 了,结果官方没提供 DMG 安装包, 1.19.2 时有的
    endosome
        9
    endosome  
    OP
       2015-12-12 11:28:59 +08:00
    @Wao 按照这个设置的: http://sspai.com/32167
    knktc
        10
    knktc  
       2015-12-12 11:41:27 +08:00
    @endosome
    你这样做:
    ps aux|grep aria2c|grep -v grep
    Tink
        11
    Tink  
       2015-12-12 12:48:48 +08:00 via iPhone
    aria2 装在本机上那就 localhost ,要是装在服务器上就写服务器 ip , rpc 必须启动
    Wao
        12
    Wao  
       2015-12-12 13:18:04 +08:00
    @endosome 我是安装的官方 DMG 包,安装完后在 ~/.aria2 里保存好参考网上帖子然后自己配置的 .conf .session 等文件,直接 bash 里 aria2c 就可以运行了。至于开机自启动,用 Automator 搞定了 (尝试用 launchd 失败)
    endosome
        13
    endosome  
    OP
       2015-12-13 00:26:30 +08:00
    no way, failed...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2189 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 00:05 · PVG 08:05 · LAX 17:05 · JFK 20:05
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.