QiuZiXian commented on issue #5835: URL: https://github.com/apache/seatunnel/issues/5835#issuecomment-1821990366
### Oss file sink connector: **is this only supply for ali oss?** **[ minio](https://github.com/minio/minio) is used to be oss system,but fail.** ```json { "deploy-mode":"run", "env": { "job.mode": "batch" }, "source": [ { "plugin_name": "OssFile", "path": "test.xlsx", "bucket": "oss://test", "access_key": "axxin", "access_secret": "adm456", "endpoint": "http://192.1xx138:9000", "file_format_type": "excel", "schema": { "fields": { "name": "string", "nick": "string" } } } ], "transform": [], "sink": [ { "plugin_name": "Console" } ] } ```` **fail msg:** ` { "status": "fail", "message": "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.\n[ErrorCode]: InvalidRequest\n[RequestId]: \n[HostId]: ddaed5a9-1053-4c93-b1f3-6ec208c3ae88\n[ResponseError]:\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Error><Code>InvalidRequest</Code><Message>The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256.</Message><Resource>/</Resource><RequestId></RequestId><HostId>ddaed5a9-1053-4c93-b1f3-6ec208c3ae88</HostId></Error>" } ` **use "bucket": "test":** `bash { "status": "fail", "message": "java.net.UnknownHostException: test" } ` **I'm sure minio has the bucket of test .** -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
