Skip to content

[Bug]: syntax error in cloud run #1795

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

Open
1 task done
rajaveluangalan opened this issue Mar 5, 2025 · 3 comments
Open
1 task done

[Bug]: syntax error in cloud run #1795

rajaveluangalan opened this issue Mar 5, 2025 · 3 comments
Assignees

Comments

@rajaveluangalan
Copy link

rajaveluangalan commented Mar 5, 2025

File Name

gemini/multimodal-live-api/websocket-demo-app

What happened?

Hi Team,

Could you please check the syntax of below in cloud run. I am getting error at "gemini-live-demo"

gcloud run deploy --project=YOUR-PROJECT-ID \
--region=us-central1 \
--source=./ \
--allow-unauthenticated \
--port=8000  \
gemini-live-demo

Relevant log output

Resource 'gemini-live-demo' of kind 'SERVICE' in region 'us-central1' in project '' does not exist.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@holtskinner
Copy link
Collaborator

Can you try running the command like this?:

gcloud run deploy "gemini-live-demo" --project=YOUR-PROJECT-ID \
--region=us-central1 \
--source=./ \
--allow-unauthenticated \
--port=8000

@rajaveluangalan
Copy link
Author

same issues again "Resource 'gemini-live-demo' of kind 'SERVICE' in region 'us-central1' in project does not exist."
textPayload: "ERROR: build step 0 "gcr.io/cloud-builders/docker" failed: step exited with non-zero status: 8"
�[91mERROR: unable to select packages:

@Jadhavsakshi7887
Copy link

can you try this

gcloud run deploy gemini-live-demo
--project=YOUR-PROJECT-ID
--source=.
--allow-unauthenticated
--port=8000
--platform=managed
--execution-environment=gen2
--no-cache
--quiet

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

No branches or pull requests

4 participants