You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I accidentally used http://127.0.0.1:9099 instead of 127.0.0.1:9099 when setting FIREBASE_AUTH_EMULATOR_HOST.
Even though the emulator thew an error like below, it still took me a while to figure out what I did wrong 🤦 :
FirebaseAppError: Error while making request: getaddrinfo ENOTFOUND http. Error code: ENOTFOUND
at C:\Users\PATH\firebase-admin-node\lib\utils\api-request.js:268:19
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async main (file:///C:/Users/PATH/auth.js:12:5) {
errorInfo: {
code: 'app/network-error',
message: 'Error while making request: getaddrinfo ENOTFOUND http. Error code: ENOTFOUND'
},
codePrefix: 'app'
}
Describe the solution you'd like
Throw an error message indicating that http and https should not be included when setting FIREBASE_AUTH_EMULATOR_HOST. Found a similar logic in
Is your feature request related to a problem? Please describe.
I accidentally used
http://127.0.0.1:9099
instead of127.0.0.1:9099
when settingFIREBASE_AUTH_EMULATOR_HOST
.Even though the emulator thew an error like below, it still took me a while to figure out what I did wrong 🤦 :
Describe the solution you'd like
Throw an error message indicating that
http
andhttps
should not be included when settingFIREBASE_AUTH_EMULATOR_HOST
. Found a similar logic infirebase-admin-node/src/storage/storage.ts
Lines 51 to 56 in a46086b
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: