-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firebase CLI deploy doesn't work behind a proxy (regression) #2927
Comments
Although this is not an hosting issue, but when starting local emulators I am also seeing similar issue
I think this url is down What should we do next? Is there a workaround we can try? |
Can you copy the complete response of |
firebase version is 9.0.0 ✔ firestore: deployed indexes in firestore.indexes.json successfully Error: Task index 0 failed: retries exhausted after 4 attempts |
@Eson-Jia I have the same error as yours, did you solve this problem? How did you solve it? |
not yet |
I also encountered hosting deployment issue. In my test, I go back to the v8.16.2 version and there is no problem, but from v8.17.0 version, it has this issue. This issue may be related to network proxy. Below is error details:
|
Faced the same issue while deleting a lot of files. Downgrading firebase to version 8.15.0 worked. |
@mbleigh Here is the output for curl command
This is the output when I try to connect from Wi-Fi. However, when I connect to a VPN and selected a US server, then this url seems to work fine. Here is
I also connected via Hotspot of my phone and this url works fine. Looks like some problem with my WiFi ISP. I have got the expected output. Now, I can reverse proxy this url to return expected output. However, I would suggest building a fallback in code for cases when this url fails to load. |
As @khagesh also confirmed this issue related to network and @sks4903440 also confirmed it is ok for an old version of firebase cli. So I guess this is a regression issue. #155 is related to proxy problem in firebase cli, and it was fixed 2 years ago. Now, since 8.17.0, this problem reappeared again. |
TL;DR: Downgrade to
|
Downgrading firebase tools to 8.15.0 |
why i downgraded the firebase to 8.15.0, the problem still exists?
|
check your internet connection |
@mbleigh Downgrading to |
@kamalbanga please open a new issue with detailed information about the error you're experiencing, closed issues aren't monitored on an ongoing basis. |
I faced the same problem and resolved it by adding proxies. |
hello, I also have the same problem, the "Error: Failed to make request to https://firebase-public.firebaseio.com/cli.json" caused by refresh token for my case. and I'm lucky to found firebase cli also provide and option "--token", So I think maybe I can give it a token so that it no need to request that URL to get a new token to cause the Error. |
Thank you for this! Also turns out that the token flag just needs to be present with something in it so |
For me a logout from Firebase CLI and then a login solved the issue.
|
Hey guys, what worked for me was simply updating my firebase tools cli
It should start working after that else reboot your wifi or source of internet connection, reconnect and try again. happy coding. !giveup |
I am using firebase version 11.0.1, and the problem still exists. when I try to run firebase init I faced this error Failed to make request to https://firebase-public.firebaseio.com/cli.json. |
same error
|
@tremayne-stewart What does I'm still getting the |
Same issue [email protected] and node v16.18.1. |
The firebase deploy hosting was working perfectly before. But now it produces the error:
My firebase --version is 8.19.0
The text was updated successfully, but these errors were encountered: