Troubleshooting
S3 Connection errors​
Error 308 permanent redirect​
If you get this error, it means your endpoint is being redirected.
This usually happens if you put an url in http:// but the ingress redirects you to https://
Fix: Use https:// or the final url instead of one that is redirected.
Error 403 with presigned urls in tasks​
This usually means you have permission issues.
The error will have a url that resembles: https://label.<domain>/tasks/1335/presign/?fileuri=<base64_encoded_uri>
This url will be redirected to an s3 url and will show you the bucket and object key. Make sure your s3 user configured in label studio has access to this specific bucket and object.
You can also decode the base64_encoded_uri and it will give you the file uri in the format s3://<bucket>/<object_name>
Error 206 with presigned urls in tasks​
This error is currently a bug with iads with videos and audios:
There was an issue loading URL from $audio value
Things to look out for:
URL is valid
URL scheme matches the service scheme, i.e. https and https
The static server has wide-open CORS, more on that here
Technical description: HTTP error status: 206
URL: https://label.<domain>tasks/1335/presign/?fileuri=<base64_encoded_uri>
This occurs because label studio only receives a chunk of the file (http 206 means partial content). It expects to receive the whole file.
Workaround: As a workaround, you can click on the url displayed in the error and let the audio/video play out. Once finished your browser will have downloaded the whole file, and the url will no longer return that error. So refreshing label studio browser page will fix this error.