Discuss Scratch
- Discussion Forums
- » Bugs and Glitches
- » Cloud data history page broken due to incorrect CORS configuration
- heldlaw
-
100+ posts
Cloud data history page broken due to incorrect CORS configuration
All ‘Cloud data history’ pages are broken. This makes it impossible for scratchers to see the cloud history of a project.
Who/what is affected
Probably:
Symptoms
As the ‘Cloud data history’ page loads, it displays a throbber that keeps spinning forever. No data is displayed.
Screenshot:

Cause
A JavaScript error occurs. From the web browser's JavaScript console:
Screenshot:

Solution
EDIT: not a solution; something else is wrong on clouddata. It appears to suffer from a redirect loop, see discussion below.
Scratch Team, please fix CORS configuration on the clouddata servers. I'm not a CORS expert, but I would expect this HTTP response header:
Who/what is affected
Probably:
- every project that uses cloud variables (I tried a couple of my own and a few others)
- every scratcher (found some complaints elsewhere in this forum)
- every web browser (tested in Google Chrome and Firefox, tested on different PCs)
Symptoms
As the ‘Cloud data history’ page loads, it displays a throbber that keeps spinning forever. No data is displayed.
Screenshot:

Cause
A JavaScript error occurs. From the web browser's JavaScript console:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://clouddata.scratch.mit.edu/logs?projectid=638334528&limit=40&offset=0. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing). Status code: 301.From the network tab, it appears the clouddata server is not returning HTTP response header ‘Access-Control-Allow-Origin’.
Screenshot:

Solution
EDIT: not a solution; something else is wrong on clouddata. It appears to suffer from a redirect loop, see discussion below.
Scratch Team, please fix CORS configuration on the clouddata servers. I'm not a CORS expert, but I would expect this HTTP response header:
Access-Control-Allow-Origin: https://scratch.mit.eduIf there are reasons to postpone this fix (which I can imagine as there appear to be more issues with clouddata at the moment), then please communicate this to the Scratch community.
Last edited by heldlaw (Oct. 7, 2023 16:59:58)
- D-ScratchNinja
-
1000+ posts
Cloud data history page broken due to incorrect CORS configuration
I believe sometimes server downtime can make it appear that CORS is misconfigured, because it doesn't load the relevant CORS header or something?
Or maybe they're currently working on fixing something…
Or maybe they're currently working on fixing something…
- heldlaw
-
100+ posts
Cloud data history page broken due to incorrect CORS configuration
Good point! Directly fetching I believe sometimes server downtime can make it appear that CORS is misconfigured, because it doesn't load the relevant CORS header or something?https://clouddata.scratch.mit.edu/logs?projectid=638334528&limit=40&offset=0 indeed gives an error page.
Firefox:

Google Chrome:

Oh dear, looks like a redirect loop.

I sure hope so, because currently, cloud variables seem to be broken altogether. And that has been going on for more than a week… Or maybe they're currently working on fixing something…
Last edited by heldlaw (Oct. 7, 2023 16:57:16)
- D-ScratchNinja
-
1000+ posts
Cloud data history page broken due to incorrect CORS configuration
The good thing is that new Cloud variables seem to be updating properly on the project page side.
- heldlaw
-
100+ posts
Cloud data history page broken due to incorrect CORS configuration
new Cloud variables seem to be updating properly on the project page side.Thank you, I had missed that from other threads! I renamed the cloud variable in one of my projects, renamed it back, and the project works again. The good thing is that
Of course, this still leaves us with a broken ‘Cloud data history’ page. Only ST is in a position to fix that.
- geek62
-
100+ posts
Cloud data history page broken due to incorrect CORS configuration
Is there any word on this getting fixed? I would really like to see the cloud data history of one of my projects.
- medians
-
1000+ posts
Cloud data history page broken due to incorrect CORS configuration
I made a new project and the cloud var was working, but the cloud log was still broken, and projects from before the maintenance should really be fixed.
- OptimusR
-
2 posts
Cloud data history page broken due to incorrect CORS configuration
new Cloud variables seem to be updating properly on the project page side.Hello, My Cloud Data Is STILL DOWN, All i get is that same endless spining loop! The good thing is that

OptimusR
- EpicKitty12
-
18 posts
Cloud data history page broken due to incorrect CORS configuration
apologize if this is considered necroposting, but this error is still happening even in 2024.
- OptimusR
-
2 posts
Cloud data history page broken due to incorrect CORS configuration
Yeah! Scratch, Fix Your Website! Like Seriously!
- GachaFans
-
3 posts
Cloud data history page broken due to incorrect CORS configuration
BRUH SCRATCH FIX A IMPORTANT PART OF THE WHOLE WEBSITE
- EpicKitty12
-
18 posts
Cloud data history page broken due to incorrect CORS configuration
GUYS THEY FIXED IT!!!
- Discussion Forums
- » Bugs and Glitches
-
» Cloud data history page broken due to incorrect CORS configuration