dromara / x-file-storage

一行代码将文件存储到 本地、FTP、SFTP、WebDAV、谷歌云存储、阿里云OSS、华为云OBS、七牛云Kodo、腾讯云COS、百度云 BOS、又拍云USS、MinIO、 AWS S3、FastDFS、 Azure Blob Storage、金山云 KS3、美团云 MSS、京东云 OSS、天翼云 OOS、移动云 EOS、沃云 OSS、 网易数帆 NOS、Ucloud US3、青云 QingStor、平安云 OBS、首云 OSS、IBM COS、其它兼容 S3 协议的平台。后续即将支持 Samba、NFS
https://x-file-storage.xuyanwu.cn/
Apache License 2.0
1.77k stars 267 forks source link

未能重置输入流 #225

Closed 1343228975 closed 9 months ago

1343228975 commented 9 months ago

上传视频的时候 the maximum stream buffer size can be configured via request.getRequestClientOptions().setReadLimit

1171736840 commented 9 months ago

提供版本号、配置文件、相关代码以及完整的报错信息

1343228975 commented 9 months ago

version:2.0.0 配置文件: dromara: x-file-storage: #文件存储配置,不使用的情况下可以不写 default-platform: amazon-s3-1 #默认使用的存储平台 thumbnail-suffix: ".min.jpg" #缩略图后缀,例如【.min.jpg】【.png】 minio: # MinIO,由于 MinIO SDK 支持 Amazon S3,其它兼容 Amazon S3 协议的存储平台也都可配置在这里

报错信息 "extraInfo": "If the request involves an input stream, the maximum stream buffer size can be configured via request.getRequestClientOptions().setReadLimit(int)", "retryable": false, "message": "The request to the service failed with a retryable reason, but resetting the request input stream has failed. See exception.getExtraInfo or debug-level logging for the original failure that caused this retry.; If the request involves an input stream, the maximum stream buffer size can be configured via request.getRequestClientOptions().setReadLimit(int)", "localizedMessage": "The request to the service failed with a retryable reason, but resetting the request input stream has failed. See exception.getExtraInfo or debug-level logging for the original failure that caused this retry.; If the request involves an input stream, the maximum stream buffer size can be configured via request.getRequestClientOptions().setReadLimit(int)",

1171736840 commented 9 months ago

换成2.1.0试试

1343228975 commented 9 months ago

好的