Comments (11)
Would it be possible to share logcats/bug reports with us? Preferably link to a Google Drive folder but, please, don't accept access request unless it from @google.com email addresses.
See https://developer.android.com/studio/debug/bug-report for the guid on capture and read bug reports.
from android-basic-samples.
Thanks for jumping in.
This is the part of the log which looks suspicious to us.
09-01 12:48:53.142 12434 30237 E Volley : [98461] cmv.b: Unexpected response code 403 for https://www.googleapis.com/drive/v2beta/apps/self?prettyPrint=false&fields=id
09-01 12:48:53.147 12434 13963 W NetworkResponseErrorDec: StatusCode:403 Reason:[rateLimitExceeded] Location:[]
09-01 12:48:53.156 13420 13420 V GamesNativeSDK: Play Games callback indicates connection failure.
09-01 12:48:53.157 13420 14261 I GamesNativeSDK: Error connecting to Google Play: code 8.
09-01 12:48:53.163 13420 13532 V WormsZone: GameServices: Sign in finished with a result of 'SIGN IN': -3 'ERROR_NOT_AUTHORIZED'
Here are the links to the bugreports for store version and the version signed with the upload certificate. Just to make sure.
https://drive.google.com/file/d/1qVV95Yj_Dku-KMPfxzerubnJ9vER1rse/view?usp=sharing
https://drive.google.com/file/d/1A8bTOKCwfTlfyus2KQSMqUnqeu8GFItn/view?usp=sharing
from android-basic-samples.
(internal issue # b/198415052)
from android-basic-samples.
@imixerpro, bug reports received. You could stop share those files.
At glance, StatusCode:403 Reason:[rateLimitExceeded]
suggests that the account in use hitting the API rate limit. Could you try use a different account (that was not used for awhile) and see if you can reproduce the issue?
from android-basic-samples.
Hmm. It depends. It is a bit complicated but the full story is:
For most of our developers/testers running the debug build signed with upload certificate this is easily reproducible, however, we've never managed to do this with a version downloaded from Google Play. Our engineer managed to reproduce if for GP version recently. He says this is not easy to do:
- Open-close the application multiple times (this leads to logging in and storing/restoring profile)
- Remove the application from the device
- Install the application (using ADB or from GP)
- When application tries to login to GPG we get this error
Please, note that at some point application is still able to log in again. Usually it is less than a few hours, but we didn't try to figure out the reset period.
Please, note that we can't tell for sure that the following experiments are absolutely reproducible and/or that it matters what application or build is used.
When we've met this bug for the first time, using the account which didn't login for a few days led to the same response. Please, note that developer build had this issue while GP didn't.
We've got 2 applications. It is possible that one of applications refuse to login to GPG while the other is able to do this at the same time. The very same device with the very same account was used.
from android-basic-samples.
I've just noticed the following message in the log:
GamesNativeSDK: Exception in com/google/android/gms/games/snapshot/Snapshots.open: java.lang.IllegalStateException: Must include Drive.SCOPE_APPFOLDER to use snapshots!.
We've received notification e-mail about Google Dirve API changes but it doesn't look like we can change anything on our side. Any ideas what we can actually do about this?
from android-basic-samples.
@imixerpro
If you see Must include Drive.SCOPE_APPFOLDER to use snapshots!.
, you definitely need to add Drive.SCOPE_APPFOLDER.
For that you could either use Games#SCOPE_GAMES_SNAPSHOTS
(see https://developers.google.com/android/reference/com/google/android/gms/games/Games#public-static-final-scope-scope_games_snapshots)
or Scope(Scopes.DRIVE_APPFOLDER)
from android-basic-samples.
Ok. I see. The issue is that we are using GPG C++ SDK for this which is provided by Google. Could you please, clarify if we could get an updated GPG C++ SDK or if we could get GPG C++ SDK sources so that we can fix this on our own? Unfortunately nobody answers for GPG C++ SDK bug requests for more than a year, I believe.
from android-basic-samples.
when you are calling gpg::GameServices::Builder()
do you call EnableSnapshots()
on the returned value?
(See https://developers.google.com/games/services/cpp/savedgames#enabling_the_service)
from android-basic-samples.
We do.
Just to make sure we are on the same page: We've added snapshot functionality in 2020. In 2021 we've started having issues getting saved games after clean install in our office. And today I've noticed the issue with the missing Drive.SCOPE_APPFOLDER permissin. We didn't change anything significat since the snapshot functionality was released for the first time for our users.
from android-basic-samples.
Hi.
It seems that PGS team is going to keep C++ SDK in sync with the java SDK which is really great news for us. Any update on the schedule? I'm concerned we might get serious issues for our users due to the latest cloud API changes.
from android-basic-samples.
Related Issues (20)
- r
- Somehow able to download removed games on the google play store using google play games.
- Popup achievements not working HOT 1
- There's a bug with just dance now
- Hai team there is a bug in one of your instant snake game
- Google Play screen keeps loading (spinning circle) after adding auth scopes
- Cannot use snapshots without enabling the 'Saved Game' feature in the Play console HOT 2
- Drive.SCOPE_APPFOLDER deprecated!!! HOT 2
- 100% "google.play.games.games.v1.Applications.RecordApplicationActivity" since one Month HOT 1
- GamesClientStatusCodes.SNAPSHOT_CONTENTS_UNAVAILABLE status code returned when opening save backing HOT 15
- GPS v21.0.0 = cannot find symbol method `getSnapshotFromBundle(Bundle)`
- Snapshot API - High error rate in Google Cloud Platform console
- jbeubfjbuwe
- play-services-games:22.0.0 - Random (Rare) Freeze "com.google.android.gms is currently frozen" HOT 2
- Override onShowLeaderboardsRequested
- getLeaderboardsClient method is not in Games anymore
- Service
- Outdated sample projects. Update to GPGS v2.
- no change packeg name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-basic-samples.