Skip to content

Chrome does not register to gcm anymore  #676

Open

Description

@GRBurst

Hey,

I am facing the issue that Chrome does not register to gcm for some time now, although it did before.

It seems to be related to an issue with the sender id.

Here is the related logcat output:

**GmsGcmRegisterSvc** 
onBind: Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms }
**GmsHttpFormClient** 
-- Request --
X-GOOG.USER_AID=3557875368816913745&device=3557875368816913745&app=com.android.chrome&appid=d-fambNGVew&cert=38918a453d07199354f8b19af05ec6562ced5788&app_ver=353811002&app_ver_name=70.0.3538.110&gmsv=13280000&scope=*&osv=27&sender=BDd3_hVL9fZi9Ybo2UUzA284WG5FZR30_95YeZJsiApwXKpNcF1rRPF3foIiBHXRdJI2Qhumhf6_LFTeZaNndIo&subtype=BDd3_hVL9fZi9Ybo2UUzA284WG5FZR30_95YeZJsiApwXKpNcF1rRPF3foIiBHXRdJI2Qhumhf6_LFTeZaNndIo
**GmsGcmRegisterMgr** 
java.io.IOException: Error=INVALID_SENDER
	at org.microg.gms.common.HttpFormClient.request(HttpFormClient.java:90)
	at org.microg.gms.common.HttpFormClient$1.run(HttpFormClient.java:187)
	at java.lang.Thread.run(Thread.java:764)

I get this result in all apps that try to register for web push notification, e.g.

https://gauntface.github.io/simple-push-demo/

This however works with Firefox, but sadly ff still misses several other features of web push...

Kind regards

Activity

  1. ale5000-git commented on Jul 9, 2019

    @ale5000-git
    Member

    Could you please update to this build and retry?

  2. GRBurst commented on Jul 9, 2019

    @GRBurst
    Author

    Could you please update to this build and retry?

    Happy to hear from you! I will try it asap. Does it differ from the official v0.2.8.17785 release?

  3. patrickdrd commented on Jul 9, 2019

    @patrickdrd

    I've tested the page and it works on me with the build from here:
    https://microg.org/dl/GmsCore-v0.2.8.17785-2-8a0010a.apk

    however there are still issues with chrome pushes:
    #668

    subscribing to this page:
    https://tests.peter.sh/push-message-generator/
    still doesn't work

  4. ale5000-git commented on Jul 9, 2019

    @ale5000-git
    Member

    @GRBurst: The build 0.2.8.17785-4 (note the 4) include all current changes after the latest release.

    @patrickdrd: You have an older build.

  5. patrickdrd commented on Jul 9, 2019

    @patrickdrd

    are these builds uploaded somewhere?
    I wasn't informed that there was an update,
    as I understand these builds should be nightlies,
    I usually update through the stable channel,
    but I made an exception because I've had this crash with chrome after 0.2.8 (stable) was released

    edit: and please don't respond with f-droid,
    I'm totally against it, I hate it,
    I asked if there's a url,
    e.g. they aren't on the page:
    https://microg.org/download.html

  6. ale5000-git commented on Jul 9, 2019

    @ale5000-git
    Member

    No, they aren't anywhere, they are only linked on issues here by mar-v-in when needed.
    But I keep a copy in my repo: https://github.com/micro5k/microg-unofficial-installer/tree/master/zip-content/files/variants/priv-app

    Although it is a nightlies, currently it is more stable than the last release.

  7. GRBurst commented on Jul 11, 2019

    @GRBurst
    Author

    I still cannot register for push with Chrome or chromium while it is working with Firefox. I will send you a log output later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions