Loglr
Loglr copied to clipboard
Tumblr Login Failed
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...