Hi Anton,
I've successfully managed to authenticate and run your project on a Linux VPS. Since I needed to generate the secrets.json, I set up a VNC interface to handle the Google login flow. Everything works perfectly after that, and I can sync the tags (including v12 E2EE keys).
However, I'm facing a major issue: the session is being dropped by Google in less than 24 hours. The microservice starts failing with a KeyError: 'Auth' because the aas_token seems to expire or get invalidated, requiring a full manual login via the UI again.
Do you know if there is a way to make the session more persistent or if Google has recently changed how they handle these emulated Android tokens? Any advice on how to avoid re-authenticating every day would be greatly appreciated.
It sounds like Google is invalidating the session. Maybe it detects suspicious behavior or something.
i've been running scripts to do this for 6months and never been invalidated. Maybe your requests were too frequent?
I have the code running and a bluetooth tag updating in traccar. However it apears as if there is no destinction between when traccar was updated from the microservice, and when the position data from google was updated.
Is this correctly understood, that in traccar, you cant see when the position was actually updated by google?
I can see this detail in the find hub app, in android, so i would assume this is exposed by google also?
Its hard to utilize the data, if you dont know how stale it is.
What do you mean by no distinction? The fix time should be the actual location time. And server time should server receiving time. Same as we do for all other devices.
what i do is have the coordinate not update traccar if it's identical to a previous one.
Enable filtering. Again, that's not something specific to the Find Hub.
I'm getting the error below when I run main.py.
Can anyone tell me if the error is something I'm doing wrong or have google blocked the api key the app uses?
Loading...
Error during fcm_install: {
"error": {
"code": 403,
"message": "Requests from this Android client application \u003cempty\u003e are blocked.",
"status": "PERMISSION_DENIED",
"details": [
{
"@type": "type.googleapis.com/google.rpc.ErrorInfo",
"reason": "API_KEY_ANDROID_APP_BLOCKED",
"domain": "googleapis.com",
"metadata": {
"service": "firebaseinstallations.googleapis.com",
"consumer": "projects/289722593072",
"androidPackage": "\u003cempty\u003e"
}
Seems like Google blocked it.
Thanks Anton,.
Dear Traccar Team,
thnk you for your work.
Is there any other option to connect items/tags via bluetooth or UWB, without using google or apple platforms?
Thank yon in advance
Omar
Not Apple/Google tags. Those are restricted to their respective networks.
Hi,
I'm trying to set up google-find-hub-sync following the official instructions, but python main.py fails during FCM registration.
The error occurs while calling firebaseinstallations.googleapis.com and returns:
PERMISSION_DENIED
API_KEY_ANDROID_APP_BLOCKED
Requests from this Android client application <empty> are blocked
This happens before any Google account login, during FCM installation / Android ID generation.
It looks like Google recently started blocking FCM registrations for emulated Android clients without a valid androidPackage / APK signature.
As a result:
secrets.json cannot be generated anymore
android_id is never created
The whole setup process fails
This does not seem to be a local configuration issue but an upstream Google / FCM change.
Is this a known issue? Are there any plans for a workaround or alternative approach?
Thanks.
Seems like Google is blocking something.
You can also run the official one in Docker.