-
Notifications
You must be signed in to change notification settings - Fork 403
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
外网的YAAW只能用WS://访问到 #83
Comments
你设置了 --rpc-allow-origin-all 吗 |
@binux 设置了啊,真奇怪 |
你会看 开发者工具>network 面板吗?对应的请求的失败原因是什么 |
Uncaught TypeError: Cannot read property 'tagName' of null 我找了几台windows的机器状况都是差不多,winsock reset完重启刚开机都是正常的,一阵子以后莫名其妙可能就没法RPC错误了,但是在mac下使用都是正常 |
@binux network下面 全是POST |
winsock 是什么?没有不是 pending 的请求吗? |
cmd的命令 netsh winsock reset |
@binux 今天这个数据好像有些问题。。等我回家再试一下 |
@giada22 aria2c jsonrpc 的端口映射了吗,有防火墙吗? |
最近遇到个问题,windows下访问aria2.com这类外网上的YAAW,设置http://的时候总是错误: Aria2 RPC 服务器错误,但是访问本地YAAW都是正常的,改成ws://能正常连接,用MAC访问的话都能连,访问http://192.168.1.1:6800/jsonrpc?jsoncallback=1返回的是1({"id":null,"jsonrpc":"2.0","error":{"code":-32600,"message":"Invalid Request."}}),这个是什么问题呢,mac下正常,端口映射和公网Ip都没问题,就是每次windows没法正常访问,导致离线下载之类的插件都是rpc请求失败
The text was updated successfully, but these errors were encountered: