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

_ah/healthcheck errors pinging v1 onRequest functions incessantly on deployment at random #1620

Open
rob-yeshearing opened this issue Sep 19, 2024 · 0 comments

Comments

@rob-yeshearing
Copy link

rob-yeshearing commented Sep 19, 2024

Related issues
No related issues found, but this pertains to the _ah/healthcheck error that occurs when deploying Firebase V1 onRequest functions.

[REQUIRED] Version info
node:
18.0.0

firebase-functions:
5.0.1

firebase-tools:
13.13.3

firebase-admin:
12.1.1

[REQUIRED] Test case
exports.testFunction = functions.https.onRequest((req, res) => {
res.status(200).send('Test function');
});

[REQUIRED] Steps to reproduce
Create a basic Firebase onRequest function as shown above.
Deploy the function using firebase deploy --only functions.
Check the logs for any _ah/healthcheck errors in the Firebase Console or Google Cloud Logs.

[REQUIRED] Expected behavior
The function should deploy without triggering health check errors, and the endpoint should be accessible without issues.

[REQUIRED] Actual behavior
After deploying the Firebase V1 onRequest functions, the following health check error appears in the logs:
https://2-dot-[your-project-id].appspot.com/_ah/healthcheck
The request was aborted because there was no available instance.
No additional traffic or activity seems to trigger the creation of new instances, and this log entry is repeated over time.

This happens at random with all onRequest v1 functions.... unsure of why or how to stifle these errors upon deployment. I can't upgrade to v2 due to clients using the v1 endpoint.

Were you able to successfully deploy your functions?
Yes, the functions are deployed, but the _ah/healthcheck error persists in the logs.

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

No branches or pull requests

2 participants