-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The service is currently unavailable #80
Comments
Also getting this error |
NOTE: |
Also getting this error, is there any workaround for this that we can do? |
[Update] |
Did you change anything from your side? cause for me the issue is still there |
Hi @Ashmit-Nextus
Unfortunately, I didn't do anything special about it, but it occurred for a few days and then resolved itself. https://status.firebase.google.com/incidents/rE4GeaMBDmYefDDuomVL |
I can't confirm, but what I do know is the 503 is coming from a GCM
endpoint which I know Google is sunsetting (in favor of FCM), so it might
just be the case that the endpoint is no longer available/supported.
…On Wed, Jul 7, 2021, 10:50 AM Ashmit ***@***.***> wrote:
Oh unfortunately the error is still here for me, can @bhtri
<https://github.com/bhtri> @wtesler <https://github.com/wtesler> confirm
if something changed for you guys?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AATABCLYVNNF23C364LE26TTWRZTHANCNFSM47T2HGAQ>
.
|
Thank you to everyone who shared and commented! |
[Update.2] |
Are there any updates? |
package & issue is still not update .... |
If push-receiver is updated, is it possible to solve the issue? |
nope, updated to latest 2.1.1, still doesn't work |
so now is there any way that electron app can receive notifications from Firebase Cloud Messaging (FCM)? |
As mentioned here, we may no longer be able to invoke the FCM registration endpoint. So, the possible (realistic) solution might be...using node-gyp, create a native addons for Google's C++ SDK.
Or, migrate to another service, such as Pushy or something. |
@bhtri He added the retry logic for registering fcm token. We tested it today, after several tempt try, it finally succeeded with interval from several minutes to an hour or more. But at least got fcm token. It is not published, so you can get it locally build. Get the source project. Then
Try if it can work for you eventually. |
I've been looking into creating a native addon that links to As you would expect, building for Android requires linking to Android/Java specific libraries, and building for iOS requires linking to iOS-specific libraries (Foundation, Cocoa, etc.) Many of the Firebase API implementations in that SDK do appear to implement the desktop target, but unfortunately it appears Firebase Messaging doesn't. Building Firebase Messaging with the desktop target results in this stub being compiled, rather than anything useful. (see the I'm going to explore this a little more tomorrow, but with the understanding I have, I can see two possible solutions:
If anyone has been toying around with this idea or has better insight into this than I do (it's been a while since I've played around with C++), I'd be interested to hear how far you've gotten :) |
We have been seeing fewer 503 errors over the past few days. I saw a couple of them yesterday but all-in-all it seems to be on the downtrend. Does this match other people's experiences? |
@osslate I believe all 3 implementations leverage native platform APIs for push messaging. Firebase SDK does not provide a push implementation, it provides a unified way to access platform provided APIs. The C++ API, as noted in their docs, targets the platform services.
Same with the javascript implementation, that requires the browser to support it:
Basically, the Android implementation needs to be reverse engineered again. It is likely just new endpoints. |
Hi @MatthieuLemoine
Thank you for creating a great package.
I tried to add in my project and have reference to the example project, can't get the token failed to boot successfully, and get the error as below.
It seems endpoint of FCM has changed, how to update again?
Thank you very much!
The text was updated successfully, but these errors were encountered: