Discuss Scratch

MegaApuTurkUltra
Scratcher
1000+ posts

New HTTPS upgrade breaks project player

When I use HTTPS to view a project, this happens:



I think it's because Chrome refuses to allow Flash from non-https sources to communicate with JS on https pages. Here's the console:


ST, please upgrade your CDN to HTTPS to fix this!

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
djdolphin
Scratcher
1000+ posts

New HTTPS upgrade breaks project player

MegaApuTurkUltra wrote:

I think it's because Chrome refuses to allow Flash from non-https sources to communicate with JS on https pages.
Nah, it's because of this line in the code. Scratch defaults to the player if the url it's playing on starts with “http:”, and it defaults to the editor if it starts with anything else. I noticed this when I was testing out SSL on an old version of my archive.

!
Lucario621
Scratcher
100+ posts

New HTTPS upgrade breaks project player

Hmm, yeah that is odd. Is the Scratch website automatically using HTTPS for you, or did you manually enable that? I only ask because if it was automatically enabled then it would certainly be a big problem with a lot of people encountering the issue - but otherwise it's a bit less urgent. But if djdolphin is right about this being an issue because of the URL being detected as not HTTP, then perhaps they should find a more accurate way to detect which editor to use.
MegaApuTurkUltra
Scratcher
1000+ posts

New HTTPS upgrade breaks project player

Lucario621 wrote:

Hmm, yeah that is odd. Is the Scratch website automatically using HTTPS for you, or did you manually enable that? I only ask because if it was automatically enabled then it would certainly be a big problem with a lot of people encountering the issue - but otherwise it's a bit less urgent. But if djdolphin is right about this being an issue because of the URL being detected as not HTTP, then perhaps they should find a more accurate way to detect which editor to use.
Earlier today Scratch auto-switched to HTTPS and some stuff broke. Then it seemed to have switch back to HTTP later. I'm not exactly sure what's going on, but for now most people won't be affected. You can still manually switch to HTTPS though (which I am going to do for login at least)

$(".box-head")[0].textContent = "committing AT crimes since $whenever"
-Lolz-
Scratcher
36 posts

New HTTPS upgrade breaks project player

I'm having the same problem!

My browser / operating system: MacOS Macintosh X 10.10.1, Safari 8.0, Flash 16.0 (release 0)

Thepuzzlegame
Scratcher
1000+ posts

New HTTPS upgrade breaks project player

Yeah I had this problem too.

hi!
sdg1
Scratcher
100+ posts

New HTTPS upgrade breaks project player

MegaApuTurkUltra wrote:

When I use HTTPS to view a project, this happens:



I think it's because Chrome refuses to allow Flash from non-https sources to communicate with JS on https pages. Here's the console:


ST, please upgrade your CDN to HTTPS to fix this!

Hah - you found our “secret” experiment!

We are currently trying out SSL to find out issues like this, and as djdolphin pointed out, we found that the editor/player needs to be updated to load projects and talk to the site API over SSL. This change will go out with our next deploy (mid January). The CDN is already working - the editor just needs to use the right protocol.

Also, once we have SSL turned on, we will ask Scratchers to test it out (before starting to redirect everyone to HTTPS). We'll make a forum post on that once we have updated and deployed the editor code.

sdg1
MIT Scratch Team

Powered by DjangoBB