Skip to content
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

Deploy message showing "shutdown requested via /__/quitquitquit" using version 12.4.1 #1456

Closed
taeold opened this issue Aug 2, 2023 · 9 comments · Fixed by firebase/firebase-tools#6220 or #1457

Comments

@taeold
Copy link
Contributor

taeold commented Aug 2, 2023

[REQUIRED] Environment info

firebase-tools: 12.4.1

Platform: macOS

[REQUIRED] Test case

Init a new CF3 functions project

[REQUIRED] Steps to reproduce

firebase deploy

[REQUIRED] Expected behavior

Deploy succeeds without suspicious error log entries

[REQUIRED] Actual behavior

" i functions: Loading and anaylzing source code for codebase default to determine what to deploy
Serving at port 8061

shutdown requested via /__/quitquitquit"

which is confusing. Shouldn't print this if this is all internal implementation detail

@salman-mastermind
Copy link

salman-mastermind commented Aug 3, 2023

@taeold please fix it quickly, many people aren't able to deploy their cloud functions.

@taeold
Copy link
Contributor Author

taeold commented Aug 4, 2023

@salman-mastermind This message is unrelated to deployment error - it's a debug message that's being printed on every deploy regardless of a successful/unsucessful deploy. If you are having trouble deploying your function, please open up a issue or reach out to Firebase Support so we can help!

@salman-mastermind
Copy link

@taeold , please have a look when I run the deploy command, it tries to validate the code of the function by running an emulator, if it passes the validation then the tool proceeds to push & deploy the code. In most users' cases, it fails & errors out at the emulator-based validation step.

image

@aalej
Copy link

aalej commented Aug 4, 2023

Hi @salman-mastermind, I understand that you’re having an issue with deploying your functions. However, the issue filed here is more related to cleaning up/removing the log “shutdown requested via /__/quitquitquit”. The message is printed every time a deployment is made, whether it is successful or unsuccessful.

I would recommend opening a new issue and specifying the details using the provided template. This way, it would be more efficient in identifying the cause of the error you’re encountering. Thanks!

@jeangq24
Copy link

jeangq24 commented Oct 8, 2023

Tuve este mismo error intentando hacer deploy de una onCall function, obtenia el error y cuando ejecutaba firebase emulators:start tambien me salia el mismo error.

Investigue por varias horas pero ninguna de las opciones que me daban me funciono, entre degradar mis versiones de firebase, node y npm, hasta modificar lineas de condigo en el proyecto de firebase-tools hubo algo que me funciono que no lo vi como posibles soluciones.

informacion de versiones:

SO:Kali_Linux 2023.3

Node: 16.16/18.18

npm: 10.2.0

firebase: 12.6.2 (medio de intalacion del CLI: "sudo npm install -g firebase-tool")

Abra el arcihvo de la siguiente ruta (necesitara permisos root) y edite la siguiente variable:

ruta - /usr/lib/node_modules/firebase-tools/lib/deploy/functions/runtimes/discovery/index.js

o

ruta - raiz_del_proyecto_firebase_tools/src/deploy/functions/runtimes/discovery /index.ts

Edite la siguiente el parametro timeout en la funcion detectFromPort

Antes -> timeout = 10000
Despues -> timeout = 50000

Asegurese de guardar cambios correctamente y haga su firebase deploy/firebase emulators:start sin el molesto error.

PD: No estoy seguro de que esta pasando con esto, en caso de que esto pueda ser una solucion fuerte para todos me gustaria saber que es lo que pasa.

@chapeee
Copy link

chapeee commented Oct 11, 2023

did anyone solve it?

@drewburnett
Copy link

@chapeee Are you experiencing issues all of a sudden? I just updated to OS Sonoma today and my project isn't working anymore.

@chapeee
Copy link

chapeee commented Oct 13, 2023

@chapeee Are you experiencing issues all of a sudden? I just updated to OS Sonoma today and my project isn't working anymore.

yes, it was all of a sudden, I solved it by setting the Firebase version as 2.
I am using Nuxt and Nitro as server.

@Adrxx
Copy link

Adrxx commented Oct 14, 2023

@chapeee What do you mean setting the firebase version as 2??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
8 participants