-
Notifications
You must be signed in to change notification settings - Fork 900
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
“Error: Server Error. socket hang up” whenever I do “firebase deploy --only hosting, database, storage” #1309
Comments
If you are still seeing this error, can you provide contents of |
OK, This is the snippet of firebase-debug.log when I execute the "firebase deploy --only database,storage"
|
That's not quite enough to know what it's failing on. Before this part of the log, you should see some kind of URL with a method in front of it. Hopefully that will tell us what call is failing - this is only telling us that a call is failing (which is what we knew). It may also be worth checking your environment to see if you have any |
Thanks for your attention. |
Can you clarify what you mean by "appended :projectID"? Can you give the specific example? I think folks will want to look into this, but I'm not entirely sure I have enough context yet 🙂 |
Hitting the same issue. Just submitted a support ticket with my firebase-debug.log attached. firebase-tools: v6.10.0 Actual Behaviour hosting deployment fails consistently Steps to Reproduce
|
I also noticed that it attempts to upload files it will display Next ... when I retry this it thinks the last file succeeded so it now displays Which I suspect is incorrect since I really doubt that it succeeded to upload any files. |
@tohagan @dreamhigh0822 Problems like this are typically caused by poor internet connectivity. Do you have issues running commands like similar issue internal reference: 63925427 |
Thanks for your attention. This is the error case I have met.
The following is the case I have solved by myself.
As you can see the code snippet, I appended |
Thanks for the reply @dreamhigh0822 it's still a bit odd to me that you had to do that. When you did not supply the project id the command still knew which project to deploy to. Do you have a lot of projects? |
@dreamhigh0822 can you attach a debug log as @bkendall suggested? It would help us figure out why adding |
@thechenky No, I only have a project. So, I thought that if I used |
@dreamhigh0822 can you paste your |
@thechenky
Thanks. |
[REQUIRED] Environment info
I am using the latest version of firebase-tools.
firebase-tools: v6.9.2
Platform: Ubuntu 18.04
[REQUIRED] Test case
I am sure that firebase.json is in a good condition.
[REQUIRED] Steps to reproduce
firebase login
firebase list
firebase use 'myprojectid'
firebase deploy --only database, functions, storage, hosting
[REQUIRED] Expected behavior
it must be done successfully.
[REQUIRED] Actual behavior
It always ends up with reporting “Error: Server Error. socket hang up” error.
The text was updated successfully, but these errors were encountered: