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

bug: Self-host GCP Cloud Run / Cloud SQL instructions missing steps #2044

Open
justinwiley opened this issue May 13, 2024 · 0 comments
Open
Assignees
Labels

Comments

@justinwiley
Copy link

Describe the bug

The instructions describe setting up Cloud Run and Cloud SQL, but leave off granting 'Cloud SQL Client' permissions to the service accounts necessary to connect, resulting in the error Error 403: boss::NOT_AUTHORIZED: Not authorized to access resource. Possibly missing permission cloudsql.instances.connect when deploying the Laangfuse container.

After creating cloud run, users will need to:

  • search for and select Service Accounts from the Google Cloud search box
  • find the service @appspot.gserviceaccount.com -compute@developer.gserviceaccount.com
  • search for and select IAM & Admin in the search box
  • click "Grant Access", then Add Principals
  • enter the first service account name
  • Select the "Cloud SQL Client" role and save
  • repeat for the second service account role

https://langfuse.com/docs/deployment/self-host

To reproduce

Follow the instructions in self-host -> Google Cloud Platform (Cloud Run & Cloud SQL) -> Option 1: UI Deployment

SDK and container versions

No response

Additional information

No response

Are you interested to contribute a fix for this bug?

No

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

No branches or pull requests

2 participants