You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some playground demos randomly fail because a request to unpkg fails. I think this happens more often for demos with a lot of dependencies, like this one.
After reloading the REPL a few times I get different packages failing, seemingly randomly:
Error fetching "d3-array" from unpkg. Does the package exist?
or
Error fetching "d3-dispatch" from unpkg. Does the package exist?
Reproduction
Just open this REPL and reload the browser a few times.
Logs
I looked up the request in the browser dev tools and it seems to be related to CORS problems:
Response body is not available to scripts (Reason: CORS Failed)
System Info
Firefox 133.0.3 (aarch64)
Severity
annoyance
The text was updated successfully, but these errors were encountered:
gka
changed the title
Playground sometimes struggles loading packages from unpkg due to CORS error
Playground struggles loading packages from unpkg due to CORS sometimes
Dec 24, 2024
What I think is probably more likely than certain requests randomly failing CORS is that certain requests randomly fail with 5xx/etc. errors or are dropped and that those responses never have the appropriate CORS headers.
Describe the bug
Some playground demos randomly fail because a request to unpkg fails. I think this happens more often for demos with a lot of dependencies, like this one.
After reloading the REPL a few times I get different packages failing, seemingly randomly:
or
Reproduction
Just open this REPL and reload the browser a few times.
Logs
I looked up the request in the browser dev tools and it seems to be related to CORS problems:
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: