New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error 500 When Accessing an Assignment in GitHub Classroom #1117

Closed
gkapfham opened this Issue Aug 31, 2017 · 14 comments

Comments

Projects
None yet
9 participants
@gkapfham

gkapfham commented Aug 31, 2017

Hello! Thank you so much for developing GitHub Classroom. So far, my students and I have really enjoyed using the system. In advance of running the laboratory session today, I have tested it repeatedly with small class sizes for our first laboratory assignment and everything always worked correctly.

That is, it was possible to:

  • Instructor: Create an organization for the class
  • Instructor: Connect the organization to the GitHub Classroom
  • Instructor: Create an assignment template in a "starter" GitHub repository
  • Instructor: Create an assignment in GitHub Classroom using the starter repository
  • Instructor: Share the link for the assignment so that students can begin the assignment
  • Student: Accept the assignment and clone the repository
  • Student: Complete the assignment and push their solutions
  • Instructor: View the list of assignments that the students submitted

However, today when I had 40 people follow the last three steps in this list I could no longer see the
list of started assignments. That is, the final step in the above list no longer works. Instead, when I click the following link:

https://classroom.github.com/classrooms/31012255-computer-science-111-fall-2017-at-allegheny-college/assignments/computer-science-111-fall-2017-lab-1

I see a message that declares "Internal Server Error" and then error code 500. It turns out that I have never seen this error after testing GitHub Classroom with the same assignment for approximately the past 1-2 weeks. However, when I was previously testing these steps, there were never more than three students working on the assignment.

I have tried to access the GitHub Classroom and the specific assignment, which is at:

https://classroom.github.com/classrooms/31012255-computer-science-111-fall-2017-at-allegheny-college

and all of those screens always appear correctly. However, when I specifically try to see the assignment submissions for the first laboratory assignment, I always see the aforementioned error.

I have tried these links using both Chrome and Firefox and I always see exactly the same error message. I also see the same error message even when I use different computer. For what is is worth, I have also created a class roster with email addresses but not yet associated the email addresses with the GitHub account for each student; I planned to do that today but could not because I saw the 500 error message.

I should also note that I quickly searched the lists of issues for GitHub Classroom and did not immediately see that this type of issue was already submitted; it if was, please point me in the right direction and I will take steps to try to further solve this matter.

Okay, I hope that this helps you to better understand the context and the error that I am experiencing.

If your schedule permits, can you get back to me with a step that I could take to debug the issue further or to resolve it fully? Since I am not running GitHub Classroom on Heroku, but instead using your installation and server it seems that I may need this issue to be resolved before I can grade these assignments. Of course, please let me know if there is anything that I can do to support the resolution of this issue!

@minneapolis-edu

This comment has been minimized.

Show comment
Hide comment
@minneapolis-edu

minneapolis-edu Sep 1, 2017

I believe I have the same issue.

I have a 500 error on one of my assignments; it's also the first assignment (here) in my classroom.

Wondering if it may be related to creating a class roster?
The assignment was initially working fine, I shared the link, students created their own sandbox projects, they've been working, assignment is working.
Then, I created a class roster, linked student names with their GitHub accounts
And now I see the 500 error for that assignment.

My other assignments are all viewable normally.

Many thanks!

minneapolis-edu commented Sep 1, 2017

I believe I have the same issue.

I have a 500 error on one of my assignments; it's also the first assignment (here) in my classroom.

Wondering if it may be related to creating a class roster?
The assignment was initially working fine, I shared the link, students created their own sandbox projects, they've been working, assignment is working.
Then, I created a class roster, linked student names with their GitHub accounts
And now I see the 500 error for that assignment.

My other assignments are all viewable normally.

Many thanks!

@jonathan-g

This comment has been minimized.

Show comment
Hide comment
@jonathan-g

jonathan-g Sep 3, 2017

I have the same issue. I created and assignment and created a class roster.

Everything was fine at first. Now I have 25 students who have submitted their assignments and when I click on either the assignment (to open the assignment page) or when I open "Classroom Management" and click on "Roster Management" I get a 500 error.

jonathan-g commented Sep 3, 2017

I have the same issue. I created and assignment and created a class roster.

Everything was fine at first. Now I have 25 students who have submitted their assignments and when I click on either the assignment (to open the assignment page) or when I open "Classroom Management" and click on "Roster Management" I get a 500 error.

@tarebyte

This comment has been minimized.

Show comment
Hide comment
@tarebyte

tarebyte Sep 4, 2017

Member

@gkapfham @minneapolis-edu @jonathan-g my apologies for the delay, I've been spending the weekend squashing some issues and perf problems.

If you're curious the massive PR is here: #1127

I've gone through and verified for each of your accounts that everything is working properly, please let me know if you run into any other issues.

Thanks again for your patience.

Member

tarebyte commented Sep 4, 2017

@gkapfham @minneapolis-edu @jonathan-g my apologies for the delay, I've been spending the weekend squashing some issues and perf problems.

If you're curious the massive PR is here: #1127

I've gone through and verified for each of your accounts that everything is working properly, please let me know if you run into any other issues.

Thanks again for your patience.

@tarebyte tarebyte added the bug 🐞 label Sep 4, 2017

@tarebyte tarebyte closed this Sep 4, 2017

