I am getting this error log when i started downloading something and moved on to next activity and then coming back to previous activity results in App Crash. I searched for this here as well but no solution is found. How this error occurs and What should I do to resolve this.
[GoogleAccountDataServiceImpl] getToken() -> BAD_AUTHENTICATION. Account: <ELLIDED:1513926394>, App: com.google.android.gms, Service: oauth2:https://www.googleapis.com/auth/contextcontroller
dgn: Long live credential not available.
at dgo.a(:com.google.android.gms:3101)
at dfc.a(:com.google.android.gms:399)
at dfb.a(:com.google.android.gms:31371)
at dfb.a(:com.google.android.gms:313)
at egq.a(:com.google.android.gms:1201)
at ego.a(:com.google.android.gms:3554)
at ego.a(:com.google.android.gms:3196)
at dbp.a(:com.google.android.gms:349)
at dbp.a(:com.google.android.gms:213)
at dby.a(:com.google.android.gms:1501)
at dbx.a(:com.google.android.gms:914)
at dbx.e(:com.google.android.gms:526)
at dbx.d(:com.google.android.gms:445)
at dbv.b(:com.google.android.gms:562)
at jht.a(:com.google.android.gms:1080)
at jgj.a(:com.google.android.gms:53)
at bnz.a(:com.google.android.gms:5093)
at bjv.run(:com.google.android.gms:65)
at bjt.a(:com.google.android.gms:249)
at bjt.handleMessage(:com.google.android.gms:242)
at jly.run(:com.google.android.gms:139)
at jmg.run(:com.google.android.gms:450)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at jqr.run(:com.google.android.gms:17)
at java.lang.Thread.run(Thread.java:818)
ctxmgr: [BaseServerTask]Server task (WriteInterestRecordTask) got error response.
com.android.volley.VolleyError: Unable to obtain auth token - is the device online?
at bnz.a(:com.google.android.gms:5113)
at bjv.run(:com.google.android.gms:65)
at bjt.a(:com.google.android.gms:249)
at bjt.handleMessage(:com.google.android.gms:242)
at jly.run(:com.google.android.gms:139)
at jmg.run(:com.google.android.gms:450)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at jqr.run(:com.google.android.gms:17)
at java.lang.Thread.run(Thread.java:818)
10-05 13:43:15.101 3819-19797/? E/ctxmgr: [SyncServerInterestRecordsOperation]Failure response from WriteInterestRecord. StatusCode = -1
Need help, Thanks in advance !!
This issue has been observed and is reported on google samples github. No reported solution to this issue.
Related
I have no clue what I am doing wrong, the following code works well
FirebaseInstanceId.getInstance().getToken("12", "FCM");
FirebaseInstanceId.getInstance().getToken("11", "FCM");
but another one
FirebaseInstanceId.getInstance().getToken("8", "FCM")
throws an IOException about INVALID_SENDER
All from stack trace
W/System.err: java.io.IOException: INVALID_SENDER
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzo.zza(Unknown Source)
at com.google.firebase.iid.zzr.then(Unknown Source)
at com.google.android.gms.tasks.zzd.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
at java.lang.Thread.run(Thread.java:818)
The code itself runs in Runnable Thread instance
This means exactly what it says: Invalid Sender ID.
You should obtain your SENDER_ID from FCM Developers project console in the "Cloud Messaging" tab. This intended to obtain registration tokens within one project for several registered apps.
I have developed an Android application using which the user can upload large files (~1 to 2 GB in size) to his/her Google Drive account.
I am using the Google Drive Rest API for Android. Sometimes, the upload operation fails with following exception:
javax.net.ssl.SSLException: Read error: ssl=0xcfe9ee80: I/O error during system call, Software caused connection abort
at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)
at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:758)
at com.android.okhttp.okio.Okio$2.read(Okio.java:141)
at com.android.okhttp.okio.AsyncTimeout$2.read(AsyncTimeout.java:211)
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:316)
at com.android.okhttp.okio.RealBufferedSource.indexOf(RealBufferedSource.java:310)
at com.android.okhttp.okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.java:206)
at com.android.okhttp.internal.http.HttpConnection.readResponse(HttpConnection.java:239)
at com.android.okhttp.internal.http.HttpTransport.readResponseHeaders(HttpTransport.java:104)
at com.android.okhttp.internal.http.HttpEngine.readNetworkResponse(HttpEngine.java:1156)
at com.android.okhttp.internal.http.HttpEngine.readResponse(HttpEngine.java:976)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:509)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponse(HttpURLConnectionImpl.java:438)
at com.android.okhttp.internal.huc.HttpURLConnectionImpl.getResponseCode(HttpURLConnectionImpl.java:567)
at com.android.okhttp.internal.huc.DelegatingHttpsURLConnection.getResponseCode(DelegatingHttpsURLConnection.java:105)
at com.android.okhttp.internal.huc.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java)
at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:37)
at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:94)
at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:981)
at com.google.api.client.googleapis.media.MediaHttpUploader.executeCurrentRequestWithoutGZip(MediaHttpUploader.java:545)
at com.google.api.client.googleapis.media.MediaHttpUploader.resumableUpload(MediaHttpUploader.java:417)
at com.google.api.client.googleapis.media.MediaHttpUploader.upload(MediaHttpUploader.java:336)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:427)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.executeUnparsed(AbstractGoogleClientRequest.java:352)
at com.google.api.client.googleapis.services.AbstractGoogleClientRequest.execute(AbstractGoogleClientRequest.java:469)
I have following questions:
What are the reasons for such error?
Is this the issue related to network speed?
Is this is the problem with Google Drive API? If yes, how to avoid this error?
I testing the app with Android 7.0.
I would appreciate any suggestions and thoughts on this topic. Thank you.
I am working in a old project which has this snippet to use in google play service:
<meta-data android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
I couldn't find any official documentation about this, I know however that is used in device location and I would like to know what is used for because I am getting an exception and I think it may be related:
[AppCertManager] IOException while requesting key:
java.io.IOException: Invalid device key response.
at evk.a(:com.google.android.gms:274)
at evk.a(:com.google.android.gms:4238)
at evj.a(:com.google.android.gms:45)
at evd.a(:com.google.android.gms:50)
at evc.a(:com.google.android.gms:104)
at com.google.android.gms.auth.account.be.legacy.AuthCronChimeraService.b(:com.google.android.gms:4049)
at ecm.call(:com.google.android.gms:2041)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at llt.run(:com.google.android.gms:450)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at lqc.run(:com.google.android.gms:17) at java.lang.Thread.run(Thread.java:818)
Cheers!
That is the Google Play Services Version Number.
This may help you with your error, though I'm not sure of the code that's throwing it.
I have been trying to set up sample Android app of Google Identity Toolkit demo (gitkitdemo).
Have followed the instructions and successfully set up the sample. Login worked using my google accounts sometimes, but a lot of times mostly over mobile data(3G) I get following error:
https://www.googleapis.com/identitytoolkit/v3/relyingparty/createAuthUri?key=AIzaS3432QdokameMhwSzuQh_GTz423423U
07-26 14:14:13.300 5108-7306/pradeep.idtoolkit.demo E/GoogleIdpClient﹕ transient error encountered: NetworkError
java.io.IOException: NetworkError
at com.google.android.gms.auth.GoogleAuthUtil.zza(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.identitytoolkit.idp.google.GoogleIdpClient$1.call(GoogleIdpClient.java:130)
at com.google.identitytoolkit.idp.google.GoogleIdpClient$1.call(GoogleIdpClient.java:120)
at com.google.identitytoolkit.executor.ProgressRequestExecutor$2.doInBackground(ProgressRequestExecutor.java:84)
at com.google.identitytoolkit.executor.ProgressRequestExecutor$2.doInBackground(ProgressRequestExecutor.java:71)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)
My internet is working fine. Couldn't understand the reason for this. Is google identity toolkit production ready?
Please help if you have set this up before and can help me out.
Thanks.
did you properly configure your dev console set up and update the demo app settings?
https://developers.google.com/identity/toolkit/android/quickstart
Please provide more details on your error.
Im trying to execute the Android Identity Toolkit example from Google: https://github.com/googlesamples/identity-toolkit-android .
But, when I tried to execute the tutorial it gives me the next stack trace:
06-17 12:04:00.450 12306-12339/com.google.identitytoolkit.demo E/GoogleIdpClient﹕ Unrecoverable auth exception: Unknown
com.google.android.gms.auth.GoogleAuthException: Unknown
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.android.gms.auth.GoogleAuthUtil.getToken(Unknown Source)
at com.google.identitytoolkit.idp.google.GoogleIdpClient$1.call(GoogleIdpClient.java:126)
at com.google.identitytoolkit.idp.google.GoogleIdpClient$1.call(GoogleIdpClient.java:120)
at com.google.identitytoolkit.executor.ProgressRequestExecutor$2.doInBackground(ProgressRequestExecutor.java:84)
at com.google.identitytoolkit.executor.ProgressRequestExecutor$2.doInBackground(ProgressRequestExecutor.java:71)
at android.os.AsyncTask$2.call(AsyncTask.java:288)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:841)
06-17 12:04:00.475 12306-12306/com.google.identitytoolkit.demo E/ViewRootImpl﹕ sendUserActionEvent() mView == null
I tried to find some iformation about that exception, but I cant find anything clear, or anything I can use as a solution.
I did all the steps which Google say to do: https://developers.google.com/identity/toolkit/android/quickstart but still not working, probally I did something wrong. Can you help me?
I think, a lot can trigger the exception with so much configuring going on. I got the same exception. For me, the issue is in the AndroidManifest(I got everything right in the developer console configuration).
My first mistake:
android:scheme is given "Client ID for Android" instead of "Client ID for web application"
My next mistake: (I think this one is really causing the unknown exception)
identitytoolkit.server_client_id is given "Key for web applications" instead of, again, "Client ID for web application"(this time without modifying reverse like above)