Skip to content

Conversation

@klauspost
Copy link
Contributor

@klauspost klauspost commented Oct 19, 2021

There is a huge amount of support questions where users are using the console port instead of the API port.

Return S3 compatible error when an S3 API request is made to the console port.

Before:

λ mc ls local9090
mc: <ERROR> Unable to list folder. XML syntax error on line 1: invalid character entity &display (no semicolon)

After:

λ mc ls local9090
mc: <ERROR> Unable to list folder. S3 API Request made to Console port. S3 Requests should be sent to MinIO API port.

Return S3 compatible error when an S3 API request is made to the console port.

Before:
```
λ mc ls local9090
mc: <ERROR> Unable to list folder. XML syntax error on line 1: invalid character entity &display (no semicolon)
```

After:
```
λ mc ls local9090
mc: <ERROR> Unable to list folder. S3 API Request made to Console port. S3 Requests should be sent to MinIO API port.
```
@harshavardhana harshavardhana merged commit 854468a into minio:master Oct 20, 2021
@klauspost klauspost deleted the reject-s3-requests branch October 20, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants