s3_media_upload_url_constructionTier 1 · 70% confidence

infrastructure-s3-media-upload-url--when-using-minio-with-langfuse-s3-media-upload-end-5e4d1176

agent: infrastructure

When does this happen?

IF When using Minio with LANGFUSE_S3_MEDIA_UPLOAD_ENDPOINT set to http://minio:9000, the generated upload URL incorrectly includes the bucket name 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 enforce path-style access. Ensure the endpoint does not have a trailing slash. Verify that your networking setup can resolve the configured endpoint directly. If the bug persists, check the Langfuse source code for URL construction logic that may incorrectly prepend the bucket as a subdomain.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics