GitClub icon indicating copy to clipboard operation
GitClub copied to clipboard

Github account login failed

Open richwu opened this issue 9 years ago • 14 comments

Double checked, the credentials login github website is OK, but failed for gitclub app

richwu avatar Oct 22 '16 05:10 richwu

@richwu it works well in my phone. Would you please check out your network or account and password?

TellH avatar Oct 22 '16 06:10 TellH

Fail to login even though the account(email) and password is right.

tellen7 avatar Oct 22 '16 09:10 tellen7

@tellen7 What phone did you use to test. It works well in MIUI.

TellH avatar Oct 22 '16 11:10 TellH

VIBEUI (one kind of android, created by lenovo)

tellen7 avatar Oct 22 '16 11:10 tellen7

@tellen7 If you have time, you can clone this repository and install in your phone. Watch the log it outputs.

TellH avatar Oct 22 '16 11:10 TellH

I‘ll try.’

tellen7 avatar Oct 22 '16 11:10 tellen7

Fail to login by using XIAOMINOTE even though the username and password is right.

lrnrzg avatar Oct 24 '16 06:10 lrnrzg

@richwu @MarshallZhug @tellen7 please use release version login in......

JackyAndroid avatar Oct 25 '16 01:10 JackyAndroid

My phone is Huawei P6. I'm running it under Chinese network. Is this 'login failed' problem caused by the Gov firwall?

On Sat, Oct 22, 2016 at 7:46 PM, tellen7 [email protected] wrote:

I‘ll try.’

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TellH/GitClub/issues/1#issuecomment-255523821, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuR4vIRSTniIXWpISCBA9zH6yMtIBpaks5q2fedgaJpZM4KdxNr .

richwu avatar Oct 25 '16 18:10 richwu

@richwu @TellH @tellen7 @MarshallZhug 和墙不墙的没有关系,使用github open api要使用签名版本的软件,不能使用debug版本,如果release版登录不上去就是网太慢了。。

JackyAndroid avatar Oct 26 '16 01:10 JackyAndroid

Because of the network, I can not login.

RWebRTC avatar Oct 28 '16 10:10 RWebRTC

@RWebRTC Can you offer the error log?

TellH avatar Oct 28 '16 13:10 TellH

@TellH I can login with my username and password. But If I login with my email and password, I get the error(404):

