aria2-ariang-docker icon indicating copy to clipboard operation
aria2-ariang-docker copied to clipboard

RPC_SECRET参数不起作用

Open netweaver opened this issue 2 years ago • 4 comments

yarm文件里RPC_SECRET参数不起作用, 在ariaNg中只要填写了ip、端口, 无需填写rpc secret token或随便填写都能连接

netweaver avatar Dec 30 '21 12:12 netweaver

自己在aria2.conf里设置一下rpc-secret=就行了

rbforelle avatar Jan 05 '22 18:01 rbforelle

Hi @netweaver according to the code, you have to enable ARIA2_SSL to enable RPC_SECRET feature, only setting RPC_SECRET doesn't work.

please check the source code here https://github.com/wahyd4/aria2-ariang-docker/blob/a8db9193f813b780681c9322f70352e4e220b61e/aria2c.sh#L7-L21 for more details.

wahyd4 avatar Jan 27 '22 05:01 wahyd4

为何将rpc_secret和 secure捆绑啊? 两者没有什么关系的,不想走SSL呢

netweaver avatar Jun 23 '22 02:06 netweaver

而且一般不会在这里做SSL,会在nginx等反代上做

netweaver avatar Jun 23 '22 02:06 netweaver

Hi @netweaver now you can just set rpc_secret please check the readme for more details

wahyd4 avatar Apr 28 '23 00:04 wahyd4

@wahyd4 thankyou

netweaver avatar Sep 03 '23 05:09 netweaver