<@U04SE163WC8> trying to setup GCS storage logging...
# ask-ai
c
@kapa.ai trying to setup GCS storage logging and encountering this error in the
airbyte-server
pod
Copy code
com.google.auth.oauth2.ServiceAccountCredentials (com.google.auth.oauth2.IdentityPoolCredentials and com.google.auth.oauth2.ServiceAccountCredentials are in unnamed module of loader 'app')
u
The error message you're encountering suggests that there might be an issue with the service account credentials used for Google Cloud Storage (GCS). Here are some steps you can follow to troubleshoot: 1. Check your service account credentials: Make sure you've created a service account in Google Cloud Console and granted it the necessary permissions. You should have a JSON key file for this service account. The key file should be encoded using Base64 and referenced in your configuration. [source](https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm#external-logs-with-gcs) 2. Update your configuration: Ensure that your
values.yaml
file is correctly configured with the GCS logging information. This includes setting the storage type to "GCS", providing the bucket name, and specifying the path to the credentials. [source](https://docs.airbyte.com/deploying-airbyte/on-kubernetes-via-helm#update-the-valuesyaml-with-the-gcs-logging-information-below) 3. Check your environment variables: Make sure that the environment variables
STATE_STORAGE_GCS_APPLICATION_CREDENTIALS
and
STATE_STORAGE_GCS_BUCKET_NAME
are correctly set in the worker section of your configuration. [source](https://discuss.airbyte.io/t/3911) If you've checked all of these and are still encountering the error, it might be a good idea to raise an issue in the [Airbyte Github repository](https://github.com/airbytehq/airbyte/issues) for further assistance.