11-10 10:10:30.750 19060-19060/tellh.com.gitclub E/PressGestureDetector: removeCallbacks
11-10 10:10:30.750 19060-19060/tellh.com.gitclub E/PressGestureDetector: stopTextBoom
11-10 10:10:30.799 19060-27503/tellh.com.gitclub D/OkHttp: --> POST https://api.github.com/authorizations http/1.1
11-10 10:10:30.799 19060-27503/tellh.com.gitclub D/OkHttp: Content-Type: application/json; charset=UTF-8
11-10 10:10:30.799 19060-27503/tellh.com.gitclub D/OkHttp: Content-Length: 137
11-10 10:10:30.799 19060-27503/tellh.com.gitclub D/OkHttp: {"client_id":"82248be95d9d71c099b5","client_secret":"dd5afb626caf53f932a6b432c625c27b4214065e","note":"GitClub","scopes":["user","repo"]}
11-10 10:10:30.799 19060-27503/tellh.com.gitclub D/OkHttp: --> END POST (137-byte body)
11-10 10:10:32.086 19060-27503/tellh.com.gitclub D/OkHttp: <-- 201 Created https://api.github.com/authorizations (1286ms)
11-10 10:10:32.086 19060-27503/tellh.com.gitclub D/OkHttp: Server: GitHub.com
11-10 10:10:32.086 19060-27503/tellh.com.gitclub D/OkHttp: Date: Thu, 10 Nov 2016 02:10:31 GMT
11-10 10:10:32.086 19060-27503/tellh.com.gitclub D/OkHttp: Content-Type: application/json; charset=utf-8
11-10 10:10:32.086 19060-27503/tellh.com.gitclub D/OkHttp: Content-Length: 475
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: Status: 201 Created
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Limit: 5000
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Remaining: 4946
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Reset: 1478745850
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: Cache-Control: private, max-age=60, s-maxage=60
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: Vary: Accept, Authorization, Cookie, X-GitHub-OTP
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: ETag: "d06c874d27e45c2de99294f3ec1ae7b8"
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: Location: https://api.github.com/authorizations/60499441
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: X-GitHub-Media-Type: github.v3; format=json
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: 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
11-10 10:10:32.087 19060-27503/tellh.com.gitclub D/OkHttp: Access-Control-Allow-Origin: *
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: Content-Security-Policy: default-src 'none'
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: X-Content-Type-Options: nosniff
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: X-Frame-Options: deny
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: X-XSS-Protection: 1; mode=block
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: Vary: Accept-Encoding
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: X-Served-By: 3e3b9690823fb031da84658eb58aa83b
11-10 10:10:32.088 19060-27503/tellh.com.gitclub D/OkHttp: X-GitHub-Request-Id: 246E5544:15602:461A2DC:5823D717
11-10 10:10:32.091 19060-27503/tellh.com.gitclub D/OkHttp: {"id":60499441,"url":"https://api.github.com/authorizations/60499441","app":{"name":"GitClub","url":"https://github.com/TellH","client_id":"82248be95d9d71c099b5"},"token":"4004463f3bef1a9fecc4d235f0b26fe337a0c361","hashed_token":"8af376f3c56e2e004a2bb3cf7a84652892e4d5b34cda4753e1bb9ae22dfb8930","token_last_eight":"37a0c361","note":"GitClub","note_url":null,"created_at":"2016-11-10T02:10:31Z","updated_at":"2016-11-10T02:10:31Z","scopes":["user","repo"],"fingerprint":null}
11-10 10:10:32.091 19060-27503/tellh.com.gitclub D/OkHttp: <-- END HTTP (475-byte body)
11-10 10:10:32.113 19060-27503/tellh.com.gitclub D/OkHttp: --> GET https://api.github.com/users/[email protected] http/1.1
11-10 10:10:32.113 19060-27503/tellh.com.gitclub D/OkHttp: --> END GET
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: <-- 404 Not Found https://api.github.com/users/[email protected] (282ms)
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Server: GitHub.com
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Date: Thu, 10 Nov 2016 02:10:32 GMT
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Content-Type: application/json; charset=utf-8
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Transfer-Encoding: chunked
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Status: 404 Not Found
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Limit: 5000
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Remaining: 4945
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-RateLimit-Reset: 1478745850
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-GitHub-Media-Type: github.v3; format=json
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: 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
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Access-Control-Allow-Origin: *
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Content-Security-Policy: default-src 'none'
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: Strict-Transport-Security: max-age=31536000; includeSubdomains; preload
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-Content-Type-Options: nosniff
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-Frame-Options: deny
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-XSS-Protection: 1; mode=block
11-10 10:10:32.396 19060-27503/tellh.com.gitclub D/OkHttp: X-GitHub-Request-Id: 246E5544:15602:461A317:5823D717
11-10 10:10:32.397 19060-27503/tellh.com.gitclub D/OkHttp: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
11-10 10:10:32.397 19060-27503/tellh.com.gitclub D/OkHttp: <-- END HTTP (77-byte body)
11-10 10:10:32.414 19060-19060/tellh.com.gitclub W/System.err: retrofit2.adapter.rxjava.HttpException: HTTP 404 Not Found
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.OperatorMapResponseToBodyOrError$1.onNext(OperatorMapResponseToBodyOrError.java:43)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.OperatorMapResponseToBodyOrError$1.onNext(OperatorMapResponseToBodyOrError.java:38)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:173)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.Subscriber.setProducer(Subscriber.java:211)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.Subscriber.setProducer(Subscriber.java:205)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.Observable.unsafeSubscribe(Observable.java:10150)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:250)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OperatorMerge$MergeSubscriber.onNext(OperatorMerge.java:147)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeMap$MapSubscriber.onNext(OnSubscribeMap.java:77)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.OperatorMapResponseToBodyOrError$1.onNext(OperatorMapResponseToBodyOrError.java:41)
11-10 10:10:32.415 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.OperatorMapResponseToBodyOrError$1.onNext(OperatorMapResponseToBodyOrError.java:38)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$RequestArbiter.request(RxJavaCallAdapterFactory.java:173)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.Subscriber.setProducer(Subscriber.java:211)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeMap$MapSubscriber.setProducer(OnSubscribeMap.java:102)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.Subscriber.setProducer(Subscriber.java:205)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:152)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at retrofit2.adapter.rxjava.RxJavaCallAdapterFactory$CallOnSubscribe.call(RxJavaCallAdapterFactory.java:138)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.Observable.unsafeSubscribe(Observable.java:10150)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:48)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeMap.call(OnSubscribeMap.java:33)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:48)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OnSubscribeLift.call(OnSubscribeLift.java:30)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.Observable.unsafeSubscribe(Observable.java:10150)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.operators.OperatorSubscribeOn$1.call(OperatorSubscribeOn.java:94)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.schedulers.CachedThreadScheduler$EventLoopWorker$1.call(CachedThreadScheduler.java:228)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at rx.internal.schedulers.ScheduledAction.run(ScheduledAction.java:55)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:154)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
11-10 10:10:32.417 19060-19060/tellh.com.gitclub W/System.err:     at java.lang.Thread.run(Thread.java:818)
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╔════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║ Thread: main
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║ DefaultSubscriber.onError  (DefaultSubscriber.java:29)
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║    LogUtils.e  (LogUtils.java:37)
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║ 404
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╚════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╔════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║ Thread: main
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.420 19060-19060/tellh.com.gitclub E/GitClub: ║ DefaultSubscriber.onError  (DefaultSubscriber.java:30)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║    LogUtils.e  (LogUtils.java:37)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ Not Found
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╚════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╔════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ Thread: main
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ DefaultSubscriber.onError  (DefaultSubscriber.java:33)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║    LogUtils.e  (LogUtils.java:37)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ Not Found
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╚════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╔════════════════════════════════════════════════════════════════════════════════════════
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ Thread: main
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ DefaultSubscriber.onError  (DefaultSubscriber.java:35)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║    LogUtils.e  (LogUtils.java:37)
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╟────────────────────────────────────────────────────────────────────────────────────────
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ║ {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
11-10 10:10:32.421 19060-19060/tellh.com.gitclub E/GitClub: ╚════════════════════════════════════════════════════════════════════════════════════════

How to fix it ? Update the string.xml from <string name="hint_username">UserName Or Email</string> to <string name="hint_username">UserName</string> ?

RWebRTC avatar Nov 10 '16 02:11 RWebRTC

嗯嗯,自己随便签个名运行就能登录了

lizwangying avatar Dec 06 '17 03:12 lizwangying