From cb7055e8ad3c480af706cbd6c49a0b924099526d Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Mon, 19 Oct 2026 13:38:15 +0200 Subject: [PATCH] fix(vroom): Add the scheme to the SeaweedFS endpoint in SENTRY_BUCKET_PROFILES gocloud v0.46 (getsentry/vroom#721) passes the endpoint to AWS SDK v2 as a full URL, so "seaweedfs:8333" is parsed with "seaweedfs" as the scheme and every vroom read goes to "http:8333" with no host. disable_https only applies to AWS's own endpoints, so drop it in favour of http:// in the URL. Co-Authored-By: Claude --- docker-compose.yml | 2 +- .../patches/external-kafka/docker-compose.yml.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index de09815f0d9..159539b35e9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -674,7 +674,7 @@ services: environment: SENTRY_KAFKA_BROKERS_PROFILING: "kafka:9092" SENTRY_KAFKA_BROKERS_OCCURRENCES: "kafka:9092" - SENTRY_BUCKET_PROFILES: "s3://profiles?region=us-east-1&endpoint=seaweedfs:8333&use_path_style=true&disable_https=true" + SENTRY_BUCKET_PROFILES: "s3://profiles?region=us-east-1&endpoint=http://seaweedfs:8333&use_path_style=true" AWS_ACCESS_KEY: "sentry" AWS_SECRET_KEY: "sentry" SENTRY_SNUBA_HOST: "http://snuba-api:1218" diff --git a/optional-modifications/patches/external-kafka/docker-compose.yml.patch b/optional-modifications/patches/external-kafka/docker-compose.yml.patch index 60875a7e993..86dd4e4bbc0 100644 --- a/optional-modifications/patches/external-kafka/docker-compose.yml.patch +++ b/optional-modifications/patches/external-kafka/docker-compose.yml.patch @@ -175,7 +175,7 @@ + SENTRY_KAFKA_SASL_MECHANISM: ${KAFKA_SASL_MECHANISM:-} + SENTRY_KAFKA_SASL_USERNAME: ${KAFKA_SASL_USERNAME:-} + SENTRY_KAFKA_SASL_PASSWORD: ${KAFKA_SASL_PASSWORD:-} - SENTRY_BUCKET_PROFILES: "s3://profiles?region=us-east-1&endpoint=seaweedfs:8333&s3ForcePathStyle=true&disableSSL=true" + SENTRY_BUCKET_PROFILES: "s3://profiles?region=us-east-1&endpoint=http://seaweedfs:8333&use_path_style=true" AWS_ACCESS_KEY: "sentry" AWS_SECRET_KEY: "sentry" SENTRY_SNUBA_HOST: "http://snuba-api:1218"