Code Monkey home page Code Monkey logo

Comments (11)

acgotaku avatar acgotaku commented on September 3, 2024

@beafuture rpc验证是用的用户名密码还是 token?

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

使用的用户名验证

from baiduexporter.

acgotaku avatar acgotaku commented on September 3, 2024

@beafuture chrome下正常不?

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

chrome 下也是同样的问题 ,关闭验证提示下载失败,但aria2已经在下载,开启验证,下载任务添加就失败了

from baiduexporter.

acgotaku avatar acgotaku commented on September 3, 2024

@beafuture 其实我自己的aria2c都不带任何验证的 所以对验证的测试可能少了点
我之后会测试修复的

from baiduexporter.

acgotaku avatar acgotaku commented on September 3, 2024

@beafuture 我这边测试正常啊 == 你的aria2c的配置文件是怎么设置用户名和密码的?
对了,用户名和密码(需要1.15.2以上,1.18.6以下版本)在之后是不推荐使用的认证方式
建议使用token (需要1.18.4以上版本)

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

我用的aria2 1.18.1,你测试正常的aria2版本是多少?
以下是我的配置文件:
daemon=true
enable-rpc=true
rpc-user=test
rpc-passwd=123456
rpc-listen-all=true
rpc-listen-port=6800
max-concurrent-downloads=10
continue=true
max-connection-per-server=10
min-split-size=10M
split=10
max-overall-download-limit=0
max-download-limit=0
max-overall-upload-limit=0
max-upload-limit=0
dir=/mnt/sda2/DOWNLOAD/
file-allocation=falloc

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

我的aria2是ubuntu server 14.04 直接apt安装的,另外在不启用验证的时候,添加任务成功了,提示也不正确

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

刚刚导出到aria2的时候在firebug的控制台看到了这条提示:
已阻止交叉源请求:同源策略不允许读取 http://<我的域名>:6800/jsonrpc?tm=1415756394221 上的远程资源。可以将资源移动到相同的域名上或者启用 CORS 来解决这个问题。

from baiduexporter.

beafuture avatar beafuture commented on September 3, 2024

报歉,是我aria2 没有配置 rpc-allow-origin-all=true 所致,现在不管是否启用验证,都可以提示下载成功了。

from baiduexporter.

acgotaku avatar acgotaku commented on September 3, 2024

@beafuture 那就关闭这个issue吧

from baiduexporter.

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.