1、直接在nanodm网页管理界面设置为空,然后保存,发现Rpc Secret再次出现 2、直接注释掉/etc/aria2.conf和/usr/local/apps/dashboard/apps/AriaNg/configuration.js中带有rpc-secret/RpcSecret的那一行。执行/etc/init.d/S92aria2 restart重启aria2。 Error information 进行了步骤2后,进nanodmh和Aria2Ng仍然有密码。
{"jsonrpc":"2.0","id":"qwer","method":"aria2.addUri","params": ["token:secret",["http://www.baidu.com"],{"out":"index.html","dir":"/home/"}] } 同样成功!yes,终于搞定了aria2的jsonrpc调用。
使用JSONRPC操作附带token(secret)的aria2 2019-08-05 11:36 −... Damos 0 8898 JSON Web Token (JWT) - Weak secret 2019-12-22 10:23 −This API with its /hello endpoint (accessible with GET) seems rather welcoming at first glance but is actually trying to play a trick on you.Manage...