paco icon indicating copy to clipboard operation
paco copied to clipboard

Android: Cannot login on app

Open intille opened this issue 4 years ago • 6 comments

I'm on a Moto G5 Plus running Android 8.1.0

I downloaded the app from scratch. Accepted permissions. Then clicked Login. I selected my gmail account. At that point the app goes back to the login screen and nothing happens. Clicking on login again does nothing. The only way I can get the request for the email back is to uninstall and reinstall.

Any idea what may be going on here?

intille avatar Sep 15 '21 15:09 intille

We can reproduce the error. Will investigate a fix.

Note: log output: Auth : [GoogleAccountDataServiceImpl] getToken() -> NETWORK_ERROR. Account: ELLIDED:-1588804096, App: com.pacoapp.paco, Service: oauth2:https://www.googleapis.com/auth/userinfo.email 09-15 14:40:15.736 2329 2429 W Auth : [GetToken] GetToken failed with status code: NetworkError 09-15 14:40:15.754 26585 26689 E Paco : [AsyncTask #1 ] Exception: java.io.IOException: NetworkError 09-15 14:40:15.754 26585 26689 E Paco : at com.google.android.gms.auth.GoogleAuthUtil.zza(Unknown Source:196) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source:1) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source:5) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.pacoapp.paco.net.GetAuthTokenInForeground.fetchToken(GetAuthTokenInForeground.java:26) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.pacoapp.paco.net.AbstractAuthTokenTask.doRequest(AbstractAuthTokenTask.java:87) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.pacoapp.paco.net.AbstractAuthTokenTask.doInBackground(AbstractAuthTokenTask.java:57) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at com.pacoapp.paco.net.AbstractAuthTokenTask.doInBackground(AbstractAuthTokenTask.java:37) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at android.os.AsyncTask$2.call(AsyncTask.java:333) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) ~[na:0.0] 09-15 14:40:15.754 26585 26689 E Paco : at java.lang.Thread.run(Thread.java:764) ~[na:0.0]

BobEvans avatar Sep 15 '21 21:09 BobEvans

This should now be fixed in 4.3.2 just released yesterday. There is a new issue that needs to be addressed for anyone building an experiment that triggers on package install or uninstall but that should affect exactly zero people that we haven't talked to already.

BobEvans avatar Oct 08 '21 20:10 BobEvans

Unfortunately, this problem is not fixed for me in 4.3.2. I experience the exact same behavior. I select my gmail account, and then it goes back to the main screen with the LOGIN button, and I can't get the app to do anything.

If there is something I can do to help gather data on this problem, let me know. It has rendered the software unusable for me (and I gather a bunch of other people, given some messages about the app no longer working on Android).

intille avatar Oct 13 '21 18:10 intille

I just uploaded 4.3.3 which updates the library for Google Play Services (which is responsible for auth). Can you give it a try? Also, if it is still not working could you send us a bug report with the Android system tools, see here: https://github.com/google/paco/wiki/Capturing-a-Bug-Report-on-Android

BobEvans avatar Oct 15 '21 20:10 BobEvans

The good news is the update allowed me to get passed the login screen and get logged in and accept an experiment. (Thanks!)

The bad news is that once I accepted the experiment, in the "My Current Experiments" list, if I click on it, the app crashes. I reported this so there should be a bug report for it.

intille avatar Oct 17 '21 16:10 intille

Glad part of the problem is solved. I did not see a bug report show up anywhere that maps to the My Current Experiments crashing yet. I will keep an eye out for it.

BobEvans avatar Oct 18 '21 18:10 BobEvans