[Resolved] CORS Issue with assets

There seems to be an issue loading assets from cdn.glitch.global

I’m working with WebXR A-Frame projects and encountering these errors. It may be related to the recent incident (Glitch Status - Issues routing requests to projects), because I was able to access the aframe-xr-starterkit project just fine in late January.

Chrome:

cdn.glitch.global/ 41979f3d-9190-409a-a6d5-da2ade212b9d/cinta_video.mp4?v=1705463424250
Failed to load resource: net::ERR_CONNECTION_RESET

Firefox:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://cdn.glitch.global/41979f3d-9190-409a-a6d5-da2ade212b9d/cinta_video.mp4?v=1705463424250. (Reason: CORS request did not succeed). Status code: (null).

On projects like: (sorry, can only include two links as a new poster)

https:// cinta. glitch .me/

Trying to access an asset directly to download for a local build results in a CONNECTION RESET error:

https:// cdn.glitch.global/d29f98b4-ddd1-4589-8b66-e2446690e697/navmesh.glb?v=1644329586500

You’ll need to resolve this network error in order to receive the CORS headers. I think Glitch’s asset CDN already allows CORS.

1 Like

This is happening on glitch.com, are you able to load into the project?
Aframe Xr Starterkit

These examples are not my projects, so I’m not sure how I can resolve the error.

It could be an issue with my local network. The page does load for me on mobile using cellular.

I may have been misled into thinking it was a larger issue because I had errors across multiple browsers.

In a curious turn of events, I had to increase my router’s firewall settings and now the assets are loading.

Sorry for the user error! Never seen CORS pop up from firewall before, one to look out for from now on.

1 Like