I am trying to send emails within certain firebase functions. When I do, the email appears in the database as expected, but with this error
Error: 69155816175488:error:1408F10B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:332:
Does anyone know what could be causing this? I believe that the smtp server is set up correctly.
Related
I tried to use trigger mail, I set up the extension and made a write to the database but the trigger mail operation was rejected this was the error: "Error: Missing credentials for "PLAIN"". The docs show examples of using the admin sdk to write the data for trigger mail. My question is do I absolutely need to use the admin sdk for this, and if so where do I store the adminkey.json that firebase generates for me, for security purposes?
I'm experiencing a very weird issue with the Firebase Auth using Facebook. A month ago I've created a test user in Facebook to log in with like I always do, when I try to use it now, I get this error:
Error: An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.
I've seen this error before when people move from Facebook to Google with the same email. HOWEVER, this is not the case. This dummy Facebook user is totally not linked to a Google account. I can also find it's email address back in the Firebase console where it is still marked as Facebook:
This issue first appeared in the same timeframe as an upgrade of the Facebook plugin and SDK. I've however retested this account now on the old plugin and SDK versions and the issue remains, so this seems to be a coincidence.
Other accounts seem to work but we had a similar issue in our production environment which we now think could have been the same. This gives us the opportunity to fully debug this one.
Extra information:
The (web)app runs on Angular (Ionic cordova). We are using the firebase.auth.FacebookAuthProvider, the error appears on both the Cordova (firebase.auth().signInWithCredential) as web (afAuth.auth.signInWithPopup) version.
The network calls to Facebook and Googleapis seem to be ok and return the correct identity (see screenshot 2), it seems as if the Firebase package is incorrectly giving this error.
Console error:
Firebase Identitytoolkit Network response:
I am working in Firebase SMS. I have downloaded the Firebase quick start unity 2018.3.7f1. I have followed all the methods adding (googleservices.json, sha1 method) While running the app the sms is received in my phone.
But the problem is when i entered the sms and try to authenticate the sms.The firebase displayed the error .
Sign in encounter an error.
AuthError:Session Expired
Firebase.FirebaseException: The sms code has expired.Please re-send
the verification code to try again.
actually entered within the seconds. But it says the above error.
Any one can give the suggestion. How to solve this error.
I'm developing an web site in PWA way, I'd like to use push notification function.
But I can not find the way to get the status of push notification permission(not asked/blocked/permitted) from browser with javascript code.
Is there any handy way to get it? Or any complicated way?
Currently I'm using firebase messaging's requestPermission() function, which always request the permission to user. I want to get the status of permission without any request to user.
There's Notification object in browser. I could check permission status with Notification.permission which returns granted, default, denied in string.
I get this error when trying to authenticate via Google using custom JWT tokens generated with Flask-restful and firebase-token-generator-python library. In short:
ref.authWithCustomToken(authData)
Error message:
INVALID_TOKEN: Failed to validate MAC.
I am using Angular 2.0.0-beta.2 / Ionic 2. The app is being tested on an android device using cordova-plugin-googleplus (with necessary credentials in Google Developer Console). I have recently enabled Cross-domain requests on nginx server. I can't find any documentation related to this error on Firebase or SO.
Any ideas?
The problem was sending an Authentication Token to Firebase formatted as a JSON string via authData.toString() including delimiters and quotes. This must have thrown the Failed to validate MAC error, whatever that means.
I got the same error when using the incorrect key. I was using the apiKey provided right on the homepage in the Firebase Console while I should have been using the database secret key given at https://console.firebase.google.com/project/YOUR_PROJECT/settings/database.