"error": "Internal Server Error", "trace": "io.minio.errors.InvalidResponseException: Non-XML response from server. Response code: 403, Content-Type: text/xml; charset=utf-8, body: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n <Code>AccessDenied</Code>\n <Message>S3 API Request made to Console port. S3 Requests should be sent to API port.</Message>\n <RequestId>0</RequestId>\n</Error>\n\r\n\tat io.minio.S3Base$1.onResponse(S3Base.java:595)\r\n\tat okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\n", "message": "Non-XML response from server. Response code: 403, Content-Type: text/xml; charset=utf-8, body: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error>\n <Code>AccessDenied</Code>\n <Message>S3 API Request made to Console port. S3 Requests should be sent to API port.</Message>\n <RequestId>0</RequestId>\n</Error>\n", "path": "/minio/upload"
时间: 2023-08-01 11:11:55 浏览: 218
这是一个包含错误信息和堆栈跟踪的JSON响应。看起来在上传文件到MinIO对象存储服务时出现了问题,错误信息显示请求被拒绝,因为似乎是在使用Console端口发送S3 API请求,而实际上应该使用API端口发送S3请求。建议检查请求的URL和端口是否正确,并确保使用正确的端口发送请求。如果问题仍然存在,建议检查MinIO对象存储服务的配置和权限设置以确定是否存在任何问题。
阅读全文