feedback icon indicating copy to clipboard operation
feedback copied to clipboard

[travel-agent-mcp-toolbox-adk]

Open phaniv2011 opened this issue 8 months ago • 1 comments

this is the error i am getting. i tried all the ways, but the issue is still there gcloud run deploy toolbox --image $IMAGE --service-account toolbox-identity --region us-central1 --set-secrets "/app/tools.yaml=tools2:latest" --args="--tools_file=/app/tools2.yaml","--address=0.0.0.0","--port=8000" --allow-unauthenticated Deploying container to Cloud Run service [toolbox] in project [ai-client-demo] region [us-central1] X Deploying...

  • Creating Revision...
    . Routing traffic...
    ✓ Setting IAM Policy...
    Deployment failed
    ERROR: (gcloud.run.deploy) Revision 'toolbox-00006-9ck' is not ready and cannot serve traffic. The user-provided container failed to start and listen on the port defined provided by the PORT=8080 environment variable within the allocated timeout. This can happen when the container port is misconfigured or if the timeout is too short. The health check timeout can be extended. Logs for this revision might contain more information.

Logs URL: https://console.cloud.google.com/logs/viewer?project=ai-client-demo&resource=cloud_run_revision/service_name/toolbox/revision_name/toolbox-00006-9ck&advancedFilter=resource.type%3D%22cloud_run_revision%22%0Aresource.labels.service_name%3D%22toolbox%22%0Aresource.labels.revision_name%3D%22toolbox-00006-9ck%22 For more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start

phaniv2011 avatar May 09 '25 04:05 phaniv2011

@phaniv2011 The command in the codelab uses --port=8080, it seems you have a typo and used --port=8000 instead.

Changing the port in the deploy command to 8080 should fix the error. 😄

jackwotherspoon avatar Jun 09 '25 14:06 jackwotherspoon