Installations: Could not process request. Application offline. (installations/app-offline) error with firebase - firebase

I am getting an error when trying to run my application locally:
I am only getting this error in the chrome browser. I have tried different things, but I am not sure why it is Chrome specific.

I suspect this isn't a Firebase issue, but rather a Chrome one. My Chrome for Android the last day or two has been acting up and saying it's offline when it isn't, which I suspect is leading to navigator.onLine to be false. This would lead Firebase to throw this error, for example during auth token refresh: https://github.com/firebase/firebase-js-sdk/blob/7d916d905ba16816ac8ac7c8748c83831ff614ce/packages/installations/src/helpers/refresh-auth-token.ts#L60-L62
My app works fine on localhost on Chrome for Mac 87.0.4280.88, but is throwing this error on Chrome for Android 8.0.4280.101, Android 11.

Related

Getting "Somthing went wrong" when trying to login my CLI into Firebase

I'm coming back into using Firebase after about 2 years, and now I'm having trouble trying to login my CLI into Firebase (yes, I have installed npm i -g firebase-tools). I've tried 3 different commands for it, all of them result in one of the images below:
firebase login
firebase login:ci
firebase login:ci --no-localhost
Here is the result, after I allow Firebase CLI to integrate with my account:
I had already tried this 1 month ago on a Windows machine, but now I'm getting it again on my ArchLinux. Does anyone even have a clue about what's going on? I am logged in successfully on the browser, so I guess it's a problem on Google's end, with an incredibly generic error message.
Just found out someone else has had the same problem yesterday.
I've also registered this as a bug on the respective repo on Github.
And here is what appears on my Inspector's Console, 2 improvement issues:
I don't know why or how, but opening the link through Chrome (or another browser?) actually worked. I was opening it through Brave, thinking that, since both are based on the Chrome engine, nothing would change.
Try using the incognito mode or private tab. I was using Firefox and I get this error. But it worked when I tried in a Private tab.

Handshake error in client (OS Error: WRONG_VERSION_NUMBER(tls_record.cc:242))

i have an app published on Play Store. It has been working fine since now and yesterday when i entered my app i have realised that my Cloud Storage from Firebase wasn't working. I have entered the app and it was blank where the pictures were supposed to be seen. Then i debugged the app and i'm getting this error:
-My app is coded by Flutter/Dart
-I'm working with Firebase
'''
Handshake error in client (OS Error: WRONG_VERSION_NUMBER(tls_record.cc:242))
'''
I have checked everything and it's not working. I'm pretty sure it isn't about my codes because it was working yesterday.
Can it be about Firebase Storage rules? Because i have the same rules as i have yesterday and it was working until today.
Need help!
Edit: When i connect another wifi, it works fine.
Edit 2: Somehow the problem went away. I guess it was a problem with Firebase Storage but on their side.

Firestore INTERNAL UNHANDLED ERROR in chrome 53

I am trying to debug my webOS app in chrome 53 because this is the browser that webos uses so its easy for me to check everything but I am getting a firebase error. Firebase is working fine in other browsers and even in webOS (I checked by installing app on tv) But not in this browser. Is there any solution about this?
Screenshot showing all the errors (Ignore the first error)

Recent breakage of google-sign-in with flutter on Chrome?

As of 1 day ago, I seem to have trouble with google sign in running inside a flutter app on firebase.
When loading the webapp, I see an exception with obfuscated stack traces:
Uncaught TypeError: t.gpT is not a function
at Im.$1 (google_sign_in_web.dart:113)
at Object.a4P (js_helper.dart:1060)
at Object.Yq (core_patch.dart:84)
at a6F (js_patch.dart:541)
at js_patch.dart:519
at e.zo (cb=gapi.loaded_0:200)
at lk (cb=gapi.loaded_0:203)
at gk (cb=gapi.loaded_0:203)
at _.Rj.hU (cb=gapi.loaded_0:203)
at Qj (cb=gapi.loaded_0:195)
This happens when deploying on firebase and on Chrome, not when running on localhost (same chrome), or when using the firebase deployment on Safari.
I'm properly stumped - I don't remember having upgraded the browser or changing anything in the code. Neither do I remember having fiddled with the oauth tokens.
Any ideas how to properly debug this ? I'm fairly inexperienced in dart/firebase/JS.
[Update]: I found that I can reproduce this even with the Google provided example at:
https://github.com/flutter/plugins/tree/master/packages/google_sign_in/google_sign_in/example
This works when I run it with flutter run -d chrome or flutter run -s web-server
When I do a firebase deploy, the app runs fine in Safari. In Chrome I get above exception. I tried to disable all extensions, same thing.
Aha! The culprit here was blocking of third party cookies. If I turn off third party cookie blocking, things work fine.
Yikes, this makes using Google-sign-in unusable for webapps whose customers are blocking third party cookies.

Can't connect to Firestore when Chrome is updating

This has happened on my localhost couple of times. I get Error: Failed to get document because the client is offline. error when Chrome is being updated. Authentication doesn't work either. I don't get the same error on other browsers. How can I prevent this issue?
My UI tech stack: React, Redux, Webpack

Resources