# Server error on GitHub login

**URL:** <https://community.codecov.com/t/server-error-on-github-login/4028>\
**Category:** Support\
**Created:** [December 28, 2022, 9:03pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028 "2022-12-28T21:03:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![tavsec](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tavsec/32/2794_2.png) [@tavsec](https://community.codecov.com/u/tavsec)\
**Post date:** [December 28, 2022, 9:03pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/1 "2022-12-28T21:03:03Z")

</div>

Hey everyone!  
I tried logging in to Codecov using GitHub login, but I get `"Server Error (500)"` everytime I try to login. I tried incognito mode and changing the browsers, but the error still persists. Screenshot below:  
 ![image](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/5/5379571bce729e6f8c3a829190bca81076c37eda.png)

I think there may be a problem with GitHub login? Or is there an error on my side?

Have a nice day!

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 2, 2023, 10:44am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/2 "2023-01-02T10:44:08Z")

</div>

Hello, I am having the same exact issue as @tavsec:

![Screenshot 2023-01-02 at 12.42.56 PM](https://canada1.discourse-cdn.com/flex029/uploads/codecov/original/2X/8/82029fef2fdca5600de4f21304b4582febc8abb7.png)

Something must be broken with Codecov’s GitHub authentication flow. I also tried different browsers, incognito mode, nothing worked. But when I tried a different GitHub account, I managed to log in.

My GitHub account is associated with an organization which had granted access to Codecov in the past. Not sure if this is relevant, but I thought to mention it in case it helps for debugging purposes.

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 4, 2023, 9:19pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/3 "2023-01-04T21:19:29Z")

</div>

Is anyone monitoring this forum, or at least the contact form on [https://about.codecov.io/contact/](https://about.codecov.io/contact/)?

I tried to reach out to you via the form, but nobody replied.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 4, 2023, 9:25pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/4 "2023-01-04T21:25:09Z")

</div>

@tavsec @PaulRBerg there isn’t a problem that I’m aware of. Have you tried to removing Codecov cookies and trying to log in again?

Are you able to share the GH usernames you are using?

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 4, 2023, 9:53pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/5 "2023-01-04T21:53:15Z")

</div>

@tom thanks for the quick reply.

