Giter Site home page Giter Site logo

Comments (6)

mayswind avatar mayswind commented on April 29, 2024

地址配置正确了么?

from ariang.

arfaWong avatar arfaWong commented on April 29, 2024

地址配置是正确的,现在的情况是这样的:

aria2 + conf uget + aria2 plugin
AriaNg ×
webui-aria2

不知道是不是 uget 里面 少了一些参数

from ariang.

mayswind avatar mayswind commented on April 29, 2024

协议啥的都正确不。你可以打开浏览器的 开发者工具 ,然后在网络选项卡看下 aria2 返回的是啥。

from ariang.

arfaWong avatar arfaWong commented on April 29, 2024

XMLHttpRequest cannot load http://localhost:6800/jsonrpc. Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access.

报了这个错误

from ariang.

mayswind avatar mayswind commented on April 29, 2024

几个问题:
1、aria2设置 rpc-allow-origin-all 这个参数了么?
2、webui-aria2 能正常连接 aria2 么?
3、AriaNg 直接在浏览器双击打开的本地文件还是部署到 web 服务器中访问的?

from ariang.

arfaWong avatar arfaWong commented on April 29, 2024
  1. 没有设置 rpc-allow-origin-all
  2. webui-aria2 可以正常连接
  3. 使用 Demo 中的网站访问的

现在设置 rpc-allow-origin-all = true 之后,使用 Demo 中的网站可以正常连接了。
感谢!

from ariang.

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.