Skip to content
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

Unable to log into Codecov with GitHub #335

Closed
ararslan opened this issue Apr 16, 2024 · 25 comments
Closed

Unable to log into Codecov with GitHub #335

ararslan opened this issue Apr 16, 2024 · 25 comments
Assignees

Comments

@ararslan
Copy link

Describe the bug

Within the last few weeks, I lost the ability to log into Codecov using my GitHub account, after having been able to log in successfully for years. Whenever I attempt to log in from https://codecov.io, I get a blank page that just says "upstream request timeout." This appears to be the same issue as https://community.codecov.com/t/login-error-upstream-request-timeout/2353 except that none of the proposed solutions have had any effect for me. I get a 200 response when I curl -L https://codecov.io/login/github?code=....

Environment (please complete the following information):

  • Browser: I've tried with both Chrome and Firefox, including with browser extensions disabled
  • System: Local machine running macOS

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codecov.io
  2. Hover over Login and select GitHub
  3. See error

Expected behavior
Successful login

Screenshots
Looks identical to the linked forum post.

Additional context
I used to be able to log into Codecov just fine.

@thomasrockhu-codecov
Copy link
Contributor

@ararslan I'm having troubles reproducing, are you still running in this?

@ararslan
Copy link
Author

Hi @thomasrockhu-codecov, thanks for checking on this. I just tried again to log in and I am indeed still seeing "upstream request timeout."

@thomasrockhu-codecov
Copy link
Contributor

@ararslan the last thing I can think of is deleting codecov cookies, are you able to do that?

@ararslan
Copy link
Author

ararslan commented Apr 16, 2024

I'm not sure how to delete only codecov cookies, though I've tried in a fresh browser session after clearing all cookies and encountered the same problem.

@drazisil-codecov
Copy link

Hi @ararslan ,

I'm hoping you hit https://status.codecov.com/incidents/8tncd1jxnzkg yesterday when you tried. Can I ask you to try again and I'll see what the logs say?

@ararslan
Copy link
Author

@drazisil-codecov, I just tried again and unfortunately no dice; I still get "upstream request timeout."

@drazisil-codecov
Copy link

Having a hard time finding this in logs. Can you share the exact URL you are getting the 502/503 on?

@ararslan
Copy link
Author

https://codecov.io/login/github?code=422eb3a2c86bb75b6580&state=beb414abdcbe41de9bd85c6d9b66abb6

@drazisil-codecov
Copy link

Got it! Thanks. Let me see what's going on now...

@drazisil-codecov
Copy link

@ararslan Do you happen to have the GitHub app installed? If so, can you try reinstalling it?

@ararslan
Copy link
Author

Sorry, what is the GitHub app you're referring to? I assume I don't have it installed, otherwise I'd probably know, haha.

@drazisil-codecov
Copy link

It would be https://github.com/apps/codecov

If you don't have it installed, no worries. Can you also visit your https://github.com/settings/applications page and revoke any Codecov entries, and try again?

@ararslan
Copy link
Author

Ah right, the Codecov app for GitHub. I previously had it installed but uninstalled it and revoked all entries as part of following the steps in the forum post linked in the OP. Trying to install it again requires logging into Codecov, which brings me to the same blank "upstream request timeout" page.

@drazisil-codecov
Copy link

@ararslan, Can you delete any cookies you have (or use private browsing) and try again? 🤞

@ararslan
Copy link
Author

Same result 😔

@drazisil-codecov
Copy link

I have no more ideas for now @ararslan :-/

Are you ok with us deleting your account? This will only affect repos under the ararslan name on GitHub. Any orgs you are a member of will remain untouched. If not, that's ok. I will keep digging.

@ararslan
Copy link
Author

What are the implications of deleting my account? I assume afterward I could sign up again and rerun CI on relevant repositories in my account to repopulate the coverage info? I use one of the Codecov seats in my employer's account; to confirm, this would not be affected if my account is deleted and recreated?

@drazisil-codecov
Copy link

H @ararslan ,

Yes, it would affect only your personal repos. Your seat in your company's org would remain untouched.

@ararslan
Copy link
Author

Okay, sounds like deleting my account is low stakes then; you have my sign-off to 🚮. Just let me know and I'll then try recreating an account.

@ararslan
Copy link
Author

@drazisil-codecov, I just signed into Codecov with GitHub! Did you delete my account or make any other changes that could have enabled that or did the Coverage Deities look favorably upon me today?

@drazisil-codecov
Copy link

@drazisil-codecov, I just signed into Codecov with GitHub! Did you delete my account or make any other changes that could have enabled that or did the Coverage Deities look favorably upon me today?

I... don't know. Asking. Are your personal repos (if you had any) still there with coverage?

@drazisil-codecov
Copy link

We did a small part. We will hold off for the rest if it is working for you now.

@ararslan
Copy link
Author

Are your personal repos (if you had any) still there with coverage?

They are indeed! And, mysteriously, when I went to reinstall the Codecov app, it was already installed on my account.

@ararslan
Copy link
Author

We did a small part. We will hold off for the rest if it is working for you now.

Thank you for the part you did. 🙂 So far so good but I'll let you know if I run into any issues.

@drazisil-codecov
Copy link

Very glad to hear! I'll mark solved for now, please let me know if it acts up again (still have zero clue why it was erroring 🤷‍♀️ )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

3 participants