br icon indicating copy to clipboard operation
br copied to clipboard

The extra slash after S3's endpoint address may lead to a strange error

Open gengliqi opened this issue 3 years ago • 2 comments

Please answer these questions before submitting your issue. Thanks!

  1. What did you do? Add a slash after S3's endpoint address when using BR backup. E.g. http://xxxx:1234/

  2. What did you expect to see? No error or the error should be "the URL cannot end with a slash"

  3. What did you see instead? The error "msg:"Io(Custom { kind: Other, error: "failed to put object...)" appears. After I delete this slash, BR works fine.

  4. What version of BR and TiDB/TiKV/PD are you using? v5.0.0-nightly

gengliqi avatar Apr 07 '21 11:04 gengliqi

In fact I'm not exactly sure this is a bug in minio or BR itself 😅. We can trim the final / but any chance some service requires that /?. Can we collect some behavior on non-minio services?

kennytm avatar Apr 07 '21 15:04 kennytm

as shown in #1162, also affects Hitachi Content Platform (HCP).

kennytm avatar Jun 01 '21 04:06 kennytm