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

Android: Cannot login on app #1678

Open
intille opened this issue Sep 15, 2021 · 6 comments
Open

Android: Cannot login on app #1678

intille opened this issue Sep 15, 2021 · 6 comments
Assignees

Comments

@intille
Copy link

intille commented Sep 15, 2021

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?

@BobEvans
Copy link
Collaborator

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
Copy link
Collaborator

BobEvans commented Oct 8, 2021

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 BobEvans self-assigned this Oct 8, 2021
@BobEvans BobEvans closed this as completed Oct 8, 2021
@intille
Copy link
Author

intille commented Oct 13, 2021

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).

@BobEvans
Copy link
Collaborator

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 BobEvans reopened this Oct 15, 2021
@intille
Copy link
Author

intille commented Oct 17, 2021

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.

@BobEvans
Copy link
Collaborator

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.

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

No branches or pull requests

2 participants