Skip to content

GCS - Pre-signed URL cannot be generated with an expiration time > 1min #4090

Open
@nlassaux

Description

@nlassaux

Describe the bug
When trying to set expiration time to values greater than the default 1min in the UI, the setting isn't taken into account.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Settings
  2. Go to Cloud Storage
  3. Add a GCS Source Storage with an expiration time > 1 minute.
  4. Save

Expected behavior
The expiration should stay at 1min, and be applied. Instead, after refreshing it's still 1min. Now whenever we want to import labeled tasks to train, it fails because we need to read everything in less than a minute.

Screenshots
Screenshot 2023-04-23 at 18 35 07

Environment (please complete the following information):

  • OS: we are using the latest docker container, executed on Cloud Run
  • Label Studio Version: 1.7.3. Was the same on 1.7.2

Additional context
We tried to delete the source and make a new one, as advised on Slack. But that didn't work.

Metadata

Metadata

Assignees

Labels

importproblembug or something isn't workingstoragesExternal / Cloud storage connections

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions