-
Notifications
You must be signed in to change notification settings - Fork 950
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 serve Error: TIMEOUT: Port 5001 on localhost was not active within 5000ms #7091
Comments
We're having the same issue on CI only, when starting the emulators with
N.B. setting the host in firebase.json explicitly didn't work, as suggested here: #2379 (comment) |
Hey folks, thanks for reaching out, sorry to hear you encountered this issue. I’m currently working on replicating this but so far I haven’t encountered any errors with starting the emulators. Could anyone share the |
We've downgraded to From our
Thanks for your help @aalej :) |
Yes that seems to have worked :) |
@aalej |
Dear @aalej @leemhenson Upon further investigation, I've encountered a persistent compatibility issue between Firebase Serve and TCP6 in my environment. Specifically, while Firebase Serve listens on TCP6, my environment does not fully support TCP6 connections. Before utilizing the -o 0.0.0.0 flag, the
However, by employing the -o flag and specifying 0.0.0.0, I managed to execute Firebase Serve as a workaround. Nonetheless, it's crucial to acknowledge that this workaround merely masks the issue and does not address the underlying compatibility issue:
Warm regards. |
Para mi tambien funciono usar la version npm i -g [email protected] de la CLI, pero tambien tuve que cambiar la variable de sistema JAVA_TOOL_OPTIONS -Xmx10240m Thanks for your help @aalej :) |
[REQUIRED] Environment info
firebase-tools: 13.8.0
Platform: Debian GNU/Linux 12
Node: v20.12.0
NPM: 10.5.0
[REQUIRED] Test case
Execute
firebase init
with Firestore, Function, Hosting and Storage enabled.[REQUIRED] Steps to reproduce
firebase serve
.[REQUIRED] Expected behavior
The Firebase development server starts successfully within a reasonable time frame.
[REQUIRED] Actual behavior
The text was updated successfully, but these errors were encountered: