Client disconnect errors

What would cause "Client Disconnect" errors from R2? I am not disconnecting so 🤔
No description
5 Replies
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart•2y ago
I just have a try catch on the bucket.put(key, value) and the last part of that is the error.message thrown. Was trying to upload a 5MB file in this case but even happens when I upload a blank file. Also happens on gets.
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Unsmart
Unsmart•2y ago
I do this in a waitUntil so it is definitely still processing especially since all of those operations happen on the same worker invocation and you can only ever have 6 requests going at any given time which means if it did get disconnected it wouldnt have logged out operations past 6. But also if the worker did get disconnected wouldnt it also not log anything since it will just completely stop processing? The reason I do it in a waitUntil and why there is so many requests in a single invocation is I am tracking latency of buckets I created in a few different regions.
Unknown User
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View