[Vinzenz] Galaxy of Fame Website CORS network error

This subforum contains all the issues which we already resolved.
againey
Inserter
Inserter
Posts: 38
Joined: Thu Jul 31, 2014 10:57 pm
Contact:

[Vinzenz] Galaxy of Fame Website CORS network error

Post by againey »

Attempting to view the Planets or Platforms tab of the Galaxy of Fame (example) results in a CORS network error. The main panel remains stuck on "Loading map info..." Checking the developer tool console reveals some details.

From Chrome:
planets:1 Access to fetch at 'https://chartbundles.cdn.factorio.com/c ... le.zip?v=1' from origin 'https://factorio.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

chartbundles.cdn.factorio.com/chartbundles/dea08f7eeac6a1936b82a06fabed80a5b11715dbabbc064554b9d003df59d65d/release/chartbundle.zip?v=1:1
Failed to load resource: net::ERR_FAILED
io.js:429
Uncaught (in promise) TypeError: Failed to fetch
at zn (io.js:429:25)
at kn (io.js:418:26)
at wn (io.js:347:11)
at async pn.init (io.js:269:8)
at async An.init (io.js:487:8)
at async En (io.js:679:18)
at async pi.importZip (zip-fs-core.js:397:36)
at async initChartbundleViewer (chartbundle.js?v=53627e39:70:3)
From Firefox:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://chartbundles.cdn.factorio.com/c ... le.zip?v=1. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 200.

Uncaught (in promise) TypeError: NetworkError when attempting to fetch resource.
Failed to connect with service worker for getRuleList msg undefined
User avatar
vinzenz
Factorio Staff
Factorio Staff
Posts: 364
Joined: Mon Aug 02, 2021 6:45 pm
Contact:

Re: [Vinzenz] Galaxy of Fame Website CORS network error

Post by vinzenz »

Thanks for the report, fixed the CORS configuration.
bringing the oops to devops
Post Reply

Return to “Resolved Problems and Bugs”