You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR; This is because the files don't exist to download on cloudflare.
The image byte steam fails to decode sometimes because, if you print the image byte steam in these cases, it is not an image, it's a string saying,
b'<?xml version="1.0" encoding="UTF-8"?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message></Error>'"
The attempt to download the image didn't result in image data it resulted in that XML string, so it can not be decoded. Presumably this XML is from cloudflare saying it can't find the file to download.
TLDR; This is because the files don't exist to download on cloudflare.
The image byte steam fails to decode sometimes because, if you print the image byte steam in these cases, it is not an image, it's a string saying,
b'<?xml version="1.0" encoding="UTF-8"?><Error><Code>NoSuchKey</Code><Message>The specified key does not exist.</Message></Error>'"
The attempt to download the image didn't result in image data it resulted in that XML string, so it can not be decoded. Presumably this XML is from cloudflare saying it can't find the file to download.
Like this URL my worker tried to download: https://a223539ccf6caa2d76459c9727d276e6.r2.cloudflarestorage.com/stable-horde-source-images/8a6d172f-64bf-4925-afef-719484030733_src.webp?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=b30a941498880b9cabb6500261b6f539%2F20230216%2Fauto%2Fs3%2Faws4_request&X-Amz-Date=20230216T210517Z&X-Amz-Expires=1800&X-Amz-SignedHeaders=host&X-Amz-Signature=39fa979cb212c4210234e2b94bc2760acb8d312f852b217a5355d894c97d9436
The text was updated successfully, but these errors were encountered: