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
We encountered the following error even though the token was correct:
.../step_2se4t5ss.ytl/eb0525e1-ebfb-48ab-835a-c48c6a9bfb7a.script:13:in `run_command': Command failed. Check logs for details (RuntimeError)
⚠ Authenticating with --token is deprecated and will be removed in a future major version of firebase-tools. Instead, use a service account key with GOOGLE_APPLICATION_CREDENTIALS: https://cloud.google.com/docs/authentication/getting-started
i uploading binary...
Error: failed to upload release. Authentication Error: Your credentials are no longer valid. Please run firebase login --reauth
For CI servers and headless environments, generate a new token with firebase login:ci
⚠ Unable to fetch the CLI MOTD and remote config.
However, the actual cause of the error was as follows:
We are using a proxy, and the proxy is intercepting the Firebase CLI requests by performing HTTPS inception. Meanwhile, the SSL certificate being used is self-signed, causing Firebase to encounter an SSL certificate error.
Firebase is reporting an authentication error despite the token being correct, but it should be reporting a self-signed certificate error.
To resolve this issue, it is necessary to add the NODE_EXTRA_CA_CERTS environment variable.
Steps to Reproduce:
Use a proxy that intercepts HTTPS requests.
Use a self-signed SSL certificate.
Authenticate with Firebase using a correct token.
Observe that Firebase reports an authentication error instead of a self-signed certificate error.
Expected Behavior:
Firebase should correctly report a self-signed certificate error when an SSL certificate issue is encountered.
Actual Behavior:
Firebase incorrectly reports an authentication error when an SSL certificate issue is encountered.
Additional Information:
Adding the NODE_EXTRA_CA_CERTS environment variable is a necessary step to address this issue.
The text was updated successfully, but these errors were encountered:
We encountered the following error even though the token was correct:
However, the actual cause of the error was as follows:
We are using a proxy, and the proxy is intercepting the Firebase CLI requests by performing HTTPS inception. Meanwhile, the SSL certificate being used is self-signed, causing Firebase to encounter an SSL certificate error.
Firebase is reporting an authentication error despite the token being correct, but it should be reporting a self-signed certificate error.
To resolve this issue, it is necessary to add the
NODE_EXTRA_CA_CERTS
environment variable.Steps to Reproduce:
Expected Behavior:
Firebase should correctly report a self-signed certificate error when an SSL certificate issue is encountered.
Actual Behavior:
Firebase incorrectly reports an authentication error when an SSL certificate issue is encountered.
Additional Information:
Adding the
NODE_EXTRA_CA_CERTS
environment variable is a necessary step to address this issue.The text was updated successfully, but these errors were encountered: