darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)
#102log in with github failing for some users
+1 Consistently fails for me with:
error Sorry.. your GET request to /register/github/response?code=add360add3e8acd7e88e&state=pifygsytshhofkywtizyiuebmwfizcitsyeoevdqiscfhdoteh failed.
StatusCodeException (Status {statusCode = 404, statusMessage = "Not Found"}) [ ("Server","GitHub.com") , ("Date","Mon, 10 Mar 2014 20:09:23 GMT") , ("Content-Type","application/json; charset=utf-8") , ("Transfer-Encoding","chunked") , ("Status","404 Not Found") , ("X-RateLimit-Limit","5000") , ("X-RateLimit-Remaining","4997") , ("X-RateLimit-Reset","1394485762") , ("X-OAuth-Scopes","user") , ("X-Accepted-OAuth-Scopes","admin:public_key, read:public_key, write:public_key") , ("X-GitHub-Media-Type","github.beta") , ("X-Content-Type-Options","nosniff") , ("Access-Control-Allow-Credentials","true") , ("Access-Control-Expose-Headers","ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval") , ("Access-Control-Allow-Origin","*") , ("X-GitHub-Request-Id","ADFFDBDE:3BE1:E225878:531E1BF3") , ("Content-Encoding","gzip") , ("X-Response-Body-Start","{\"message\":\"Not Found\",\"documentation_url\":\"http://developer.github.com/v3\"}") ] (CJ {expose = []})
Same issue here.
I'm not sure if it's related, but I changed my GitHub account name in the past. Maybe that's what triggers the 404. Has anybody else for whom it's failing changed theirs?
+1 here.
+1 to nand's question. ibnfirnas, Ale, did you ever change your github account name ?
- added tag +4
Some issue here. I don't remember ever changing my github account name.
I'm having this issue (whenever I'm trying to log in or "link with github" in the settings), but I don't remember whether I have ever changed the name at github. (I'd say it's more probable that I haven't.)
maerwald reports that registration via github failed with "StatusCodeException (Status {statusCode = 404, statusMessage = "Not Found"})". The github account showed the darcs app has access, but login via github fails.
In the darcs hub log, this is probably related:
StatusCodeException (Status {statusCode = 404, statusMessage = "Not Found"}) [("Server","GitHub.com") ,("Date","Mon, 04 May 2015 16:53:39 GMT") ,("Content-Type","application/json; charset=utf-8") ,("Transfer-Encoding","chunked") ,("Status","404 Not Found") ,("X-RateLimit-Limit","5000") ,("X-RateLimit-Remaining","4955") ,("X-RateLimit-Reset","1430760178") ,("X-OAuth-Scopes","user") ,("X-Accepted-OAuth-Scopes","admin:public_key, read:public_key, write:public_key") ,("X-OAuth-Client-Id","..............") ,("X-GitHub-Media-Type","github.v3") ,("X-XSS-Protection","1; mode=block") ,("X-Frame-Options","deny") ,("Content-Security-Policy","default-src 'none'") ,("Access-Control-Allow-Credentials","true") ,("Access-Control-Expose-Headers","ETag, Link, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval") ,("Access-Control-Allow-Origin","*") ,("X-GitHub-Request-Id","........:....:........:..........") ,("Strict-Transport-Security","max-age=31536000; includeSubdomains; preload") ,("X-Content-Type-Options","nosniff") ,("Content-Encoding","gzip") ,("X-Response-Body-Start","{\"message\":\"Not Found\",\"documentation_url\":\"https://developer.github.com/v3\"}") ,("X-Request-URL","GET https://api.github.com:443/user/keysaccess_token=...................................") ] (CJ {expose = []})
I think we need to add more debug logging to Github.hs
Github OAuth api docs
hub-dev application settings at github
<maerwald> sm: the documentation says "GET https://api.github.com/user?access_token=..." but the X-Request-URL field from the error message says "GET https://api.github.com:443/user/keysaccess_token=..." ... <maerwald> and it says before that "Sorry.. your GET request to /login/github/response?code=..." failed.
hub oauth settings at google
- status set to closed