Description
[REQUIRED] Step 2: Describe your environment
- Operating System version: Linux (Heroku Dyno)
- Firebase SDK version: ^9.0.0
- Firebase Product: auth
- Node.js version: 10.6.0
- NPM version: 6.7.0
[REQUIRED] Step 3: Describe the problem:
My Heroku Server randomly started crashing recently and wont boot back up (even though it works perfectly fine locally). If I comment out const firebaseAdmin = firebaseApp.auth()
, then it deploys with no crash, but as soon as I comment it back in, it crashes. This is breaking our applications and so this has become a P0 issue for us. Any help would be greatly appreciated. I will post screenshots of the error and the line of code I commented out that fixed the error. Thank you!
Steps to reproduce:
Deploy a heroku server and import the firebase-admin sdk and call the .auth()
method with the same node and npm env. This issue has arisen within the past week, I'm not sure exactly when it started.
Relevant Code:
I've gone through and tested it several times over, and consistently this ^ is the line of code causing it to crash.
Again this is NOT happening locally but for some reason only on a deployed heroku dyno instance.
Any help on this would be SUPER appreciated because it is currently breaking several of our apps
our firebaseApp
firebase configuration has been working perfectly up until around last week and the error does not get thrown until .auth()
is called so Im inclined to believe we have everything set up properly, unless something has changed recently about how it should all be setup configuration wise