-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Failed to fetch user profile #58
Comments
Isn't passport-github2 a different repository? |
Did you ever solve it? |
It still happens for me randomly. Though am using |
I'm getting the same error on passport-github (not 2), also randomly. I can be sure that the id and the secret are correct because there's a chance (yes, a chance, which means about once per 5,6 requests, weird) that I can login successfully. I'm using version 1.1.0. traceback:
upate: it's not the library's fault... seems that my dns provider is returning different ip addresses for api.github.com, some of which is unavailable. I wish passport-github could have a better error presentation though |
I had the same issue and changing the DNS helped me. This is a tutorial on how to change DNS in Mac (I recommend cloudflare) |
After I configuration for my express4.x server with github, the server shows the error: Failed to fetch user profile.
error: at /root/passport-github/examples/login/node_modules/passport-github2/lib/strategy.js:96:19
The text was updated successfully, but these errors were encountered: