Demo page at https://davidshimjs.github.io/qrcodejs/ doesn't work when on HTTPS
See original GitHub issueI found this library through google, and was directed to https://davidshimjs.github.io/qrcodejs/ (https). I scrolled down to the demo and the qr image didn’t show up in the codepen widget.
An error was thrown to the console:
Mixed Content: The page at 'https://s.codepen.io/davidshimjs/fullembedgrid/rJgjv?type=embed&animations=run' was loaded over HTTPS, but requested an insecure script 'http://davidshimjs.github.com/qrcodejs/qrcode.min.js'. This request has been blocked; the content must be served over HTTPS.
pen.js:2 Uncaught ReferenceError: QRCode is not defined(anonymous function) @ pen.js:2
The issue was fixed when I rewrote the url to http.
Issue Analytics
- State:
- Created 8 years ago
- Comments:5
Top Results From Across the Web
Securing your GitHub Pages site with HTTPS
HTTPS adds a layer of encryption that prevents others from snooping on or tampering with traffic to your site. You can enforce HTTPS...
Read more >The demo site seems not to work · Issue #4441 · video-dev/hls.js
The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
Read more >Demo page does not work · Issue #46 · okfn/facetview - GitHub
The demo page queries bibsoup.net which has been lost and is now a parked domain, so won't work until this is updated.
Read more >Demo does not work: https cdn for js/css-files #96 - GitHub
The demos at https://leflet.github.io/Leaflet.heat/demo/ and ... do not work. github.io forces a https connection while leaflet.js and ...
Read more >Demo not working in HTTPs · Issue #4 - GitHub
I noticed that the demo does not work in HTTPs. Maybe you have to do requests in HTTPs and using JSONP to fix...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Firstly, great work on qrcodejs!
To chip in with this issue, it looks like the external library on the following page (http://codepen.io/davidshimjs/pen/rJgjv) is linking to the http resource.
Have you tried changing: http://davidshimjs.github.com/qrcodejs/qrcode.min.js to this: //davidshimjs.github.com/qrcodejs/qrcode.min.js
Thanks.
Just experienced this. It’s not an important bug, any seasoned developer will open the console and understand the problem, but having a working project page is nice.