@gkapfham

This comment has been minimized.

Show comment
Hide comment
@gkapfham

gkapfham Sep 4, 2017

Hello @tarebyte! Thanks for making this fix. I noticed #1127 and then immediately checked to see if the "Internal Server Error" was resolved. I am delighted to report that it seems to be fixed now. Thanks for taking time over your weekend to work on this issue. @minneapolis-edu and @jonathan-g, do you also notice that the error has been resolved?

Finally, is there anything that I might have done to cause the server to get into this incorrect internal state? That is, do I need to avoid using GitHub Classroom in some way so that this does not happen again? My understanding is that #1127 resolves the issue and I can continue as before. But, please let me know if that understanding is not correct.

Thanks again! Your help is greatly appreciated!

gkapfham commented Sep 4, 2017

Hello @tarebyte! Thanks for making this fix. I noticed #1127 and then immediately checked to see if the "Internal Server Error" was resolved. I am delighted to report that it seems to be fixed now. Thanks for taking time over your weekend to work on this issue. @minneapolis-edu and @jonathan-g, do you also notice that the error has been resolved?

Finally, is there anything that I might have done to cause the server to get into this incorrect internal state? That is, do I need to avoid using GitHub Classroom in some way so that this does not happen again? My understanding is that #1127 resolves the issue and I can continue as before. But, please let me know if that understanding is not correct.

Thanks again! Your help is greatly appreciated!

@tarebyte

This comment has been minimized.

Show comment
Hide comment
@tarebyte

tarebyte Sep 4, 2017

Member

Finally, is there anything that I might have done to cause the server to get into this incorrect internal state?

You didn't do anything TBH, there were some issues with the way we were building the queries and loading data.

Member

tarebyte commented Sep 4, 2017

Finally, is there anything that I might have done to cause the server to get into this incorrect internal state?

You didn't do anything TBH, there were some issues with the way we were building the queries and loading data.

@darylrue

This comment has been minimized.

Show comment
Hide comment
@darylrue

darylrue Feb 6, 2018

I'm having the same issue. I just created an assignment, which is showing an invitation link, but when I click the assignment I get the 500 error.

darylrue commented Feb 6, 2018

I'm having the same issue. I just created an assignment, which is showing an invitation link, but when I click the assignment I get the 500 error.

@tarebyte

This comment has been minimized.

Show comment
Hide comment
@tarebyte

tarebyte Feb 6, 2018

Member

@dwrue1 we had a bad deploy which I've reverted, would you mind checking it out to see if your issue has resolved?

Member

tarebyte commented Feb 6, 2018

@dwrue1 we had a bad deploy which I've reverted, would you mind checking it out to see if your issue has resolved?

@darylrue

This comment has been minimized.

Show comment
Hide comment
@darylrue

darylrue Feb 6, 2018

darylrue commented Feb 6, 2018

@shaleenx

This comment has been minimized.

Show comment
Hide comment
@shaleenx

shaleenx Jul 12, 2018

Hi @tarebyte,

I am facing the same issue again. Would it be possible for you or someone on your team to check it?
I am trying to accept this assignment given to me, but I am receiving "500: Internal server error".
Your attention and prompt help is greatly appreciated.

Thanks

shaleenx commented Jul 12, 2018

Hi @tarebyte,

I am facing the same issue again. Would it be possible for you or someone on your team to check it?
I am trying to accept this assignment given to me, but I am receiving "500: Internal server error".
Your attention and prompt help is greatly appreciated.

Thanks

@d12

This comment has been minimized.

Show comment
Hide comment
@d12

d12 Jul 12, 2018

Contributor

@shaleenx Sorry about that, this should be sorted!

Contributor

d12 commented Jul 12, 2018

@shaleenx Sorry about that, this should be sorted!

@PatWg

This comment has been minimized.

Show comment
Hide comment
@PatWg

PatWg Sep 12, 2018

Hi,

Sorry to dig up this post again, but I am too receiving an Error 500 when checking my roster.
Is there a way to fix this issue ?

Thanks,

PatWg commented Sep 12, 2018

Hi,

Sorry to dig up this post again, but I am too receiving an Error 500 when checking my roster.
Is there a way to fix this issue ?

Thanks,

@gkapfham

This comment has been minimized.

Show comment
Hide comment
@gkapfham

gkapfham Sep 12, 2018

Hi @PatWg, I wanted to write to confirm that I am also seeing this error in exactly the same situation.

gkapfham commented Sep 12, 2018

Hi @PatWg, I wanted to write to confirm that I am also seeing this error in exactly the same situation.

@PatWg

This comment has been minimized.

Show comment
Hide comment
@PatWg

PatWg Sep 12, 2018

@gkapfham Wait, but I thought that your problem got fixed ? Did it come back again?

PatWg commented Sep 12, 2018

@gkapfham Wait, but I thought that your problem got fixed ? Did it come back again?

@PatWg

This comment has been minimized.

Show comment
Hide comment
@PatWg

PatWg Sep 12, 2018

Huh, actually, I just checked my roster now, and everything is in order.
Do we just need to wait a bit actually?

PatWg commented Sep 12, 2018

Huh, actually, I just checked my roster now, and everything is in order.
Do we just need to wait a bit actually?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment