HumanSignal / HumanSignal/label-studio
Accessing S3 files in labeling tasks yields network error
- Dominant language
- TypeScript
- Stars
- 28.3k
- Forks
- 3.7k
- Avg merge
- 14h
- Merged PRs (30d)
- 15
Description
Hello, I have created a Project for labeling data, my task json file contains an s3 url, I expect the UI to download that file and display it for the annotator to start annotating. However I'm getting this error:

However clicking on the link works, as it opens the file contents in a new tab, so I know that my s3 configuration is valid.
I also use s3 for persistence.
Here is my labeling interface code:
```html
```
And my task.json
```json
{
"data": {
"text": "s3://textfiles/file.txt"
}
}
```
I don't see any errors on the label-studio log. On the browser console I have this error:
```
Failed to load '[https://label.wip/tasks/55/presign/?fileuri=czM6Ly90ZXh0ZmlsZXMvZmlsZS50eHQ='](https://label.wip/tasks/55/presign/?fileuri=czM6Ly90ZXh0ZmlsZXMvZmlsZS50eHQ=%27). A ServiceWorker passed a promise to FetchEvent.respondWith() that rejected with 'TypeError: NetworkError when attempting to fetch resource.'.
```
On the network tab the request doesn't get a response, however I can see the error NS_ERROR_INTERCEPTION_FAILED.
I am using label studio and minio S3 in Kubernetes via heartex chart, so the S3 url I've supplied is the ingress hostname, since I understand that all queries to S3 are done by the client on the browser.
Label-Studio v1.13.1
Does anyone have any idea what I'm doing wrong?
Contributor guide
Assessment
This issue has not been assessed yet.