<@U04S8PLJWMT> Sending Request: DefaultSdkHttpFul...
# ask-ai
í
@kapa.ai Sending Request: DefaultSdkHttpFullRequest(httpMethod=GET, protocol=http, host=airbyte-minio-svc, port=9000, encodedPath=/state-storage//state/airbyte/orchestrator-repl-job-1-attempt-1/FAILED, headers=[amz-sdk-invocation-id, User-Agent, x-amz-te], queryParameters=[]) 2025-09-01 114534 DEBUG s.a.a.u.Logger(debug):85 - AWS4 Canonical Request: GET /state-storage//state/airbyte/orchestrator-repl-job-1-attempt-1/FAILED
k
It looks like Airbyte is trying to write/read worker state to an S3/MinIO bucket at path “/state-storage//state/.../FAILED”, which contains a double slash after the bucket prefix. Misconfigured state/log storage settings in recent Kubernetes/Helm deployments have caused similar failures, especially when mixing MinIO vs. external S3 settings and new WORKER_* storage vars (e.g., endpoint/credentials/path-style). If you’re on Kubernetes/Helm: - Verify your logs/state storage configuration matches your backend: - For external MinIO, set logs.storage.type (and worker storage types if applicable) to MINIO and configure only host/port (do not set an extra endpoint field that results in malformed URLs). An incorrect extra endpoint caused SSL/URL issues for another user until removed (the chart prepends the scheme) ([Can’t store logs to external Minio](https://discuss.airbyte.io/t/4087) and its resolution). - Be aware that versions around 0.40 introduced changes where state/log storage envs diverged; some helm defaults skew MinIO-specific and can break non‑MinIO setups if not overridden properly ([Most recent helm chart has broken state storage for non-minio](https://discuss.airbyte.io/t/3814)). - Older guidance about STATE_STORAGE_MINIO_* became outdated as state is generally stored in airbyte-db; mixing old/new vars led to worker/cron crashes for some users. Ensure you’re using the current WORKER_* storage configuration supported by your version, not deprecated STATE_* vars ([What are the State Storage Configuration used for?](https://discuss.airbyte.io/t/2415)) and see upgrade issues when custom S3 vs MinIO was mis-set ([Worker process fails on custom S3 config](https://github.com/airbytehq/airbyte/issues/18016)). Given the double slash in the path, check for: - A trailing slash in your bucket/prefix configuration plus a leading slash in the key template, which concatenates into “//state/...”. - Any helm values or envs that set a “root” or “prefix” with a slash. If you share your exact Helm values/env for log/state storage and Airbyte version, I can map them to the known-good settings from the threads above.
í
@kapa.ai helm upgrade --install coleta airbyte/airbyte --namespace airbyte --values values.yaml --version 0.50.2
Copy code
global:
  deploymentMode: oss

server:
  enabled: true
  log:
    level: DEBUG
worker:
  enabled: true
  log:
    level: DEBUG
postgresql:
  # -- Switch to enable or disable the PostgreSQL helm chart
  enabled: true

  image:
    repository: airbyte/db

  # -- Airbyte Postgresql username
  postgresqlUsername: airbyte
  # -- Airbyte Postgresql password
  postgresqlPassword: pass
  # -- Airbyte Postgresql database
  postgresqlDatabase: airbyte

  # Persistence configuration
  persistence:
    enabled: true
    size: 30Gi
k
A message from kapa.ai
It looks like you’re installing Airbyte 0.50.2 via Helm with the default, in-cluster PostgreSQL enabled and no external storage configured. A few checks/suggestions based on known Helm expectations: - If you plan to use external object storage (S3/GCS/Azure) for logs/state, you must add global.storage in values.yaml and provide the required bucket fields; missing or partially set fields can cause S3 URL issues and runtime errors. For S3, explicitly set all three (or four) buckets to avoid region/authorization problems (log, state, workloadOutput, and activityPayload if your chart expects it) ([State and Logging Storage > Values](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage#values); also note a user report that setting all four resolved errors ([helm] S3 Exceptions…)). Example (S3, Helm chart V2):
Copy code
yaml global:   storage:     type: "S3"     secretName: airbyte-config-secrets     bucket:       log: your-bucket       state: your-bucket       workloadOutput: your-bucket       activityPayload: your-bucket     s3:       region: "us-east-1"       authenticationType: credentials       # Option A: credentials via values       accessKeyId: ""       secretAccessKey: ""       # Option B: provide via Kubernetes Secret (s3-access-key-id, s3-secret-access-key)
(See S3 config keys and secret naming expectations in the docs) ([Values (S3)](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage#values)). - If you use GCS or Azure instead, follow the corresponding blocks and ensure the secret and keys match what the chart expects (e.g., gcp.json for GCS; azure-blob-store-connection-string for Azure) ([GCS/Azure examples](https://docs.airbyte.com/platform/deploying-airbyte/integrations/storage#values)). - For custom S3-compatible endpoints (e.g., MinIO, DigitalOcean Spaces, Ceph), the knowledge sources show mixed historical guidance. Some users used type: "minio" with a minio.endpoint and provided multiple secret keys to satisfy the chart, but this was discussed in GitHub issues as confusing. If you need a custom endpoint and the chart version supports it, set the endpoint under the appropriate storage block; otherwise, be aware this area has caused “nil”/env propagation issues in past chart versions and discussions ([Add Support for Custom S3 Endpoint](https://github.com/airbytehq/airbyte/issues/44174); maintainers noted confusion with secret names/propagation in a Helm thread ([Almost nothing under Deploy Airbyte…](https://github.com/airbytehq/airbyte/discussions/47256))). - Your current snippet enables the bundled PostgreSQL and sets persistence, which is fine. If later you switch to an external database, ensure you disable postgresql.enabled and provide global.database.* with secret name/keys as required; missing secrets has caused bootloader env nil errors in the past ([maintainer comments on external DB secrets](https://github.com/airbytehq/airbyte/discussions/47256)). If you share whether you intend to use internal MinIO (default) or external S3/GCS/Azure (and which provider), I can provide a minimal, chart-appropriate values.yaml block aligned with the docs above.