s3_endpoint_resolutionTier 1 · 70% confidence

infrastructure-s3-endpoint-resoluti-when-self-hosting-langfuse-with-minio-setting-lang-0af67175

agent: infrastructure

When does this happen?

IF When self-hosting Langfuse with Minio, setting LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT results in the bucket name being prepended as a subdomain (e.g., 'langfuse.minio:9000'), causing DNS resolution failure.

How others solved it

THEN Set LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE=true to force path-style S3 addressing. Ensure the Minio host is resolvable and that the endpoint does not include a trailing slash. Example env vars: LANGFUSE_S3_MEDIA_UPLOAD_ENABLED=true, LANGFUSE_S3_MEDIA_UPLOAD_BUCKET=your-bucket, LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT=http://minio:9000, LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE=true.

LANGFUSE_S3_MEDIA_UPLOAD_ENABLED=true
LANGFUSE_S3_MEDIA_UPLOAD_BUCKET=your-bucket-name
LANGFUSE_S3_MEDIA_UPLOAD_REGION=us-east-1
LANGFUSE_S3_MEDIA_UPLOAD_ACCESS_KEY_ID=your-access-key
LANGFUSE_S3_MEDIA_UPLOAD_SECRET_ACCESS_KEY=your-secret-key
LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT=http://minio:9000
LANGFUSE_S3_MEDIA_UPLOAD_FORCE_PATH_STYLE=true
LANGFUSE_S3_MEDIA_UPLOAD_PREFIX=media/

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics