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

Tumblr Login Failed #8

Open
jalpa1234 opened this issue Sep 7, 2017 · 2 comments
Open

Tumblr Login Failed #8

jalpa1234 opened this issue Sep 7, 2017 · 2 comments
Assignees

Comments

@jalpa1234
Copy link

jalpa1234 commented Sep 7, 2017

Hello,

I am using 'com.daksh:loglr:1.2.1' dependency in my android application for tumblr login.

It works in other devices but when try to login Tumblr in "Moto g4 plus" device (Android OS 7.0) it always calls onLoginFailed listener.

Below is my stack trace:

09-07 17:53:08.124 4232-6796/com.oolotta W/DefaultRequestDirector: Authentication error: Unable to respond to any of these challenges: {oauth_consumer=WWW-Authenticate: Oauth_consumer realm="api", cookie=WWW-Authenticate: Cookie realm="web"}
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: oauth.signpost.exception.OAuthNotAuthorizedException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.handleUnexpectedResponse(AbstractOAuthProvider.java:243)
09-07 17:53:08.125 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.retrieveToken(AbstractOAuthProvider.java:193)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at oauth.signpost.AbstractOAuthProvider.retrieveRequestToken(AbstractOAuthProvider.java:74)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:152)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:34)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:304)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-07 17:53:08.126 4232-6796/com.oolotta W/System.err: at java.lang.Thread.run(Thread.java:761)
09-07 17:53:08.134 4232-4232/com.oolotta E/FA: Name must consist of letters, digits or _ (underscores). Type, name: event, Login Failed
09-07 17:53:08.134 4232-4232/com.oolotta W/System.err: com.tumblr.loglr.Exceptions.LoglrLoginException: Authorization failed (server replied with a 401). This can happen if the consumer key was not correct or the signatures did not match.
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:162)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at com.tumblr.loglr.TaskTumblrLogin.doInBackground(TaskTumblrLogin.java:34)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at android.os.AsyncTask$2.call(AsyncTask.java:304)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-07 17:53:08.135 4232-4232/com.oolotta W/System.err: at java.lang.Thread.run(Thread.java:761)
09-07 17:53:08.139 4232-6721/com.oolotta D/FA: Logging event (FE): _err, Bundle[{_o=auto, _el=12, _ev=Login Failed, _sc=LoglrActivity, _si=4348724245434743105, _err=2}]
09-07 17:53:08.194 4232-6721/com.oolotta V/FA: Recording user engagement, ms: 1036
09-07 17:53:08.195 4232-6721/com.oolotta V/FA: Activity paused, time: 28381262
09-07 17:53:08.199 4232-6721/com.oolotta D/FA: Logging event (FE): _e, Bundle[{_o=auto, _et=1036, _sc=LoglrActivity, _si=4348724245434743105}]
09-07 17:53:08.237 4232-6721/com.oolotta V/FA: Activity resumed, time: 28381285
09-07 17:53:13.239 4232-6721/com.oolotta V/FA: Inactivity, disconnecting from the service

Please help...

@ArcherN9 ArcherN9 self-assigned this Sep 11, 2017
@ArcherN9
Copy link
Owner

Hey jalpa1234. Thanks for bringing this in. I don't have Motorola phone to test this on my end. I'll see what I can do to rectify this.

From your stracktrace, I'm able to deduce that this is arising from the tokens never being sent across to Tumblr for OAuth. I'll look this up.

@SH4LIN
Copy link

SH4LIN commented Oct 20, 2020

It's working Fine in Other phone but in motorola phone i get com.tumblr.loglr.Exceptions.LoglrAPIException even after setting consumer key and consumer secret key

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants