pete
pete

Reputation: 601

gcloud builds submit hangs

When I try to run the example in https://cloud.google.com/run/docs/quickstarts/build-and-deploy, my terminal hangs on gcloud builds submit --tag gcr.io/PROJECT-ID/helloworld. I put in my correct project id -- the command runs but does not terminate or produce any output on terminal. I did not change any code, I merely copied over the repo referenced in the tutorial. What may be the cause of this?

Upvotes: 1

Views: 1122

Answers (2)

schoon
schoon

Reputation: 3334

Can be caused by many things.

To debug, use:

gcloud builds submit --config ./cloudbuild.yaml --verbosity=debug

Upvotes: 0

pete
pete

Reputation: 601

I solved it. I tried using gsutil and it would also hang. I ended up disabling ipv6 by using sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1 and sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1.

Upvotes: 4

Related Questions