v86 icon indicating copy to clipboard operation
v86 copied to clipboard

Emulation Freezes when mixed content connection is made

Open BelleNottelling opened this issue 4 years ago • 3 comments

If you try to use networking on an HTTPS page. but you're connected to an unsecured proxy (WS vs WSS), the entire emulation will freeze. I confirmed this in both Chrome and Firefox. It'll work just fine if I load the page over HTTP as then the browser won't block the mixed content. The only thing I see in the browser console is the warnings about blocking mixed content

BelleNottelling avatar Mar 24 '21 22:03 BelleNottelling

I removed a try-catch around the WebSocket instantiation in 00cf97fbf6744dfbac67c3c70dae9d7e99ba2e0f. Putting it back will probably fix this.

copy avatar Mar 24 '21 23:03 copy

I see, I still don't have a work environment for V86. Last time I tried I wasn't able to get it working. Any suggestions for a windows PC or should I just create a VM or use WSL? Thanks

BelleNottelling avatar Mar 25 '21 01:03 BelleNottelling

WSL is probably nicest to work with. The Dockerfile is a good reference as a setup.

copy avatar Mar 25 '21 01:03 copy