microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
477 stars 206 forks source link

makecode extension in vscode is throwing error: trg-arcade.userpxt.io refused to connect. #6465

Open gdominiq opened 2 months ago

gdominiq commented 2 months ago

Describe the bug After installing the makecode extension in vscode, running the simulator option shows error: trg-arcade.userpxt.io refused to connect.

To Reproduce Steps to reproduce the behavior:

  1. Go to makecode extension icon
  2. Click on Import a project
  3. Paste a makecode project url, click return to import
  4. Click on Start MakeCode simulator
  5. error displays

Expected behavior Simulator to run the project

Screenshots See attached

Desktop (please complete the following information):

screenshot_makecode_error
riknoll commented 1 month ago

we need to set the COEP header on our server's response to require-corp

that also means that we need to enable CORP everywhere, which we already do except I don't see it on responses from our CDN. this is likely something we need to manually enable

https://web.dev/articles/why-coop-coep#coep