clearml icon indicating copy to clipboard operation
clearml copied to clipboard

S3 deadlock when region field is missing in S3 Credentials dialog

Open d13g0 opened this issue 10 months ago • 2 comments

Describe the bug

I am unable to change a bucket configuration after entering insufficient credentials on the Web UI. This creates a deadlock situation.

To reproduce

  1. I try to download an artifact from a Task on the Web UI
  2. I get the S3 Credentials pop-up
  3. I enter the key and the secret (required) and leave the region empty (optional)
  4. I get this error:
<Error>
<Message>The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.</Message>
<Endpoint>***.s3.us-east-2.amazonaws.com</Endpoint>
<Bucket>***</Bucket>
<RequestId>V4DDZDZXGXNSYD49</RequestId>
<HostId>lHs+FVET66yxHhrG+FLyvHE7SOKY+wQ5rIneQ1PbnMKsHF32PfzJDELUix/aH9d0fjKeFbcbgow=</HostId>
</Error>

Expected behaviour

a) The pop-up shows again indicating the region is required or b) An easy way to remove the saved (insufficient) credentials so the pop-up shows again.

Environment

  • Server type : self onsted
  • ClearML SDK Version: 1.12.1
  • ClearML Server Version (Only for self-hosted). WebApp: 1.12.1-397 • Server: 1.12.1-397 • API: 2.26
  • Python Version: 3.10
  • OS (Windows \ Linux \ Macos): Linux

d13g0 avatar Aug 25 '23 18:08 d13g0

@d13g0 You can edit your storage service credentials through the settings page. Does this help?

ainoam avatar Aug 27 '23 14:08 ainoam

Hi @ainoam thanks for checking this. Let me try to reproduce the issue and will report back here. Thanks.

d13g0 avatar Aug 28 '23 18:08 d13g0