GCM registration issue from extension

169 views
Skip to first unread message

Asesh Shrestha

unread,
Jun 13, 2025, 5:29:17 AMJun 13
to Chromium Extensions
Hi all, recently we have started to notice that Chromium's GCM registration fails from both our extension in our Chromium fork as well as from Chrome too. It was working till yesterday but all of a sudden, it's not working anymore.

The FCM id has been hidden and we tried the following code from dev-tools:
const FCM_SENDER_ID = "***";
chrome.gcm.register([FCM_SENDER_ID], function(registrationId) {
  if (chrome.runtime.lastError) {
    console.error("Failed to register for GCM (for push notifications):", chrome.runtime.lastError.message);
    return;
  }
  console.log("GCM Registration ID for push notifications:", registrationId);
});

// To receive messages:
chrome.gcm.onMessage.addListener(function(message) {
  console.log("Received GCM push message:", message);
});
Console.log doesn't log anything as it's failing.

I have uploaded a screenshot from the chrome://gcm-internals page. As you can see it continues to fail to register from both our extension with ID: jdbjambdaklncijmadilpibpedecgfao as well as com.google.android.gms.

The log from Chromium's log file:
[5360:13720:0612/135622.720:VERBOSE1:net\base\network_delegate.cc:37] NetworkDelegate::NotifyBeforeURLRequest: https://android.clients.google.com/c2dm/register3
[5360:13720:0612/135622.720:VERBOSE1:net\base\network_delegate.cc:37] NetworkDelegate::NotifyBeforeURLRequest: https://android.clients.google.com/c2dm/register3
[25980:13136:0612/135622.805:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[25980:13136:0612/135622.806:VERBOSE1:google_apis\gcm\engine\registration_request.cc:255] Delaying GCM registration of app: com.google.android.gms, for 27881 milliseconds.
[25980:13136:0612/135622.806:ERROR:google_apis\gcm\engine\registration_request.cc:291] Registration response error message: DEPRECATED_ENDPOINT
[25980:13136:0612/135622.806:VERBOSE1:google_apis\gcm\engine\registration_request.cc:255] Delaying GCM registration of app: jdbjambdaklncijmadilpibpedecgfao, for 23087 milliseconds.

It was working fine till yesterday but starting today, it keeps failing. Our FCM ID is valid too. Can someone give us some pointers to find out the root cause of this issue?

Thanks

”This email and any files transmitted with it may be confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender.”
Screenshot 2025-06-12 142741.png

Asesh Shrestha

unread,
Jun 17, 2025, 11:04:04 PMJun 17
to Chromium Extensions, Asesh Shrestha
NVM, looks like Google finally fixed this issue yesterday. It has started working again since yesterday.
Reply all
Reply to author
Forward
0 new messages