Our prod code got this unexpected R2

Our prod code got this unexpected R2 error for the first time ever in the last hour or so:
Warning: Error executing "GetObject" on "https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png"; AWS HTTP error: Client error: GET https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png resulted in a 499 Client Error response (client): 499 Client Error - <?xml version="1.0" encoding="UTF-8"?><Error><Code>Unexpected</Code><Message>Client Disconnect</Message></Error>
Warning: Error executing "GetObject" on "https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png"; AWS HTTP error: Client error: GET https://SNIP.r2.cloudflarestorage.com/downloadprod/SNIP/SNIP.png resulted in a 499 Client Error response (client): 499 Client Error - <?xml version="1.0" encoding="UTF-8"?><Error><Code>Unexpected</Code><Message>Client Disconnect</Message></Error>
3 Replies
archon810
archon810OP3y ago
Has anyone seen this before? I can provide logs and exact urls to @sdnts if needed.
SakuraFC
SakuraFC3y ago
I’ve seen this before when using AWS cli client. I think I had to reduce concurrency a little to make it go away. Retrying also worked well, and is something you should do in prod in any case.
Sid
Sid3y ago
499 is a client disconnect, you’ll want to make sure nothing caused the AWS CLI to crash

Did you find this page helpful?