Poor Performance / Failure when Downloading Roster #2325
Comments
Hi 👋 @bsiever! I'll take a look into this 😄 |
Roster entries is currently one of Classroom's slowest page due to the API requests we are making to GitHub. For each roster entry, we currently make an API request to grab information such as GitHub profile user. We will work on improving this 😄 and update this issue when progress has been made. |
I am having a similar problem creating a roster imported from Sakai. I have configured Sakai for another class and encountered the 500 internal server error message several times (but figured that it might have been a configuration problem on Sakai). Eventually the roster loaded. Repeating steps for another class (STA721) and encountering the same issue, but have not been successful in getting the roster to load. Class is under 30 students. Let me know if there is anything on the LMS side that could help with configuration or if this is purely an in issue on the GitHub classroom side. |
At the moment download always times out. Is there any alternative to get the roster other than manually grabbing each page and doing a little processing? |
Update: This is a horrible, inelegant hack ...but at the moment I'm running some JavaScript to get the entire roster. (I'm not sure why advancing to the next page pegs my CPU at 100%, but it does. If this were all web requests I'd expect the delay in async-waiting.... I'm guessing there's some weird looping or polling going on) Anyway, if anyone else needs it...Right click on the page, Inspect (Chrome), select the JavaScript Console tab, paste this in, and wait for it to roll through the entire roll (eventually):
|
I also get the 500 internal server error message. I checked the configuration on Sakai, but I cannot figure out how to retrieve the roster. Could you tell me your solution? @merliseclyde |
For what it's worth, when I go to the roster page and open the Inspector I'm seeing messages like:
It seems like this should be an easy fix. (The performance issues are still there though) For a little more context: This is a large-ish class (~530 on the roster) and I'm using Chrome. |
Downloading a roster has poor performance or "hangs" (leads to a 500 "Internal server error").
The class involved is relatively large, ~620-640 students, and we've uploaded a roster. Paging through the roster is also very very slow.
It worked relatively well before many students had joined the class. I'm guessing that it's forcing a LOT of work to take place client side (CPU utilization spikes!) and/or it's doing some sort of nested looping over IDs.
To Reproduce
Expected behavior
We expect a .csv file to be downloaded (it had worked, although slowly before students had created repos).
Screenshots
Nothing of significance.
Additional context
Large class / Large roster.
Thanks for any assistance!
The text was updated successfully, but these errors were encountered: