GitHub Classroom: "Repository Access Issue" #72283
Replies: 88 comments 112 replies
-
any updates on this? I have a student encountering the same problem. |
Beta Was this translation helpful? Give feedback.
-
If your organization has 2FA requirement turned on, be sure the student actually has their account set up for it. |
Beta Was this translation helpful? Give feedback.
-
FYI, at least in the case posted above the student's GitHub account had actually been disabled. So that's something else to check. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue. Go the student's repository, in my case it was created but when the student tried accessing it, it showed the same error. Manually invite him and the error should get fixed. |
Beta Was this translation helpful? Give feedback.
-
Just wanted to drop my two cents on this: This appears to be happening for every student in our course as of February (about 200 this semester), not just the one. Thankfully it does seem like the repositories are getting created, but the issue has still not been fixed - if anything, it's worse. |
Beta Was this translation helpful? Give feedback.
-
I just had three students with the same error. I am going to try resetting the repo. |
Beta Was this translation helpful? Give feedback.
-
Deleted repo and recreate is the same error for students. up to 5 now |
Beta Was this translation helpful? Give feedback.
-
Following this post for updates. The issue has bubbled up again -- can anyone from @github-staff comment? |
Beta Was this translation helpful? Give feedback.
-
Just happened to 2 of my students as well. Different organisations... Hope its a bug and its fixed soon 😉 |
Beta Was this translation helpful? Give feedback.
-
Just happened to my students as well. While we can manually add students. It does become a pain on scale. |
Beta Was this translation helpful? Give feedback.
-
Also is happening in our course for a lot of students, have to manually add |
Beta Was this translation helpful? Give feedback.
-
Ran into this issue as well today for 2 students. They were able to access their first two assignments with no issues and could not access the third. |
Beta Was this translation helpful? Give feedback.
-
Same issue with my courses. It seems like any assignments that were accepted yesterday were okay. Anything that was accepted today ran into this issue. |
Beta Was this translation helpful? Give feedback.
-
Several students successfully accepted assignments this morning, but as of several hours ago students report "when I try to accept the assignment on github it says that I no longer have access" I submitted a ticket at https://support.github.com/ |
Beta Was this translation helpful? Give feedback.
-
Is it possible to fix this without adding all of the students to the github org? |
Beta Was this translation helpful? Give feedback.
-
I received a response from GitHub support, saying, "This issue has been reported to our team. We do not currently have a timeline for a fix release." I've developed a service that resolves this issue efficiently by automatically sending a new invitation after student accepted the assignment. It can be deployed on a server for responsive operation. |
Beta Was this translation helpful? Give feedback.
-
It may do little good, but if you're unsatisfied with the current state of support with GitHub Education, please consider voicing your concern in this thread. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I wish Github would resolve this soon. I have spent hours manually removing and then adding students as collaborators. I have done this for 30+ students by now. I teach a class of roughly 60 students. My main concern though is the disruption caused to the flow of the course. I don't think GithHub fully understands the anxiety and panic this can cause for students - i.e., when their assignment is due soon, but they cannot access it. I have already given extentions for two of the assignments. |
Beta Was this translation helpful? Give feedback.
-
Hi, I am having the same issue. https://github.com/github-staff, Can you please provide input on when a fix is expected? |
Beta Was this translation helpful? Give feedback.
-
I ended up using a variant of that bash script posted earlier and put it in a GitHub action. I didn't want to have a delay, though, so for my scheduler, I set up webhooks that will trigger the action every time an assignment repo is created. It seems to be triggering correctly, but when I try to create a dummy assignment to try to accept, I don't have the error. Hopefully that remains the case. And, hopefully, if there are issues this hack catches the issue and fixes it for my students. |
Beta Was this translation helpful? Give feedback.
-
What does it mean to manually delete the invitation for each student? Is it that in GitHub Classroom I delete their repos (which, in my case are never created)? |
Beta Was this translation helpful? Give feedback.
-
Hey all, just a few observations that might help us figure out useful workarounds that we are "welcome to use".
The second point is interesting to me; it means that the classroom interface isn't just checking to see if the student has an invite, but that the invite was issued by the bot (or the check to see if they have an invite/collaborator access is bugged. That seems equally likely). Normally students can go back to the classroom URL and get to their repo link again, but that doesn't seem to work with instructor issued invites. I threw together a really quick and dirty hack that automates the second point: https://gist.github.com/neloe/0af28947e3b28018141c01751bdd0f0f I'm pondering a solution where instead of students accepting the repository, I bulk create the assignments and invites with GH CLI, then distribute the links to students, essentially circumventing the whole classroom interface. Based on past messing around I think the interface will still pick up their repositories and allow us to see them (much like you can have unit tests/github actions embedded as part of the base repo instead of writing them in the interface). I'm starting week 3 of a semester were over half of the students in over half of my classes can't even start the assignments, and I'll be honest, that's less than ideal. I like the idea of the webhook services recommended above (both the typescript based one and the bash script that I missed while fielding support requests from students and faculty), but until I get out of triage mode testing and deploying (and hosting!) one of these kinds of solutions is more than I have mental bandwidth for. I won't lie; I'm inches away from throwing in the towel and having them download a zip archive of their repository, take screenshots of their code running, and submit those. A better solution might be making them org members and creating their own forks. The downside to that is I don't want them to see all the assignments ahead of time, and I'd like them to not have their work visible to each other, so that's a whole other issue. A big thanks to everyone who's been contributing ideas, workarounds (both working and non), and sharing advice and solutions. While I still feel like my classes using GHCR are pretty much screwed right now, it feels a little less overwhelming to be essentially crowdsourcing data collection on the issue. |
Beta Was this translation helpful? Give feedback.
-
This suddenly started happening to me this semester with all assignments. This is the 6th time I'm running the course and when I look at "people" in my team settings, I noticed that in the previous semesters each student was automatically added as a 'member' of my organization, but this semester they're being added as 'outside collaborators'. I think this might be related to the fact that all student repositories are now The fact that nearly all new invitations are failing now is concerning. I'm wondering if inviting all the students to join the organization first is the way to go. |
Beta Was this translation helpful? Give feedback.
-
Update: I could be one of the lucky ones, but I just had a room of students (admittedly a smaller number than I'd like) accept all their assignments for the week and it let them in. I don't know if anything changed under the hood or anyone with an open ticket has heard back on it or not. Invites issued over the weekend still didn't work, but they could access their list of open invites by going to https://github.com/settings/organizations which meant any invites I reissued over the weekend could be accepted. These are all assignment links created 3 ish weeks ago (I tried to get my course infrastructure set up before the semester started), so I don't know if the timing of the assignment creation matters. I'm going to try with another group in an hour, but hopefully this is a sign of less bad things. Hopefully it's not a case of "who gets the working instance of GitHub today". |
Beta Was this translation helpful? Give feedback.
-
Hi all, I was able to have 100+ students all successfully accept the assignment today. I ended up removing the old assignment link and created a new one for all to use. Would really appreciate comment and communication from @github-staff on this matter, though. This has caused many instructors and students heartache over the last week, and the only communication I've received is from other instructors. |
Beta Was this translation helpful? Give feedback.
-
I see this thread has died down for now. For when this ultimately becomes a problem again (since GitHub does not care about it), I created a template repository that can be cloned and edited to be a GitHub Actions workflow that sends reinvites to students. It was not tested explicitly, but adapted from working scripts by Claude Code. There is a good chance you have to fix things before it works correctly We moved on from GitHub classroom mid-semester due to these issues. Maybe this is what GitHub wants so that they can shelve the project. |
Beta Was this translation helpful? Give feedback.
-
Is anyone else's students getting HTTP 500 errors just trying to accept the GitHub Classroom invitation? |
Beta Was this translation helpful? Give feedback.
-
I wanted to share a solution that I will be using for my course. Many of the fixes I've seen involve scripts trying to fix permissions after the student has tried clicking on the github classroom link. The drawback with that is that the students get refused entry to repo, you then have to keep running a script to change permissions and allow them access. This approach creates their repo and modifies the permissions before I then send them the usual github classroom link. Now when they click on it they should have no issues because repo and permissions are already setup correctly. I can run this for all the assignments in my course at the beginning of term and forget about everything. This approach needs you to know the students github id. I plan to send out a welcome email asking them to register for a github account and then fill in a microsoft form with name, email and github id. I have an excel file with names, github id and emails from the form. I also had to set up a personal access token (its in Github Settings > Developer Settings > Personal Access Tokens. Choose Tokens (classic ). Select the repo checkbox and generate the PAT. I then have that in a .json file containing {'API_KEY': pat code} Once I've collected github ids I then run a python script which interacts with github api. It can be rerun as it won't overwrite student repos that have been created previously or change permissions for students that have already been modified. You need to set: Then you should be able to run this python script. Finally, send out the links for github classroom assignments as usual.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
We're using GitHub Classroom to help students set up repositories in my ~1000 student CS1 course at Illinois. Overall it works great! However, it seems like every semester we run into some strange issue.
This term one student arrives at the following screen when trying to accept the Classroom invitation:
I've checked both through Classroom and in our organization where the repositories are created, and can verify that there are no repositories created for this student. In the past when we've had repository creation issues I've been able to delete the semi-created repository and start over. But in this case I'm at a loss for what to do. I'm suggesting that the student try creating a new GitHub account and see if that helps, but that's not a great workaround.
I'm happy to provide more details if someone from GitHub can look into this more closely. Thanks in advance!
A suggestion...(optional)
No response
Beta Was this translation helpful? Give feedback.
All reactions