Skip to content

Region configuration causes authorization errors in opens3/console #3

@VULGA01

Description

@VULGA01

Expected Behavior

When connecting to a MinIO server with a custom region (e.g., eu-be), opens3/console should successfully authenticate and display the MinIO interface without region-related authorization errors.

Current Behavior

After changing the MinIO server region from us-east-1 to eu-be in the MinIO admin panel, opens3/console fails to connect with the following error:

Possible Solution

opens3/console should either:

  1. Add a region configuration field in the connection interface (similar to endpoint, access key, secret key)
  2. Support environment variables for region configuration (e.g., AWS_REGION, AWS_DEFAULT_REGION)
  3. Auto-detect the region from the MinIO server response
  4. Provide better error handling with guidance on region configuration

Steps to Reproduce (for bugs)

  1. Set up a MinIO server with default region us-east-1
  2. Successfully connect to opens3/console
  3. Change the MinIO server region to a custom region (e.g., eu-be) via MinIO admin panel
  4. Attempt to reconnect to opens3/console with the same credentials
  5. Observe the authorization error related to region mismatch

Context

This issue affects users who need to use custom regions for compliance, geographic, or organizational requirements. Currently, changing the MinIO server region breaks opens3/console access, forcing users to either:

  • Revert to us-east-1 region
  • Use alternative MinIO management tools
  • Lose access to the console interface entirely

The MinIO Client (mc) works correctly with custom regions when properly configured, suggesting this is a console-specific issue.

Regression

No - this appears to be a missing feature rather than a regression.

Your Environment

  • opens3/console version: Latest from main branch
  • MinIO server version: Working correctly (verified with mc client)
  • MinIO server region: eu-be (changed from default us-east-1)
  • Operating System: Windows 11 (client), Ubuntu (server)
  • Connection method: Docker container and direct binary
  • MinIO Client (mc): Successfully connects and manages the server with custom region

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions