webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

microsoft/TypeScript failes to clone

Open rummik opened this issue 3 months ago • 0 comments

Describe the bug

This seems to be due to the size of the repository, as I'm able to clone much smaller repos. However, this may also be a CORS-related issue, as I'm seeing what I'm guessing is an important request being blocked due to CORS headers.

00:05:25.081 Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://g.staticblitz.com/v6.6/h/e/github.com/microsoft/TypeScript/stream. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 504.

Possibly related to #1168

Link to the blitz that caused the error

https://stackblitz.com/~/github.com/microsoft/TypeScript

Steps to reproduce

  1. Go to https://stackblitz.com/~/github.com/microsoft/TypeScript
  2. Wait for a minute or so until the "Could not clone repository" dialog appears

Expected behavior

The repository should finish cloning

Parity with Local

Screenshots

Image

Platform

Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = 96435430

Browser name  = Firefox
Full version  = 142.0
Major version = 142
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0
performance.memory = undefined

Additional context

I'm seeing this in both Firefox and Chrome.

rummik avatar Sep 11 '25 05:09 rummik