Hi all,
I’m building a serverless application using Google Cloud Run, where several Cloud Run services (functions) need to interact with each other. I’m using Cloud Tasks to queue and trigger these services in a controlled sequence, and also to track success/failure at each sub-stage.
It works well about 50–60% of the time, but for the remaining executions, I’m seeing “unavailable”errors in the logs. I’m struggling to figure out what’s causing this — there are no obvious patterns in timing, payload size, or concurrency that I can see.
Has anyone experienced something similar or have thoughts on what could cause intermittent unavailability of Cloud Run services triggered by Cloud Tasks?
Appreciate any and all leads 🙂
Thanks! Target Cloud Function is Unavailable
Hi @rxnvpr,
Welcome to Google Cloud Community!
"Unavailable" errors in Cloud Run logs can stem from several issues. Here are some potential causes and how to resolve them:
You may check this documentation for more information on known issues in Cloud run.
If the workaround above doesn't work, you can contact Google Cloud Support for a more in-depth analysis. When contacting them, please provide comprehensive details and include screenshots. This will help them better understand and address your issue.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.