leaningtech / webvm

Virtual Machine for the Web

Home Page:https://webvm.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error message unclear while testing behind HTTP rather than HTTPS

Utopiah opened this issue · comments

SharedArrayBuffer is required and missing behind HTTP, the default testing context according to the documentation in README.md

The README.md should be updated to clarify that it's HTTPS only (rather HTTP) and, optionally, that the error message on SharedArrayBuffer could clarify if document.location.protocol is not https:.

It might be useful to specify also what testing method for HTTPS are recommended as the one I did try, namely ngrok, did not work. It seems that HDD is "hanging" (orange color) so there might be some localhost only limitations. Seems I was just not patient enough.

Actually suggested method on HTTPS might still be best as Python SimpleHTTPRequestHandler failed. Not sure if it's WebSocket or 600Mo asset but somehow it errors out.

I did deploy on my own server (typical nginx behind HTTPS setup) and it worked right away.

See also #9