-
Notifications
You must be signed in to change notification settings - Fork 207
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
Assorted GitHub OAuth login errors, difficult to reproduce; mapping them out for now #1516
Comments
Trying this I didn't see an error, it worked normally for me. But I am suspicious - i wonder if "nickname" exists for all GitHub OAuth accounts? |
mapknitter/app/controllers/sessions_controller.rb Lines 75 to 94 in 4331ef0
|
We seem to be seeing a web of errors; let's try to map it out: Scenario A
Scenario B
|
Inconsistent results, too! From @icarito -
|
I tried again from a different browser, and in Scenario B, I was able to login on second attempt via Github. |
I wonder, on the error itself, if the
|
Perhaps the 500 issue (Scenario A) is arising from a faulty response from Github? That would explain why we can't reproduce. |
(@jywarren writing here)
Yikes, @icarito and I have dug deep into some MapKnitter login issues which are not /super/ common (~56 instances in past 8 months), but worrisome. They're unfortunately VERY hard to reproduce and are inconsistent - i.e. sometimes they don't happen at all.
It's a complex system using multiple OAuth providers (github, twitter, facebook) as well as OpenID via PublicLab.org, all linked to both MapKnitter.org and SpectralWorkbench.org. What we're going to do is to map out errors we have been able to reproduce, mark them if they're "only sometimes" and then create a message and link like
Having trouble logging in?
which at least has more info and tips.The plus side is that even when errors do occur, trying the same thing a second time often works. Frustrating from a systems perspective, but at least we haven't found a hard blocking error.
Here's one, for example, showing up in Sentry:
Sentry Issue: MAPKNITTER-4G
The text was updated successfully, but these errors were encountered: