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

Mixed Content error when i view https website #645

Closed
feilongfl opened this issue Dec 20, 2018 · 1 comment
Closed

Mixed Content error when i view https website #645

feilongfl opened this issue Dec 20, 2018 · 1 comment

Comments

@feilongfl
Copy link

feilongfl commented Dec 20, 2018

It's a problem here,my website https://musing-pare-9e8d81.netlify.com/ it show me that

Mixed Content: The page at 'https://musing-pare-9e8d81.netlify.com/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://feilong-server.lan:8080/ipns/feilong.ml/comic.json'. This request has been blocked; the content must be served over HTTPS.

gateway

~/c/dist on master ◦ ssh feilong-server.lan 21:53:43
feilong@feilong-server.lan's password:
Last login: Thu 12月20日 20:59:53 2018 from 192.168.2.21
Welcome to fish, the friendly interactive shell
feilong@feilong-server ~> ipfs --version
ipfs version 0.4.18 

settings
gateway: http://feilong-server.lan:8080
api: http://feilong-server.lan:5001

@lidel
Copy link
Member

lidel commented Dec 21, 2018

Hi, this error comes from your web browser. To remove Mixed Content warning you need to enable HTTPS (encryption) at the Gateway (eg. by putting it behind Nginx) and switch to https:// or run node at the same machine and access it via http://127.0.0.1:8080 (local server does not require HTTPS).

More info: https://developer.mozilla.org/en-US/docs/Web/Security/Mixed_content

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