Skip to content

After setting environment variable "MINIO_SERVER_URL", some interface errors occur. #2165

@kukume

Description

@kukume

Expected Behavior

The interface does not report errors and can preview and download files normally.

Current Behavior

After setting environment variable "MINIO_SERVER_URL",
interface:/api/v1/buckets/kuku/objects/metadata?prefix=NDUyNzg4MTAuanBn,
responed:
image

interface: /api/v1/buckets/kuku/objects/download?prefix=NDUyNzg4MTAuanBn&version_id=null
responed code : 403 ,no information in the response body

Possible Solution

i don't know

Steps to Reproduce (for bugs)

  1. setting environment variable "MINIO_SERVER_URL"
  2. Create a bucket and upload the file, then view the file
  3. Found it impossible to download images and preview images
  4. Unable to download files and preview files

Context

I can't download and preview the file

Your Environment

  • Version used (minio --version): minio version RELEASE.2022-06-17T02-00-35Z
  • Server setup and configuration:
export MINIO_ROOT_USER="xx"
export MINIO_ROOT_PASSWORD="xx"
export MINIO_BROWSER_REDIRECT_URL="https://xx.com"
export MINIO_SERVER_URL="https://minio.xx.com"
./minio server /data/wwwroot/minio.xx.com/data --console-address ":9001"

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions