scratchfoundation / scratch-flash

Open source version of the Scratch 2.0 project editor. This is the basis for the online and offline versions of Scratch found on the website.
https://scratch.mit.edu
GNU General Public License v2.0
1.33k stars 513 forks source link

Cloud Data - Stability Issues #1359

Closed thisandagain closed 7 years ago

thisandagain commented 7 years ago

From @griffpatch

I am seeing quite a few problems with the cloud data over the last week
since I started looking at it again.

I have been seeing issues with a high score table script where it appears
to lose previous players scores.
What appears to happen is that the scratch project must fail to load the
current value from the cloud server, but succeeds in writing the value back
(such that only the scores in the cloud variable at the time I last saved
the project are persisted long term). Also, complete failure to connect
appear to be frequent enough.

Right now I am unable to even get a cloud variable to update in the cloud
log. I update it in the project, but it is not seen by other connected
players and no record is logged.
Chrome's console is logging this:

11:18:09 AM | inf | Connecting to cloud data server {server: "
 clouddata.scratch.mit.edu"}server: "clouddata.scratch.mit.edu"__proto__:
 constructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ
 isPrototypeOf()propertyIsEnumerable: ƒ
 propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ
 toString()valueOf: ƒ valueOf()__defineGetter__: ƒ
 __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ
 __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ
 __proto__()set __proto__: ƒ __proto__()
 VM949:1 11:18:10 AM | inf | Successfully connected to cloud data server
 VM950:1 11:18:36 AM | inf | Play recorded
 VM951:1 11:19:11 AM | inf | Attempt reconnect to cloud server.
 VM953:1 11:19:14 AM | inf | Successfully connected to cloud data server
 11:18:09 AM | inf | Connecting to cloud data server {server: "
 clouddata.scratch.mit.edu"}server: "clouddata.scratch.mit.edu"__proto__:
 constructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ
 isPrototypeOf()propertyIsEnumerable: ƒ
 propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ
 toString()valueOf: ƒ valueOf()__defineGetter__: ƒ
 __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ
 __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()get __proto__: ƒ
 __proto__()set __proto__: ƒ __proto__()
 VM949:1 11:18:10 AM | inf | Successfully connected to cloud data server
 VM950:1 11:18:36 AM | inf | Play recorded
 VM951:1 11:19:11 AM | inf | Attempt reconnect to cloud server.
 VM953:1 11:19:14 AM | inf | Successfully connected to cloud data server
 VM954:1 11:20:16 AM | inf | Attempt reconnect to cloud server.
 VM956:1 11:20:17 AM | inf | Successfully connected to cloud data server
 VM957:1 11:21:19 AM | inf | Attempt reconnect to cloud server.
 VM959:1 11:21:20 AM | inf | Successfully connected to cloud data server
 VM960:1 11:22:28 AM | inf | Attempt reconnect to cloud server.
 VM962:1 11:22:33 AM | inf | Successfully connected to cloud data server
 VM963:1 11:23:45 AM | inf | Attempt reconnect to cloud server.
 VM965:1 11:23:46 AM | inf | Successfully connected to cloud data server
 VM966:1 11:24:47 AM | inf | Attempt reconnect to cloud server.
over and over! but it doesn't appear tat it has actually succeeded...

I have been aware of quite a number of times that connectivity appeared to
be down, and I haven't actually been on that many times... so it feels like
it might be quite an issue?
Please ignore me... Right now it IS working... I made a schoolboy error ;)
- However, the original issue stands with the score table and periodic
cloud down?