CLI login fails with an Error to make a request message
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 11.0.1
Platform: macOS {11.6.1 (20G224)}
[REQUIRED] Test case
- Download
firebase-tools
orfirebase-cli
and authenticate from the terminal (Alacritty, default MacOS terminal, ZSH shell)
[REQUIRED] Steps to reproduce
- Download Firebase-tools or Firebase-cli package from either npm or brew.sh respectively;
- Execute
firebase login
,firebase login --reauth
,firebase login --no-localhost
and basically all versions of authentication available. Including ones with login:ci
[REQUIRED] Expected behavior
- CLI tool authenticates
[REQUIRED] Actual behavior
The following is the output of firebase login --debug
~ ❯ firebase login --debug
i Firebase optionally collects CLI usage and error reporting information to help improve our products. Data is collected in accordance with Google's privacy policy (https://policies.google.com/privacy) and is not used to identify you.
? Allow Firebase to collect CLI usage and error reporting information? (Y/n) [2022-05-27T11:25:42.298Z] FetchError: request to https://firebase-public.firebaseio.com/cli.json failed, reason: unable to get local issuer certificate
at ClientRequest.<anonymous> (/usr/local/Cellar/firebase-cli/11.0.1/libexec/lib/node_modules/firebase-tools/node_modules/node-fetch/lib/index.js:1491:11)
at ClientRequest.emit (node:events:390:28)
at ClientRequest.emit (node:domain:475:12)
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:390:28)
at TLSSocket.emit (node:domain:475:12)
at emitErrorNT (node:internal/streams/destroy:164:8)
at emitErrorCloseNT (node:internal/streams/destroy:129:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Error: Failed to make request to https://firebase-public.firebaseio.com/cli.json
~ ❯
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Authentication problem from cli - Microsoft Q&A
Error failure 53003 means your sign-in request was blocked due to a conditional access policy configured on the Tenant where you tried to ......
Read more >Oops! Firebase CLI Login Failed The ... - Google Groups
Firebase CLI Login Failed The Firebase CLI login request was rejected or an error occurred. Please run firebase login again or contact ...
Read more >Can't login to Predix from the Cloud Foundry CLI
The first request (GET /v2/info) should return a JSON formatted list with information about your CF deployment, incl. urls to "login". Does it?...
Read more >Troubleshooting AWS CLI errors - AWS Command Line Interface
When you use a AWS CLI command, you receive an [SSL: CERTIFICATE_ VERIFY_FAILED] certificate verify failed error message. This is caused by the...
Read more >Salesforce CLI: auth web login issue
Received the error --> "Must pass a username and/or OAuth options when creating an AuthInfo instance." Followed the above solution posted by [ ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
A temporary fix
export NODE_TLS_REJECT_UNAUTHORIZED=0
worked for me.Glad it’s cleared up!