Using the latest version of remark (as of 2018-07-04), attempting to use remarksync triggers the following security error in Firefox:
SecurityError: The operation is insecure. remarksync.js:555
connect https://omnibs.github.io/remarksync/web/static/assets/js/remarksync.js:555:19
start https://omnibs.github.io/remarksync/web/static/assets/js/remarksync.js:1165:4
SlideSync https://omnibs.github.io/remarksync/web/static/assets/js/remarksync.js:1255:3
<anonymous> https://omnibs.github.io/remarksync/web/static/assets/js/remarksync.js:1306:20
The error can be reproduced by using boilerplate-remote.html and modifying it slightly:
<script src="https://remarkjs.com/downloads/remark-latest.min.js">
</script>
<script>
var slideshow = remark.create();
</script>
<script src="https://omnibs.github.io/remarksync/web/static/assets/js/remarksync.js"></script>
Chrome gives more details about the error: the Phoenix Heroku app seems to not support WSS:
The page at 'https://example.com' was loaded over HTTPS, but attempted to connect to the insecure WebSocket endpoint 'ws://calm-caverns-50885.herokuapp.com/socket/websocket?token=undefined&vsn=1.0.0'. This request has been blocked; this endpoint must be available over WSS.
Using the latest version of remark (as of 2018-07-04), attempting to use remarksync triggers the following security error in Firefox:
The error can be reproduced by using
boilerplate-remote.htmland modifying it slightly:Chrome gives more details about the error: the Phoenix Heroku app seems to not support WSS: