Open alansmodic opened 1 month ago
accessing via Windows PC on a specific network
@alansmodic I would be happy to take a look at this and at least improve the error message, but I'm not sure how to recreate it.
Are you still able to reproduce this error? If yes, please check if any network requests are failing.
The team is still able to reproduce. They sent along the following screenshots and HAR file. Let me know how else I can help.
Thank you for the HAR archive @alansmodic! Unfortunately, I couldn't find any details about the ZIP file in there. I have a hypothesis, though.
I bet the request to https://raw.githubusercontent.com/alansmodic/wp-pub-play/main/playground/playground.zip gets caught by some security system and instead of a ZIP file, the browser receives an HTML page that says something like "Careful with downloading ZIP files. Are you sure you want to proceed?"
Assuming that's what's happening, here's what we can do:
Content-Type
in the response, and obscure the .zip
part of the URL, e.g. by adding .html
at the end. I don't like that, though. The endgame here is a sysadmin not liking what we're doing and blocking the entire domain.What happens when they try to download https://raw.githubusercontent.com/alansmodic/wp-pub-play/main/playground/playground.zip directly @alansmodic?
If my guess is wrong, we can find out what is actually happening by exposing the downloaded ZIP file contents in the error log. It doesn't have to mean including the actual bytes. We could expose a "download error report" button that would simply export the entire Playground.
When delivering a presentation utilizing WordPress Playground, users at a particular business on Windows PC were unable to load the GitHub hosted presentation powered by Playground. A short link was created to load this: https://bit.ly/vip-pub-play.
Day of the presentation, this worked for all users on a Mac, but not PC. Since then, PC user have been able to access when at home and not on their company network. Full error below, as well as screenshot: