cs136 / seashell

Seashell is an online environment for editing, running, and submitting C programming assignments.
GNU General Public License v3.0
38 stars 19 forks source link

Uncaught (in promise) TypeError: Object.values is not a function(…) in MC mac labs #850

Open yuliswe opened 6 years ago

yuliswe commented 6 years ago

Log in gets stuck.

===>>> appStateReducerAction <<<=== Object {fileOpTarget: undefined, conflictContents: Array[0], projects: Array[0], marmosetProjects: undefined, marmosetInterval: 0…} Object {type: "LOGIN_BUSY"}
DebugLogs.ts:103 Logging in at https://www.student.cs.uwaterloo.ca/~cs136/seashell-new/cgi-bin/login2.cgi ...
DebugLogs.ts:103 Request succeeded.
DebugLogs.ts:103 Connecting to websocket...
DebugLogs.ts:103 Socket is already connected. Closing and reconnecting.
DebugLogs.ts:103 Connecting to websocket...
DebugLogs.ts:103 Existing websocket is closed. Reopening new connection.
DebugLogs.ts:103 Waiting for server response -- setting timeout for 5000 seconds...
DebugLogs.ts:103 Request -1 succeeded after 13 ms Object {success: true, id: -1, result: Array[32]}
DebugLogs.ts:103 Authenticating websocket...
DebugLogs.ts:103 Request -2 was sent Object {id: -2, type: "clientAuth", response: Array[4]}
DebugLogs.ts:103 Request -2 succeeded after 20 ms Object {success: true, id: -2}
WebsocketClient.ts:312 Uncaught (in promise) TypeError: Object.values is not a function(…)
yuliswe commented 6 years ago

I still have the permission to log in the old seashell.. I should be able to log into the new one right?

yuliswe commented 6 years ago

Is there a dev server I can login to quickly try some stuff without access to the course account? A student level access is fine.

e45lee commented 6 years ago

IIRC, I think this comes up as a time-out isn’t canceled properly when we try to log in while an existing log in is happening.

This is all client side code anyways so you should be able to build and test without a Linux server.

You’ll have to ask Nick about the status of the Seashell development server. On Wed, Jan 3, 2018 at 11:33 AM Yu Li notifications@github.com wrote:

Is there a dev server I can login to quickly try some stuff without access to the course account? A student level access is fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cs136/seashell/issues/850#issuecomment-355057820, or mute the thread https://github.com/notifications/unsubscribe-auth/ADK8iiNUHfuCj4UodjOdLgzcmFXa1Qepks5tG6u2gaJpZM4RR8Yj .

yc2lee commented 6 years ago

Duplicate of #835 Signing in the first time often gives this error, trying again and waiting a few seconds will sign in

The dev server is for current, active developers, or by special request from course ISC or instructors.

yuliswe commented 6 years ago

Ok that's fine. I just want to show someone the interface quickly. I'm able to log in on my own PC at home, but not from the Macs in the MC 3005 lab. If you are debugging this problem you might want to go there. It has nothing to do with the incognito mode. I can't log in from there by any means.