Giter VIP home page Giter VIP logo

Comments (5)

ahgan avatar ahgan commented on August 11, 2024

本地的填 http://127.0.0.1:6800/jsonrpc 就行了,其实主页上说明也写着呢 http://binux.github.io/yaaw/

from yaaw.

hnuzhoulin avatar hnuzhoulin commented on August 11, 2024

非常感谢您的回复。
是的,我也是填的这个,但是点击小扳手边上的刷新摁钮依然是Error:internal server error
就像是页面里面说到的,出现这个错误,注意填写jsonrpc地址就可以。我的aria2的配置文件如下:

#允许rpc
enable-rpc=true
#允许所有来源, web界面跨域权限需要
rpc-allow-origin-all=true
#允许非外部访问
rpc-listen-all=true
#RPC端口, 仅当默认端口被占用时修改
rpc-listen-port=6800
#启动时出现 Initializing EpollEventPoll failed. 或相似错误, 在配置中取消下面这行
#event-poll=select

#######认证
#用户名
rpc-user=admin
#密码
rpc-passwd=admin


######速度
#最大同时下载数(任务数), 路由建议值: 3
max-concurrent-downloads=5
#断点续传
continue=true
#同服务器连接数
max-connection-per-server=5
#最小文件分片大小, 下载线程数上限取决于能分出多少片, 对于小文件重要
min-split-size=10M
#单文件最大线程数, 路由建议值: 5
split=10
#下载速度限制
max-overall-download-limit=0
#单文件速度限制
max-download-limit=0
#上传速度限制
max-overall-upload-limit=0
#单文件速度限制
max-upload-limit=0
#断开速度过慢的连接
#lowest-speed-limit=0
#验证用,需要1.16.1之后的release版本
#referer=*

##磁盘选项
input-file=/home/zhoulin/soft/aria2/aria2.session
save-session=/home/zhoulin/soft/aria2/aria2.session
#定时保存会话,需要1.16.1之后的release版
save-session-interval=60

###进度保存
#文件保存路径, 默认为当前启动位置
dir=/home/zhoulin/Download
#文件缓存, 使用内置的文件缓存, 如果你不相信Linux内核文件缓存和磁盘内置缓存时使用, 需要1.16及以上版本
#disk-cache=0
#另一种Linux文件缓存方式, 使用前确保您使用的内核支持此选项, 需要1.15及以上版本(?)
#enable-mmap=true
#文件预分配, 能有效降低文件碎片, 提高磁盘性能. 缺点是预分配时间较长
#所需时间 none < falloc ? trunc << prealloc, falloc和trunc需要文件系统和内核支持
file-allocation=prealloc

#######BT
#启用本地节点查找
bt-enable-lpd=true
#添加额外的tracker
#bt-tracker=<URI>,…
#单种子最大连接数
#bt-max-peers=55
#强制加密, 防迅雷必备
#bt-require-crypto=true
#当下载的文件是一个种子(以.torrent结尾)时, 自动下载BT
follow-torrent=true
#BT监听端口, 当端口屏蔽时使用
#listen-port=6881-6999

#######PT
#不确定是否需要,为保险起见,need more test
enable-dht=false
bt-enable-lpd=false
enable-peer-exchange=false
#修改特征
user-agent=uTorrent/2210(25130)
peer-id-prefix=-UT2210-
#修改做种设置, 允许做种
seed-ratio=0
#保存会话
force-save=true
bt-hash-check-seed=true
bt-seed-unverified=true
bt-save-metadata=true
#定时保存会话,需要1.16.1之后的某个release版本(比如1.16.2)
save-session-interval=60

from yaaw.

hnuzhoulin avatar hnuzhoulin commented on August 11, 2024

现在可以了,原来是因为我的这里面设置了用户名和密码,再jsonpath里面没有制定用户名密码
如果设置有用户名和密码,按照如下方式填写即可。
http://admin:[email protected]:6800/jsonrpc

from yaaw.

hnuzhoulin avatar hnuzhoulin commented on August 11, 2024

是的,非常感谢,一开始没有填用户名密码
后来修改josnpath为
http://user:[email protected]:6800/jsonrpc
就一切OK了。。非常感谢。

于 2014年06月22日 21:06, ahgan 写道:

yaww里面的用户名密码填了吗?要不可以从aria里面去掉试试


Reply to this email directly or view it on GitHub
#56 (comment).

from yaaw.

wshy1999 avatar wshy1999 commented on August 11, 2024

username和password是哪个账号的啊?

from yaaw.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.