I just explicitly removed the Codecov cookies with the [Edit this cookie](https://chrome.google.com/webstore/detail/editthiscookie/fngmhnnpilhplaeedifhccceomclgfbg?hl=en) extension, re-tried logging in, and got the same error. However, I knew this was going to happen, since as I said above I tried logging it in an Incognito window and I still got the same error.

My GitHub username is “paulrberg”, and the GitHub organization that used to be connected to Codecov is “sablierhq”.

---

<div class="post-metadata">

**Author:** ![tavsec](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tavsec/32/2794_2.png) [@tavsec](https://community.codecov.com/u/tavsec)\
**Post date:** [January 5, 2023, 3:49am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/6 "2023-01-05T03:49:40Z")

</div>

@tom thanks for the reply, I also tried deleting the cookies, but it does not seem to work. My Github username is [tavsec](https://github.com/tavsec).

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 6, 2023, 11:12am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/7 "2023-01-06T11:12:34Z")

</div>

@tom the issue continues to persist, this is a major blocker. We’d like to use Codecov but we simply cannot sign in.

Is there anything I could do to help you debug this? Share console logs, record my screen, etc.?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 12, 2023, 3:09am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/8 "2023-01-12T03:09:55Z")

</div>

Hey @tavsec @PaulRBerg, sorry I was out sick over the past few days.

I think the team is going to need a few more details to debug this. If you could provide a few more details about how you are getting to this page that would be useful. In particular, what URL you are starting at, what login page you see, and if this is the first page you see on login.

Thanks for your patience, I know this is a little frustrating.

---

<div class="post-metadata">

**Author:** ![tavsec](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tavsec/32/2794_2.png) [@tavsec](https://community.codecov.com/u/tavsec)\
**Post date:** [January 12, 2023, 8:48am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/9 "2023-01-12T08:48:28Z")

</div>

Hey @tom , so here are the steps:

1. I tried to login on Codecov landing page ([https://about.codecov.io/](https://about.codecov.io/)) by hovering the Login button on the left side of navigation, and selecting GitHub

2. On the next step, I click on the “Login with GitHub” button

3. On the GitHub Authorize page, I grant access to the only organization that I need to use Codecov on (the last one on the screenshot)  

4. I click on Authorize codecov button

5. I get redirected to Codecov, but it returns error 500

I hope this is enough for your team to debug/reproduce. Otherwise, I can provide more info.

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 12, 2023, 9:19am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/10 "2023-01-12T09:19:06Z")

</div>

@tom not sure what you guys did in the meantime, but logging in worked now!

@tavsec can you try again, too?

---

<div class="post-metadata">

**Author:** ![tavsec](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tavsec/32/2794_2.png) [@tavsec](https://community.codecov.com/u/tavsec)\
**Post date:** [January 12, 2023, 9:30am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/11 "2023-01-12T09:30:25Z")

</div>

@PaulRBerg I tried, still doesn’t work unfortunately ☹ . Did you do anything different that I did in the message that I posted above?

---

<div class="post-metadata">

**Author:** ![PaulRBerg](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/paulrberg/32/2800_2.png) [@PaulRBerg](https://community.codecov.com/u/PaulRBerg)\
**Post date:** [January 12, 2023, 10:07am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/12 "2023-01-12T10:07:25Z")

</div>

Oh, sorry to hear that.

I didn’t do anything different - just went back to the landing page, clicked on "Login, and so forth.

It might be worth it to try to invalidate the access that Codecov has to your GitHub account. I did this a few weeks ago. Maybe this is some sort of sneaky cache invalidation issue?

---

<div class="post-metadata">

**Author:** ![tavsec](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tavsec/32/2794_2.png) [@tavsec](https://community.codecov.com/u/tavsec)\
**Post date:** [January 14, 2023, 5:56pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/13 "2023-01-14T17:56:02Z")

</div>

I tried completely removing all of the Codecov “connections” from my Github account, still no luck tho ☹ . Will wait for @tom’s response.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 16, 2023, 4:21am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/14 "2023-01-16T04:21:16Z")

</div>

@tavsec, the majority of the team is on holiday until Tuesday. I’ll get back to you then.

---

<div class="post-metadata">

**Author:** ![hugovidafe](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/hugovidafe/32/2833_2.png) [@hugovidafe](https://community.codecov.com/u/hugovidafe)\
**Post date:** [January 17, 2023, 6:51am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/15 "2023-01-17T06:51:27Z")

</div>

I’ve the exact problem. I don’t have any connection between Codecov-GitHub. Cookies erased and tried on incognito.

---

<div class="post-metadata">

**Author:** ![hugovidafe](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/hugovidafe/32/2833_2.png) [@hugovidafe](https://community.codecov.com/u/hugovidafe)\
**Post date:** [January 20, 2023, 11:01am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/16 "2023-01-20T11:01:07Z")

</div>

Bumping.  
I’m on GitHub Student Pack, Idk if it can affect this issue.  
Also, I checked if deleting an account is the problem, it isn’t; I tested because I deleted my account years ago.  
Please, I need the integration on my repository. Thx!

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 20, 2023, 11:11pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/17 "2023-01-20T23:11:41Z")

</div>

@tavsec @hugovidafe we have identified a bug that is causing this issue and are working on a fix

---

<div class="post-metadata">

**Author:** ![abemedia](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/abemedia/32/2840_2.png) [@abemedia](https://community.codecov.com/u/abemedia)\
**Post date:** [January 21, 2023, 11:46am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/18 "2023-01-21T11:46:51Z")

</div>

I’ve been having the same issue. Been trying to log in for over a month… GitHub username abemedia.  
I tried deleting cookies and removing the connection on GitHub. Also used to contact form to contact you guys around a month ago but still no reply…

What’s ETA on the fix?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [January 23, 2023, 8:04pm UTC](https://community.codecov.com/t/server-error-on-github-login/4028/19 "2023-01-23T20:04:29Z")

</div>

@abemedia I don’t have an ETA, but the fix is in review. I’ll reply back here when it’s in. Hopefully this will solve the issue.

---

<div class="post-metadata">

**Author:** ![hugovidafe](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/hugovidafe/32/2833_2.png) [@hugovidafe](https://community.codecov.com/u/hugovidafe)\
**Post date:** [January 24, 2023, 2:56am UTC](https://community.codecov.com/t/server-error-on-github-login/4028/21 "2023-01-24T02:56:34Z")

</div>

Yep, I changed my GH’s username, logged in, and renamed back, so now I’m inside, I’m not gonna log out for some time. Thx @axieum!

[Next page](https://community.codecov.com/t/server-error-on-github-login/4028.md?page=2)
