Skip to content
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

无法连接到aria2 #91

Open
TrustAsia opened this issue Jul 16, 2021 · 4 comments
Open

无法连接到aria2 #91

TrustAsia opened this issue Jul 16, 2021 · 4 comments

Comments

@TrustAsia
Copy link

aria2运行在NAS上的docker环境内
同浏览器内使用ariang可以正常链接
开启了token认证方式
rpc填写为http://token:密码@tower.t.com:6800/jsonrpc

@Mapaler
Copy link
Owner

Mapaler commented Jul 16, 2021

aria2运行在NAS上的docker环境内
同浏览器内使用ariang可以正常链接
开启了token认证方式
rpc填写为http://token:密码@tower.t.com:6800/jsonrpc

AriaNg默认用的ws协议链接aria2,ws我一直没接触过,只写了http请求的代码。
你的AriaNg用http能连接吗

@TrustAsia
Copy link
Author

确定是使用的HTTP协议来着 AriaNG也用的是HTTP

@TrustAsia
Copy link
Author

解决了 似乎是跨域的问题 在TamperMonkey的设置里关闭了@connect模式就好了

@Mapaler
Copy link
Owner

Mapaler commented Jul 16, 2021

可以对TamperMonkey内PUBD脚本“设置”里的“XHR 安全”里增加“域名白名单”
Screenshot_2021-07-16-19-37-19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants