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

Web sockets not working #453

Closed
LearnToRunFast opened this issue Jun 1, 2018 · 3 comments
Closed

Web sockets not working #453

LearnToRunFast opened this issue Jun 1, 2018 · 3 comments

Comments

@LearnToRunFast
Copy link

I had install the aria2 and enter the web https://ziahamza.github.io/webui-aria2/
it shows me this, help me out pls!!
Web sockets not working due to Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS.

@ShenTensen
Copy link

有一个想法,在github和stackoverflow开个中文板块出来。

@no1xsyzy
Copy link
Contributor

no1xsyzy commented Jun 5, 2018

Basically 3 ways:

  • Use http://ziahamza.github.io/webui-aria2/ (HTTP instead of HTTPS)
    • If you use HTTPS Everywhere, you can disable it for github.io.
  • your own server
    • Nginx
    • Apache
    • Fork this project and create CNAME-d GitHub pages. Using CNAME since you are not using HTTP on github.io.
    • e.t.c.
  • Configure your aria2 to be compatible with WebSocket with Security.
    • Need a domain and an SSL certificate

Reason described:
It's because it is considered unsafe and information leaking to use WebSocket on HTTPS pages. (Considered by those who created HTTPS)

@no1xsyzy
Copy link
Contributor

no1xsyzy commented Jun 5, 2018

@ShenTensen you are off-topic

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

4 participants